[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help linking ipfilter package.
From: |
Mario Nigrovic; RVVK40 |
Subject: |
Help linking ipfilter package. |
Date: |
Wed, 12 Nov 2003 14:36:31 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.4) Gecko/20030701 |
Folks,
I'm trying to link ipfilter on Solaris 5.8 and it comes back with a funky
linker error. I don't know jack about mapfiles, and hence I'm asking for
help!
Ipfilter tries to link a simple test program (/tmp/conftest.c):
#include <stdio.h>
int main(void)
{
printf("%ld\n", (long) sizeof(long));
exit(0);
}
with the command
gcc -m64 -mcmodel=medlow /tmp/conftest.c -o /tmp/64.out
which fails with
/usr/lib/ld/sparcv9/map.below4G: file not recognized: File format not recognized
collect2: ld returned 1 exit status
Now the file in question seems perfectly innocent, but it's copyright to
sun so I won't post it. Essentially it's just some comments and the line
text = V0x80000000;
And so I'm extremely confused as to what the problem is. Does anybody
have any suggestions?
Mario
ps: versions I used are
++ gcc --version
gcc (GCC) 3.3.1
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
++ ld --version
GNU ld version 2.14 20030612
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
--
Whoever fights monsters should see | address@hidden
to it that in the process he does | EL518/2100 E. Elliot Rd/Tempe AZ 85284
not become a monster. -- Nietzsche | desk:480/413-3578 pgr:602/261-9454
Poppy says: [] GBI [] Internal Use Only [] Confidential Proprietary
Mommy says: [x] wash your face [x] brush your teeth [x] watch yo' mouth
- Help linking ipfilter package.,
Mario Nigrovic; RVVK40 <=