m68k startup

Miguel Angel Alvarez ma.alvarez at ziv.es
Wed Sep 6 14:53:41 UTC 2006


Hi.

I am new to cross-compiling and uClibc so maybe my question is too easy...

I am trying to cross-compile uClibc 0.9.28 with gcc 4.1.1 (previously 
compiled for m68k with enable-language=c).

When trying to compile uClibc, I find the following error.

/home/mac/uSEL/trunk/output/board-3tn0339-uclibc/stage/bin/m68k-linux-uclibc-gcc 
-Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing 
-fno-stack-protector -D_DL_FINI_CRT_COMPAT -Os -funit-at-a-time 
-DUCLIBC_LDSO=\"ld-uClibc.so.0\" -Wa,--bitwise-or -fPIC 
-DUCLIBC_RUNTIME_PREFIX=\"/\" -fno-builtin -nostdinc -D_LIBC 
-I../../ldso/include -I. -I../../include -isystem 
/home/mac/uSEL/trunk/output/board-3tn0339-uclibc/stage/lib/gcc/m68k-linux-uclibc/4.1.1/include 
-c ldso.c -o ldso.o
In file included from ../../ldso/include/dl-progname.h:1,
                 from ldso.c:42:
./m68k/elfinterp.c: In function '_dl_parse_lazy_relocation_information':
./m68k/elfinterp.c:126: warning: pointer targets in assignment differ in 
signedness
./m68k/elfinterp.c: In function '_dl_parse_relocation_information':
./m68k/elfinterp.c:173: warning: pointer targets in assignment differ in 
signedness
In file included from ldso.c:68:
dl-startup.c: In function '_dl_start':
dl-startup.c:133: warning: assignment from incompatible pointer type
dl-startup.c:311: warning: no return statement in function returning 
non-void
/tmp/ccJob2ua.s: Assembler messages:
/tmp/ccJob2ua.s:4: Error: symbol `_start' is already defined
make[3]: *** [ldso.o] Error 1
make[3]: Leaving directory 
`/home/mac/uSEL/trunk/output/board-3tn0339-uclibc/toolchain/uClibc-0.9.28/ldso/ldso'
make[2]: *** [ldso] Error 2
make[2]: Leaving directory 
`/home/mac/uSEL/trunk/output/board-3tn0339-uclibc/toolchain/uClibc-0.9.28/ldso'
make[1]: *** [_dir_ldso] Error 2
make[1]: se sale del directorio 
`/home/mac/uSEL/trunk/output/board-3tn0339-uclibc/toolchain/uClibc-0.9.28'
make: *** 
[/home/mac/uSEL/trunk/output/board-3tn0339-uclibc/toolchain/uClibc-0.9.28/.compiled] 
Error 2

I suppose that ccJob2ua.s is a temporary file, so I do not actually 
imagine who can define _start before uClibc.

Thanks

Miguel Angel 
 
----------------------------------------- PLEASE NOTE -------------------------------------------
This message, along with any attachments, may be confidential or legally privileged. 
It is intended only for the named person(s), who is/are the only authorized recipients.
If this message has reached you in error, kindly destroy it without review and notify the sender immediately.
Thank you for your help.
µSysCom uses virus scanning software but excludes any liability for viruses contained in any attachment.
 
------------------------------------ ROGAMOS LEA ESTE TEXTO -------------------------------
Este mensaje y sus anexos pueden contener información confidencial y/o con derecho legal. 
Está dirigido únicamente a la/s persona/s o entidad/es reseñadas como único destinatario autorizado.
Si este mensaje le hubiera llegado por error, por favor elimínelo sin revisarlo ni reenviarlo y notifíquelo inmediatamente al remitente. Gracias por su colaboración.  
µSysCom utiliza software antivirus, pero no se hace responsable de los virus contenidos en los ficheros anexos.



More information about the uClibc mailing list