[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] ARM compilation problems
From: |
Shawn Rutledge |
Subject: |
[Chicken-users] ARM compilation problems |
Date: |
Sat, 21 Apr 2007 23:28:32 -0700 |
I'm trying to compile chicken 2.6 on my Zaurus with gcc 3.4.4. It
gets fairly far along.
/bin/sh ./libtool --mode=link gcc -Os -fomit-frame-pointer
-fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized
-DC_ENABLE_PTABLES -DC_NO_PIC_NO_DLL -export-dynamic -o chicken
chicken.o support.o compiler.o optimizer.o c-platform.o c-backend.o
batch-driver.o libchicken.la -lm -lm
gcc -Os -fomit-frame-pointer -fno-strict-aliasing -Wall -Wno-unused
-Wno-uninitialized -DC_ENABLE_PTABLES -DC_NO_PIC_NO_DLL -o
.libs/chicken chicken.o support.o compiler.o optimizer.o c-platform.o
c-backend.o batch-driver.o -Wl,--export-dynamic ./.libs/libchicken.so
-lm
chicken.o: In function `C_toplevel':
chicken.c:(.text+0x50f4): undefined reference to `C_library_toplevel'
./.libs/libchicken.so: undefined reference to `dlerror'
./.libs/libchicken.so: undefined reference to `dlclose'
./.libs/libchicken.so: undefined reference to `dlopen'
./.libs/libchicken.so: undefined reference to `dlsym'
collect2: ld returned 1 exit status
make[1]: *** [chicken] Error 1
make[1]: Leaving directory `/media/cf/src/chicken-2.6'
make: *** [all] Error 2
So I tried adding an -ldl (not sure if that makes sense to do...)
[tosa][07:06:45 AM] gcc -Os -fomit-frame-pointer -fno-strict-aliasing
-Wall -Wno-unused -Wno-uninitialized -DC_ENABLE_PTABLES
-DC_NO_PIC_NO_DLL -o .libs/chicken chicken.o support.o compiler.o
optimizer.o c-platform.o c-backend.o batch-driver.o
-Wl,--export-dynamic ./.libs/libchicken.so -lm -ldl
./.libs/libchicken.so: warning: Using 'dlopen' in statically linked
applications requires at runtime the shared libraries from the glibc
version used for linking
chicken.o: In function `C_toplevel':
chicken.c:(.text+0x50f4): undefined reference to `C_library_toplevel'
/media/cf/packages/usr/bin/../lib/gcc/arm-linux/3.4.4/../../../libdl.a(dlopen.o):
In function `dlopen':
dlopen.c:(.text+0xc): undefined reference to `__dlopen'
/media/cf/packages/usr/bin/../lib/gcc/arm-linux/3.4.4/../../../libdl.a(dlclose.o):
In function `dlclose':
dlclose.c:(.text+0x0): undefined reference to `__dlclose'
/media/cf/packages/usr/bin/../lib/gcc/arm-linux/3.4.4/../../../libdl.a(dlsym.o):
In function `dlsym':
dlsym.c:(.text+0xc): undefined reference to `__dlsym'
/media/cf/packages/usr/bin/../lib/gcc/arm-linux/3.4.4/../../../libdl.a(dlerror.o):
In function `dlerror':
dlerror.c:(.text+0x0): undefined reference to `__dlerror'
collect2: ld returned 1 exit status
- [Chicken-users] ARM compilation problems,
Shawn Rutledge <=
- Re: [Chicken-users] ARM compilation problems, Mario Domenech Goulart, 2007/04/22
- Re: [Chicken-users] ARM compilation problems, felix winkelmann, 2007/04/23
- Re: [Chicken-users] ARM compilation problems, Shawn Rutledge, 2007/04/23
- Re: [Chicken-users] ARM compilation problems, felix winkelmann, 2007/04/23
- Re: [Chicken-users] ARM compilation problems, Shawn Rutledge, 2007/04/24
- Re: [Chicken-users] ARM compilation problems, felix winkelmann, 2007/04/24
- Re: [Chicken-users] ARM compilation problems, john, 2007/04/24
- Re: [Chicken-users] ARM compilation problems, Shawn Rutledge, 2007/04/24