[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipfilter
Subject:    Re: Newest Ipfilter (gcc/sol9 compile issue)
From:       Casper.Dik () Sun ! COM
Date:       2006-11-15 18:36:53
Message-ID: 200611151836.kAFIaroq009873 () vaticaan ! holland ! sun ! com
[Download RAW message or body]


>Beat my head against this for 3-4 more days. Does anyone have any
>insight cause I'm lost right now.
>
>Scott Walker wrote:
>> I just grabbed the new ipfilter and pfil (latest version of both) pfil
>> compiled without a problem. But when it came to ipfilter.
>> 
>> I ran into the below.
>> 
>> ld -dy -Ndrv/ip -Ndrv/pfil -Nmisc/md5 -r sparcv7/ip_fil.o sparcv7/fil.o
>> sparcv7/solaris.o sparcv7/ip_state.o  sparcv7/ip_frag.o sparcv7/ip_nat.o
>> sparcv7/ip_proxy.o sparcv7/ip_auth.o  sparcv7/ip_pool.o
>> sparcv7/ip_htable.o sparcv7/ip_lookup.o sparcv7/ip_log.o
>> sparcv7/ip_scan.o sparcv7/ip_sync.o sparcv7/radix.o sparcv7/md5.o  -o
>> sparcv7/ipf
>> ld: fatal: relocation error: R_SPARC_32: file sparcv7/ip_pool.o: symbol
>> <unknown>: offset 0x13e is non-aligned
>> ld: fatal: relocation error: R_SPARC_32: file sparcv7/ip_htable.o:
>> symbol <unknown>: offset 0x3a9 is non-aligned

This looks like an error in the compiler output.  Apparently some symbol
has a 32 bit relocation entry not aligned on a 32 bit boundary.

Try using the Sun compilers (available for download from Sun com
and free to use)

Casper
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic