[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [BusyBox] errors when compiling [glibc2.1.3/gcc2.95]
From:       "Sean" <sheukels () yahoo ! co ! uk>
Date:       2003-02-15 13:44:03
[Download RAW message or body]

Hi,

I tried compiling busybox. Somehow it is not working and I keep running =
into
errors @ the end. I pasted the errors below. I used gcc 2.95 and 3.1, =
and
used headers from glibc2.1.3 and glibc2.3.1. Still I have the errors. I
compile with the rules described in the compile HOWTO.

Can somebody help?

Thx, Sean


ERRORS:
-----------------------------------------------------
compiled with : -L/lib-dir -lc
-----------------------------------------------------
cmdedit.o: In function `cmdedit_init':
cmdedit.o(.text+0x4a6): undefined reference to `atexit'
more.o: In function `more_main':
more.o(.text+0x128): undefined reference to `atexit'
collect2: ld returned 1 exit status
make: *** [busybox] Error 1
-----------------------------------------------------
compiled with : -L/lib-dir /lib-dir/crt1.o /lib-dir/libc.so
-----------------------------------------------------
/usr/src/glibc-2.1.3/usr/lib/crt1.o: In function `_start':
/usr/src/glibc-2.1.3/usr/lib/crt1.o(.text+0xc): undefined reference to
`_fini'
/usr/src/glibc-2.1.3/usr/lib/crt1.o(.text+0x11): undefined reference to
`_init'
cmdedit.o: In function `cmdedit_init':
cmdedit.o(.text+0x46f): undefined reference to `atexit'
more.o: In function `more_main':
more.o(.text+0x11c): undefined reference to `atexit'
collect2: ld returned 1 exit status
make: *** [busybox] Error 1



[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2723.2500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>Hi,<BR><BR>I tried compiling busybox. Somehow it is not 
working and I keep running into<BR>errors @ the end. I pasted the errors below. 
I used gcc 2.95 and 3.1, and<BR>used headers from glibc2.1.3 and glibc2.3.1. 
Still I have the errors. I<BR>compile with the rules described in the compile 
HOWTO.<BR><BR>Can somebody help?<BR><BR>Thx, 
Sean<BR><BR><BR>ERRORS:<BR>-----------------------------------------------------<BR>compiled \
 with : -L/lib-dir 
-lc<BR>-----------------------------------------------------<BR>cmdedit.o: In 
function `cmdedit_init':<BR>cmdedit.o(.text+0x4a6): undefined reference to 
`atexit'<BR>more.o: In function `more_main':<BR>more.o(.text+0x128): undefined 
reference to `atexit'<BR>collect2: ld returned 1 exit status<BR>make: *** 
[busybox] Error 
1<BR>-----------------------------------------------------<BR>compiled with : 
-L/lib-dir /lib-dir/crt1.o 
/lib-dir/libc.so<BR>-----------------------------------------------------<BR>/usr/src/glibc-2.1.3/usr/lib/crt1.o: \
 In function `_start':<BR>/usr/src/glibc-2.1.3/usr/lib/crt1.o(.text+0xc): 
undefined reference 
to<BR>`_fini'<BR>/usr/src/glibc-2.1.3/usr/lib/crt1.o(.text+0x11): undefined 
reference to<BR>`_init'<BR>cmdedit.o: In function 
`cmdedit_init':<BR>cmdedit.o(.text+0x46f): undefined reference to 
`atexit'<BR>more.o: In function `more_main':<BR>more.o(.text+0x11c): undefined 
reference to `atexit'<BR>collect2: ld returned 1 exit status<BR>make: *** 
[busybox] Error 1<BR><BR></BODY></HTML>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic