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

[condor-users] Condor_compile in Condor-6.6.3 and Linux Enterprise problem?



Hi,

has anyone succeeded using condor_compile in a Linux Enterprise with
Condor-6.6.3 (condor-6.6.3-linux-x86-glibc23-dynamic.tar.gz)?

I have a simple hello_world program in C, and I compile it with 
condor_compile gcc -o hello_world_std hello_world.c

It takes ages and then the resulting executable is 12MB in size. I assume
something wrong is going on, but no idea what.

Any clues?

Thanks,
Angel de Vicente

=============

The program is:

[angelv@codorniz Tests_Standard_Universe]$ less hello_world.c
#include <stdio.h>

int main (int argc, char *argv[])
{
   printf("Hola desde Hello World programado en C.\n");

   return 0;
}


After compilation I get:

[angelv@codorniz Tests_Standard_Universe]$
/usr/pkg/condor/condor-6.6.3/bin/condor_compile gcc -o hello_world_std
hello_world.c
LINKING FOR CONDOR : /usr/bin/ld -L/usr/pkg/condor/condor-6.6.3/lib -Bstatic
--eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o
hello_world_std /usr/pkg/condor/condor-6.6.3/lib/condor_rt0.o
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../crti.o
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/crtbeginT.o
-L/usr/pkg/condor/condor-6.6.3/lib -L/usr/lib/gcc-lib/i386-redhat-linux/3.2.3
-L/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../.. /tmp/ccKO4uiS.o
/usr/pkg/condor/condor-6.6.3/lib/libcondorzsyscall.a
/usr/pkg/condor/condor-6.6.3/lib/libz.a
/usr/pkg/condor/condor-6.6.3/lib/libcomp_libstdc++.a
/usr/pkg/condor/condor-6.6.3/lib/libcomp_libgcc.a
/usr/pkg/condor/condor-6.6.3/lib/libcomp_libgcc_eh.a
/usr/pkg/condor/condor-6.6.3/lib/libcomp_libgcc_eh.a -lc -lnss_files -lnss_dns
-lresolv -lc -lnss_files -lnss_dns -lresolv -lc
/usr/pkg/condor/condor-6.6.3/lib/libcomp_libgcc.a
/usr/pkg/condor/condor-6.6.3/lib/libcomp_libgcc_eh.a
/usr/pkg/condor/condor-6.6.3/lib/libcomp_libgcc_eh.a
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/crtend.o
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../crtn.o
/usr/pkg/condor/condor-6.6.3/lib/libcondorzsyscall.a(condor_file_agent.o)(.text+0x250):
In function `CondorFileAgent::open(char const*, int, int)':
/home/condor/execute/dir_22897/src/condor_ckpt/condor_file_agent.C:99: the use
of `tmpnam' is dangerous, better use `mkstemp'
[angelv@codorniz Tests_Standard_Universe]$ 







----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Condor Support Information:
http://www.cs.wisc.edu/condor/condor-support/
To Unsubscribe, send mail to majordomo@xxxxxxxxxxx with
unsubscribe condor-users <your_email_address>