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

[Condor-users] condor_compile problem


I'm trying to link a standard universe version of the "simple" GNU Guile example given at:


On my x86_64 Debian Lenny box (with corresponding version of dynamically linked Condor 7.4.2 distro installed) I issue:

% condor_compile gcc -o simple-guile simple-guile.c -lguile -lgmp -lcrypt -lltdl -ldl -lm

and apart from several warnings, the build fails with the error:

/Condor/x86_64/condor/lib/libcondor_c.a(truncate.o): In function `truncate64':
(.text+0x0): multiple definition of `truncate'
/Condor/x86_64/condor/lib/libcondorsyscall.a(switches.o):/home/condor/execute/dir_18056/userdir/src/condor_syscall_lib/switches.cpp:1691: first defined here

There appears to be a conflict between two of Condor's libraries, unless I'm misinterpreting the error being reported. Either way, can anyone indicate what I'm doing wrong, and ideally suggest a solution?

Note that all system libraries being linked in have been installed via the Debian repository (i.e. they're not customised libraries that I've built).