m68k startup

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


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.

-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 
-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 
./m68k/elfinterp.c: In function '_dl_parse_relocation_information':
./m68k/elfinterp.c:173: warning: pointer targets in assignment differ in 
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 
/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 
make[2]: *** [ldso] Error 2
make[2]: Leaving directory 
make[1]: *** [_dir_ldso] Error 2
make[1]: se sale del directorio 
make: *** 
Error 2

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


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