tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] unrecognized filetype / link error


From: Jens Arm
Subject: [Tinycc-devel] unrecognized filetype / link error
Date: Fri, 2 May 2003 10:22:28 +0200

Hi

On Mandrake 9.1 I get this link error if I compile something:

address@hidden tinycc]$ make
tcc -O2 -g -Wall -mpreferred-stack-boundary=2 -m386 -malign-functions=0 -o 
tcc_g tcc.c -ldl
/usr/lib/libc.so:3: unrecognized file type
tcc: undefined symbol '__preinit_array_end'
tcc: undefined symbol '__preinit_array_start'
tcc: undefined symbol '__init_array_end'
tcc: undefined symbol '__init_array_start'
tcc: undefined symbol '__fini_array_end'
tcc: undefined symbol '__fini_array_start'
tcc: undefined symbol '_dl_num_relocations'
tcc: undefined symbol '_dl_num_cache_relocations'
strip -s -R .comment -R .note -o tcc tcc_g
strip: tcc_g: No such file or directory
make: *** [tcc] Fehler 1


This is the content of libc.so:

address@hidden tinycc]$ cat /usr/lib/libc.so
/* GNU ld script
   Use the shared library, but some functions are only in
   the static library, so try that secondarily.  */
OUTPUT_FORMAT(elf32-i386)
GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a )


Jens




reply via email to

[Prev in Thread] Current Thread [Next in Thread]