[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
compct-glibc problem
- From: Anant Kantak <anantk nital stpp soft net>
- To: taroon-list redhat com
- Subject: compct-glibc problem
- Date: Mon, 19 Jul 2004 23:53:27 +0530
Hi
I have to run the objects build on the linux 7.2 machine on rhel machine.
I do not want to build these objects on the rhel machine so I tried for the
"compct-glibc".
I found that when I used following option, it did not picked up the files from
the following directory.
"-I/usr/lib/i386-redhat-linux7/include/ -L/usr/lib/i386-redhat-linux7/lib "
Refer--> http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=111928
What should the correct switches ? Where from I get more information about the
cokpct-glibc usage.
I am giving the script, log and the path for files picked by sctipt for your
reference...
My script is as follows..
/depot/gcc-3.4.0/bin/gcc -o run_ipc \
./examples/C/cake_c_commands.c \
${LMC_HOME}/lib/x86_linux.lib/flexmodel_pkg.o \
./src/C/x86_linux/cake_pkg.o \
-I/usr/lib/i386-redhat-linux7/include/ -L/usr/lib/i386-redhat-linux7/lib \
-I./src/C \
-I${LMC_HOME}/sim/C/src \
if ($status) exit 1
It takes files "crtn.o" and "crtend.o" file from "gcc" path and not from the
"/usr/lib/i386-redhat-linux7/lib \"
Which is not expected. What should the correct switches ? Where from I get more
information about
the cokpct-glibc usage.
Log:---
GNU assembler version 2.14 (i686-pc-linux-gnu) using BFD version 2.14 20030612
/linux/depot/gcc-3.4.0/bin/../libexec/gcc/i686-pc-linux-gnu/3.4.0/collect2
--eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o run_ipc
/usr/lib/crt1.o /usr/lib/crti.o
/linux/depot/gcc-3.4.0/bin/../lib/gcc/i686-pc-linux-gnu/3.4.0/crtbegin.o
-L/usr/lib/i386-redhat-linux7/lib
-L/linux/depot/gcc-3.4.0/bin/../lib/gcc/i686-pc-linux-gnu/3.4.0
-L/linux/depot/gcc-3.4.0/bin/../lib/gcc
-L/depot/gcc-3.4.0/lib/gcc/i686-pc-linux-gnu/3.4.0
-L/linux/depot/gcc-3.4.0/bin/../lib/gcc/i686-pc-linux-gnu/3.4.0/../../..
-L/depot/gcc-3.4.0/lib/gcc/i686-pc-linux-gnu/3.4.0/../../.. /tmp/ccPbGjqb.o
/d/bfm1/anantk/amd64_home/lib/x86_linux.lib/flexmodel_pkg.o
./src/C/x86_linux/cake_pkg.o -lgcc -lc -lgcc
/linux/depot/gcc-3.4.0/bin/../lib/gcc/i686-pc-linux-gnu/3.4.0/crtend.o
/usr/lib/crtn.o
/usr/lib/crt1.o(.text+0xc): In function `_start':
: undefined reference to `__libc_csu_fini'
/usr/lib/crt1.o(.text+0x11): In function `_start':
: undefined reference to `__libc_csu_init'
collect2: ld returned 1 exit status
if ( 1 ) exit 1
exit 1
Thanks
Anant
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]