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

[Condor-users] condor_compile problem



Hi,

I'm trying to link together some code with Condor's libraries via condor_compile but have run into a problem. The code works perfectly well on its own, but condor_compile fails with:

/Condor/Debian/condor/lib/libcondorzsyscall.a(remote_startup.o): In function `MAIN': /home/condor/execute/dir_8777/userdir/src/condor_syscall_lib/remote_startup.c:485: undefined reference to `main'
collect2: ld returned 1 exit status

What I find strange is that mysterious path: "/home/condor/execute/dir_8777/userdir/src/condor_syscall_lib" which does not exist on my machine. Am I to assume that this is an artefact of Condor's build environment at UWCS? As for a "main" function, it is certainly in the .o files I'm linking together as without the condor_compile directive the code builds cleanly (I'm using g++ v3.4).

Can anyone shed light as to what the problem may be?

Ta,
Mark