[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Condor-users] Condor and NAG

Does anyone have any experience of running code linked against the NAG libraries in the standard universe? I've no problem running in vanilla, but if I try to condor_compile my program I get lots of errors, eg:

/usr/local/condor/lib/libcondorzsyscall.a(switches.o)(.text+0x52de): In function `__libc_write': /home/condor/execute/dir_16550/userdir/src/condor_syscall_lib/switches.remap-LINUX.h:75: multiple definition of `__libc_write' /usr/lib/gcc-lib/i486-linux/3.3.5/../../../libpthread.a(ptw-write.o)(.text+0x0): first defined here /usr/bin/ld.real: Warning: size of symbol `__libc_write' changed from 90 in /usr/lib/gcc-lib/i486-linux/3.3.5/../../../libpthread.a(ptw-write.o) to 28 in /usr/lib/gcc-lib/i486-linux/3.3.5/../../../libpthread.a(ptw-write.o)

and there are then other near-identical messages for a few other pthread symbols. I am specifying -lpthread in my makefile (it's needed for the FlexLM license management in NAG), which I guess explains the multiple definitions, but aside from "don't use NAG", are there any suggestions?