[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
checking for sin in -lm fails
From: |
Tim Blechmann |
Subject: |
checking for sin in -lm fails |
Date: |
Thu, 31 Mar 2005 10:19:21 +0200 |
hi all,
there is a bug in autoconf concerning the symbol checking in libraries:
my configure.in file contains:
AC_CHECK_LIB(m,sin)
the specific part in the config.log says:
configure:4961: checking for sin in -lm
configure:4991: gcc -o conftest -g -O2 -L/usr/X11R6/lib conftest.c -lm
-Wl,-s hared -Wl,-export-dynamic -lXxf86vm -lXext -lX11 >&5
conftest.c:23: warning: conflicting types for built-in function 'sin'
/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x1c): In function
`__libc_csu_init ':
: undefined reference to `__init_array_end'
/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x22): In function
`__libc_csu_init ':
: undefined reference to `__init_array_start'
/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x68): In function
`__libc_csu_fini ':
: undefined reference to `__fini_array_end'
/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x6e): In function
`__libc_csu_fini ':
: undefined reference to `__fini_array_start'
/usr/bin/ld: conftest: hidden symbol `__fini_array_end' isn't defined
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
configure:4997: $? = 1
am i missing something, or is it a problem of autoconf?
thanks ... tim
--
mailto:address@hidden ICQ: 96771783
http://www.mokabar.tk
latest mp3: kMW.mp3
http://mattin.org/mp3.html
latest cd: Goh Lee Kwang & Tim Blechmann: Drone
http://www.geocities.com/gohleekwangtimblechmannduo/
After one look at this planet any visitor from outer space
would say "I want to see the manager."
William S. Burroughs
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- checking for sin in -lm fails,
Tim Blechmann <=