Problem while linking pound
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem while linking pound
- To: coldfire-gnu-discuss@xxxxxxxxxxxxxxxx
- Subject: Problem while linking pound
- From: Michel Marti <michel.marti@xxxxxxxxxxxx>
- Date: Wed, 31 May 2006 14:47:53 +0200
Hello,
I'm trying to build pound (http://www.apsis.ch/pound/) using the CodeSourcery 4.1-11
Coldfire toolchain with no success. On linking, I get the following errors:
$ m68k-uclinux-gcc -m5200 -Wl,-elf2flt -L../staging/lib -o pound pound.o http.o \
config.o svc.o -lssl -lcrypto -lpthread
.../m68k-uclinux/libc/usr/lib/libc.a(clone.o): In function `clone':
libc/sysdeps/linux/m68k/clone.S:(.text+0xc): relocation truncated to fit: R_68K_PC16
against symbol `__syscall_error' defined in .text section in
.../m68k-uclinux/libc/usr/lib/libc.a(__syscall_error.o)
libc/sysdeps/linux/m68k/clone.S:(.text+0x18): relocation truncated to fit: R_68K_PC16
against symbol `__syscall_error' defined in .text section in
.../m68k-uclinux/libc/usr/lib/libc.a(__syscall_error.o)
libc/sysdeps/linux/m68k/clone.S:(.text+0x36): relocation truncated to fit: R_68K_PC16
against symbol `__syscall_error' defined in .text section in
.../m68k-uclinux/libc/usr/lib/libc.a(__syscall_error.o)
collect2: ld returned 1 exit status
I'm using OpenSSL 0.9.7j configured with the following options:
no-shared zlib no-krb5 threads no-bf no-idea no-md2 no-ripemd no-cast linux-m68k
Any hints?
Michel