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

[Condor-users] condor_compile funnies on RHEL5



When I do a condor_compile on a RHEL5 system, I get
warning: the use of `tmpnam' is dangerous, better use `mkstemp'
warning: the `gets' function is dangerous and should not be used.

I've tried it on two different RHEL5 boxes, both give the same result. The programs is a loop and a call to "ckpt", and appears to run OK.

I've using the RHEL3 version of 6.8.7 and 6.8.8.
/nerc/packages/condor/6.8.7/rhel3/condor-6.8.7/bin/condor_compile
/packages/condor/6.8.8/rhel3/condor-6.8.8/bin/condor_compile

Should I worry?

tia for any input.

Dick
-------------------------------

condorbl condor $ uname -a
Linux condorbl 2.6.18-53.1.4.el5 #1 SMP Wed Nov 14 10:37:27 EST 2007 x86_64 x86_64 x86_64 GNU/Linux
condorbl condor $ cat /etc/issue
Red Hat Enterprise Linux Server release 5.1 (Tikanga)
Kernel \r on an \m

condorbl condor $

condorbl condor $ condor_compile gcc -m32 loop.c
loop.c: In function â??mainâ??:
loop.c:47: warning: incompatible implicit declaration of built-in function â??exitâ?? loop.c:66: warning: incompatible implicit declaration of built-in function â??exitâ??
loop.c: In function â??do_loopâ??:
loop.c:81: warning: incompatible implicit declaration of built-in function â??exitâ??
loop.c: In function â??usageâ??:
loop.c:100: warning: incompatible implicit declaration of built-in function â??exitâ?? LINKING FOR CONDOR : /usr/bin/ld -L/nerc/packages/condor/6.8.7/rhel3/condor-6.8.7/lib -Bstatic --eh-frame-hdr -m elf_i386 --hash-style=gnu -dynamic-linker /lib/ld-linux.so.2 /nerc/packages/condor/6.8.7/rhel3/condor-6.8.7/lib/condor_rt0.o /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.1.2/32/crtbeginT.o -L/nerc/packages/condor/6.8.7/rhel3/condor-6.8.7/lib -L/nerc/packages/condor/6.8.7/rhel3/condor-6.8.7/lib/../lib -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2/32 -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2/32 -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib /tmp/ccHv0Ubm.o /nerc/packages/condor/6.8.7/rhel3/condor-6.8.7/lib/libcondorzsyscall.a /nerc/packages/condor/6.8.7/rhel3/condor-6.8.7/lib/libcondor_z.a /nerc/packages/condor/6.8.7/rhel3/condor-6.8.7/lib/libcomp_libstdc++.a /nerc/packages/condor/6.8.7/rhel3/condor-6.8.7/lib/libcomp_libgcc.a /nerc/packages/condor/6.8.7/rhel3/condor-6.8.7/lib/libcomp_libgcc_eh.a --as-needed --no-as-needed -lcondor_c -lcondor_nss_files -lcondor_nss_dns -lcondor_resolv -lcondor_c -lcondor_nss_files -lcondor_nss_dns -lcondor_resolv -lcondor_c /nerc/packages/condor/6.8.7/rhel3/condor-6.8.7/lib/libcomp_libgcc.a /nerc/packages/condor/6.8.7/rhel3/condor-6.8.7/lib/libcomp_libgcc_eh.a --as-needed --no-as-needed /usr/lib/gcc/x86_64-redhat-linux/4.1.2/32/crtend.o /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib/crtn.o /nerc/packages/condor/6.8.7/rhel3/condor-6.8.7/lib/libcondorzsyscall.a(condor_file_agent.o): In function `CondorFileAgent::open(char const*, int, int)': /home/condor/execute/dir_3397/userdir/src/condor_ckpt/condor_file_agent.C:99:


/nerc/packages/condor/6.8.7/rhel3/condor-6.8.7/lib/libcondorzsyscall.a(switches.o): In function `__gets_chk': /home/condor/execute/dir_3397/userdir/src/condor_syscall_lib/switches.remap-LINUX.h:435: warning: the `gets' function is dangerous and should not be used.
condorbl condor $

--
Richard Gillman
iTSS UNIX Systems Group, Maclean Building, Wallingford OX10 8BB
Tel: 01491 - 692 339