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

[Condor-users] condor_compile doesn't work with Tcl



I'm trying to compile my Tcl-based program for Condor. I issued following command:

condor_compile g++ myprog.cpp -omyprog.condor -ltcl8.5 -lpthread -ldl

and linker returns an error:

/usr/local/condor/lib/libcondor_c.a(fork.o): In function `__libc_fork':
/scratch/externals/build/glibc-2.7-18-x86_64/glibc-2.7-18-x86_64/posix/../nptl/sysdeps/unix/sysv/linux/x86_64/../fork.c:54: multiple definition of `__libc_fork' /usr/local/condor/lib/libcondorsyscall.a(switches.o):/home/condor/execute/dir_30640/userdir/src/condor_syscall_lib/switches.remap-LINUX.h:149: first defined here

I successfully compile programs which don't use Tcl. My platform is Debian Linux x86_64. Condor version is 7.4.1.

Thanks,
Andrey