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

[Condor-users] Problems with condor_compile



Hi all,

 

I’m trying to compile a program linked to condor, by using condor_compile, as instructed on: http://www.cs.wisc.edu/condor/tutorials/intl-grid-school-3/submit_std.html

 

However, when I compile the example C program given (with condor_compile gcc prog.c –o prog) I get the following error:

 

 

LINKING FOR CONDOR : /usr/bin/ld -L/opt/condor-6.6.11/lib -Bstatic --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o sleep /opt/condor-6.6.11/lib/condor_rt0.o /usr/lib/gcc/x86_64-redhat-linux/3.4.5/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/3.4.5/crtbeginT.o -L/opt/condor-6.6.11/lib -L/usr/lib/gcc/x86_64-redhat-linux/3.4.5 -L/usr/lib/gcc/x86_64-redhat-linux/3.4.5 -L/usr/lib/gcc/x86_64-redhat-linux/3.4.5/../../../../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/3.4.5/../../.. -L/lib/../lib64 -L/usr/lib/../lib64 /tmp/ccInlps7.o /opt/condor-6.6.11/lib/libcondorzsyscall.a /opt/condor-6.6.11/lib/libz.a /opt/condor-6.6.11/lib/libcomp_libstdc++.a /opt/condor-6.6.11/lib/libcomp_libgcc.a /opt/condor-6.6.11/lib/libcomp_libgcc_eh.a --as-needed --no-as-needed -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv -lc /opt/condor-6.6.11/lib/libcomp_libgcc.a /opt/condor-6.6.11/lib/libcomp_libgcc_eh.a --as-needed --no-as-needed /usr/lib/gcc/x86_64-redhat-linux/3.4.5/crtend.o /usr/lib/gcc/x86_64-redhat-linux/3.4.5/../../../../lib64/crtn.o

/usr/bin/ld: skipping incompatible /opt/condor-6.6.11/lib/libc.a when searching for -lc

/usr/bin/ld: skipping incompatible /opt/condor-6.6.11/lib/libc.a when searching for -lc

/opt/condor-6.6.11/lib/libcondorzsyscall.a(condor_file_agent.o)(.text+0x250): In function `CondorFileAgent::open(char const*, int, int)':

: warning: the use of `tmpnam' is dangerous, better use `mkstemp'

/usr/lib/gcc/x86_64-redhat-linux/3.4.5/../../../../lib64/libc.a(mmap.o)(.text+0x0): In function `mmap64':

: multiple definition of `__mmap'

/opt/condor-6.6.11/lib/libcondorzsyscall.a(switches.o)(.text+0x57ec): first defined here

/usr/bin/ld: Warning: size of symbol `__mmap' changed from 37 in /opt/condor-6.6.11/lib/libcondorzsyscall.a(switches.o) to 25 in /usr/lib/gcc/x86_64-redhat-linux/3.4.5/../../../../lib64/libc.a(mmap.o)

/opt/condor-6.6.11/lib/libcondorzsyscall.a(internet.o)(.text+0x327): In function `sin_to_hostname':

: warning: Using 'gethostbyaddr' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

/opt/condor-6.6.11/lib/libcondorzsyscall.a(internet.o)(.text+0x98): In function `string_to_sin':

: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

/opt/condor-6.6.11/lib/libcondorzsyscall.a(sock.o)(.text+0x453): In function `Sock::getportbyserv(char*)':

: warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

/usr/lib/gcc/x86_64-redhat-linux/3.4.5/../../../../lib64/libc.a(fcntl.o)(.text+0xc0): In function `fcntl':

: multiple definition of `__libc_fcntl'

/opt/condor-6.6.11/lib/libcondorzsyscall.a(switches.o)(.text+0x5370): first defined here

/usr/bin/ld: Warning: size of symbol `__libc_fcntl' changed from 54 in /opt/condor-6.6.11/lib/libcondorzsyscall.a(switches.o) to 314 in /usr/lib/gcc/x86_64-redhat-linux/3.4.5/../../../../lib64/libc.a(fcntl.o)

/usr/lib/gcc/x86_64-redhat-linux/3.4.5/../../../../lib64/libc.a(malloc.o)(.text+0x1880): In function `free':

: multiple definition of `free'

/opt/condor-6.6.11/lib/libcondorzsyscall.a(malloc-user.o)(.text+0x5d): first defined here

/usr/bin/ld: Warning: size of symbol `free' changed from 38 in /opt/condor-6.6.11/lib/libcondorzsyscall.a(malloc-user.o) to 255 in /usr/lib/gcc/x86_64-redhat-linux/3.4.5/../../../../lib64/libc.a(malloc.o)

/usr/lib/gcc/x86_64-redhat-linux/3.4.5/../../../../lib64/libc.a(malloc.o)(.text+0x38d0): In function `malloc':

: multiple definition of `malloc'

/opt/condor-6.6.11/lib/libcondorzsyscall.a(malloc-user.o)(.text+0x24): first defined here

/usr/bin/ld: Warning: size of symbol `malloc' changed from 57 in /opt/condor-6.6.11/lib/libcondorzsyscall.a(malloc-user.o) to 461 in /usr/lib/gcc/x86_64-redhat-linux/3.4.5/../../../../lib64/libc.a(malloc.o)

/usr/lib/gcc/x86_64-redhat-linux/3.4.5/../../../../lib64/libc.a(malloc.o)(.text+0x3fb0): In function `realloc':

: multiple definition of `realloc'

/opt/condor-6.6.11/lib/libcondorzsyscall.a(malloc-user.o)(.text+0x83): first defined here

/usr/bin/ld: Warning: size of symbol `realloc' changed from 60 in /opt/condor-6.6.11/lib/libcondorzsyscall.a(malloc-user.o) to 783 in /usr/lib/gcc/x86_64-redhat-linux/3.4.5/../../../../lib64/libc.a(malloc.o)

/usr/lib/gcc/x86_64-redhat-linux/3.4.5/../../../../lib64/libc.a(fork.o)(.text+0x0): In function `fork':

: multiple definition of `__libc_fork'

/opt/condor-6.6.11/lib/libcondorzsyscall.a(switches.o)(.text+0x568e): first defined here

/usr/bin/ld: Warning: size of symbol `__libc_fork' changed from 13 in /opt/condor-6.6.11/lib/libcondorzsyscall.a(switches.o) to 67 in /usr/lib/gcc/x86_64-redhat-linux/3.4.5/../../../../lib64/libc.a(fork.o)

/usr/bin/ld: skipping incompatible /opt/condor-6.6.11/lib/libnss_files.a when searching for -lnss_files

/usr/bin/ld: skipping incompatible /opt/condor-6.6.11/lib/libnss_files.a when searching for -lnss_files

/usr/bin/ld: cannot find -lnss_files

collect2: ld returned 1 exit status

 

 

Any help would be great,

 

Regards,

 

Shaun