nm gives "no symbol"

giangiammy_at_yahoo.com
Date: 05/13/05


Date: 13 May 2005 07:26:40 -0700

hi all, I'm compiling some example from flnx, running on
nano-X: I correctly compile nano-X and his examples, but
compiling flnx examples, I get some undefined symbols,
such as "undefined reference to `GrText'".

I verified with nm the contents of nano-X library, but
nm gives "no symbol" message.

Any idea? is the nano-X library wrong, or have I compiled
incorrectly flnx example?

My compilation line is
gcc tile.o ../lib/libfltk.a -DNANO_X=1 -L/usr/local/lib
-L/home/AMDgiammy/microwindows-0.90/src/lib
../../microwindows-0.90/src/lib/libnano-X.a -lm -o tile

running on a mips system, gcc version 3.3.4,

Configured with:
/home/andersen/CVS/buildroot/toolchain_build_mipsel/gcc-3.3.4/configure
--prefix=/usr --build=i386-pc-linux-gnu --host=mipsel-linux-uclibc
--target=mipsel-linux-uclibc --enable-languages=c,c++ --enable-shared
--with-gxx-include-dir=/usr/include/c++ --disable-__cxa_atexit
--enable-target-optspace --with-gnu-ld --disable-nls --enable-multilib
--enable-sjlj-exceptions
Thread model: posix



Relevant Pages

  • Re: Linking error on SCO6
    ... I'm facing a problem while compiling Alert Agent on SCO6 and need ... There are two undefined symbols coming during the linking ... UX:ld: ERROR: Symbol referencing errors. ... In SCO OpenServer 5, this had no effect, ...
    (comp.unix.sco.misc)
  • gcc intrinsic
    ... I am getting an error while compiling a Image project under 2.6. ... dld: error: Undefined symbols found - no output written ...
    (comp.os.vxworks)