Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Condor-users] condor_compile undefined reference to `main`
- Date: Thu, 18 Sep 2008 13:00:26 +0200
- From: Atle Rudshaug <atle@xxxxxxxxxxxxxxxxxx>
- Subject: [Condor-users] condor_compile undefined reference to `main`
Hi!
I am unable to compile a relatively large application with
condor_compile. It is a fortran code and I am using gfortran in CentOS5
in the makefile. Any ideas? I looked at the other post with a similar
error, but it did not help putting the .o file with `main` first in the
ld call.
https://lists.cs.wisc.edu/archive/condor-users/2006-July/msg00066.shtml
- atle
I get the following error:
/opt/condor-7.0.4/lib/libcondorsyscall.a(condor_file_agent.o): In
function `CondorFileAgent::open(char const*, int, int)':
/home/condor/execute/dir_21881/userdir/src/condor_ckpt/condor_file_agent.C:106:
warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/opt/condor-7.0.4/lib/libcondorsyscall.a(special_stubs.o): In function
`condor_gethostbyaddr':
/home/condor/execute/dir_21881/userdir/src/condor_syscall_lib/special_stubs.C:201:
warning: Using 'gethostbyaddr' in statically linked applications
requires at runtime the shared libraries from the glibc version used for
linking
/opt/condor-7.0.4/lib/libcondorsyscall.a(special_stubs.o): In function
`condor_gethostbyname':
/home/condor/execute/dir_21881/userdir/src/condor_syscall_lib/special_stubs.C:194:
warning: Using 'gethostbyname' in statically linked applications
requires at runtime the shared libraries from the glibc version used for
linking
/opt/condor-7.0.4/lib/libcondorsyscall.a(sock.o): In function
`Sock::getportbyserv(char*)':
/home/condor/execute/dir_21881/userdir/src/condor_io/sock.C:208:
warning: Using 'getservbyname' in statically linked applications
requires at runtime the shared libraries from the glibc version used for
linking
/opt/condor-7.0.4/lib/libcondorsyscall.a(remote_startup.o): In function
`MAIN':
/home/condor/execute/dir_21881/userdir/src/condor_syscall_lib/remote_startup.c:499:
undefined reference to `main'