In building the old molmol-2k.2.0-4.info package from fink 10.2,
I noticed the following link warnings under 10.3 and fink 0.6.0...

/usr/bin/cc -o molmol -I../../tools/include -I../../sg/include -I../../include 
-DMAXINT=INT_MAX -I/usr/X11R6/include -I/sw/include -no-cpp-precomp -bind_at_load  -O 
-bind_at_load  MolMol.o MolInit.o ../../lib/libcip.a ../../lib/libcmd.a 
../../lib/libui.a ../../lib/libgraph.a ../../lib/libio.a ../../lib/libpu.a 
../../lib/libcalc.a ../../lib/libprim.a ../../lib/libdata.a ../../lib/libattr.a 
../../lib/libfileio.a ../../lib/libos.a ../../sg/lib/libsg.a 
../../tools/lib/libtools.a /sw/lib/libtiff.3.dylib /sw/lib/libjpeg.dylib 
/sw/lib/libpng.dylib /usr/lib/libz.dylib -L/usr/lib -L/sw/lib -L/usr/X11R6/lib 
-L/usr/local/lib -lX11 -lXm -lXmu -lXt -lXp -lXpm -lX11 -lXext -lSM -lICE -lm -lmx -lc 
-lGLU -lGL -lGLw
ld: warning prebinding disabled because dependent library: /sw/lib/libtiff.3.dylib is 
not prebound
ld: warning multiple definitions of symbol __XEditResCheckMessages
/sw/lib/libXm.dylib(EditresCom.lo) definition of __XEditResCheckMessages
/usr/X11R6/lib/libXmu.dylib(EditresCom.o) definition of __XEditResCheckMessages
ld: warning multiple definitions of symbol _XauDisposeAuth
/usr/X11R6/lib/libX11.dylib(AuDispose.o) definition of _XauDisposeAuth
/usr/X11R6/lib/libXp.dylib(AuDispose.o) definition of _XauDisposeAuth
ld: warning multiple definitions of symbol _XauReadAuth
/usr/X11R6/lib/libXp.dylib(AuRead.o) definition of _XauReadAuth
/usr/X11R6/lib/libX11.dylib(AuRead.o) definition of _XauReadAuth

Does anyone know if these symbols should be exisiting in both X11's
libXmu and in openmotif or should we be patching them out of openmotif?
Or is this all just a harmless side-effect of building with -bind-at-load?
                         Jack
ps if you want to build molmol, modify the makedef.gz to have...

  MISSFUNC = -DMAXINT=INT_MAX

...and...

SYSLIB = -L/usr/lib -L/sw/lib -L/usr/X11R6/lib -L/usr/local/lib \
         -lX11 -lXm -lXmu -lXt -lXp -lXpm -lX11 -lXext \
         -lSM -lICE -lm -lmx -lc -lGLU -lGL -lGLw

I would also change the optimization level to -O3 as well.


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to