undefined reference to `ip'

Andrew Haley
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, 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

Go through all the object files in the build dir:

find . -name '*.o' | while read i
echo $i
nm $i | egrep '\<ip\>'

You may get a lot of false positives, but see how that goes.


More information about the Java mailing list