libgcj.so: undefined reference to `ip'
Andrew Haley
aph@redhat.com
Thu Dec 16 09:30:00 GMT 2010
On 12/16/2010 03:09 AM, Xingxing Pan wrote:
> Hi, guys.
>> I'm compiling gcc-4.4.2 on arm similar platform and getting a fail
> during the link stage.
> Using command `nm' to read symbols in libgcj.so, i find the symbol
> `ip' is undefined.
> I grep the libjava directory, but cannot find the definition for `ip'.
> Could someone tell me where its definition and use which library to
> resolve the reference in libgcj.so?
Go through all the object files in the build dir:
find . -name '*.o' | while read i
do
echo $i
nm $i | egrep '\<ip\>'
done
You may get a lot of false positives, but see how that goes.
Andrew.
More information about the Java
mailing list