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

Re: [Condor-users] condor_compile undefined reference to `main`



Atle Rudshaug wrote:
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'


_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at: https://lists.cs.wisc.edu/archive/condor-users/


By the way, I'm trying to compile with gfortran on CentOS5. Is there or will there be support for this?

- Atle