Subject: pkg/26852: audio/speex not compiling on sparc64
To: None <gnats-bugs@gnats.netbsd.org>
From: None <syn@sceen.net>
List: pkgsrc-bugs
Date: 09/05/2004 08:42:39
>Number: 26852
>Category: pkg
>Synopsis: audio/speex not compiling on sparc64
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Sep 05 06:43:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.6.2_STABLE
>Organization:
Richard Braun
>Environment:
System: NetBSD kenobi 1.6.2_STABLE NetBSD 1.6.2_STABLE (KENOBI) #0: Tue Aug 31 23:05:38 CEST 2004 root@kenobi:/usr/src/sys/arch/sparc64/compile/KENOBI sparc64
Architecture: sparc64
Machine: sparc64
>Description:
/bin/sh ../libtool --mode=link gcc -O -ffixed-g4 -I/usr/pkg/include -L/usr/pk
g/lib -Wl,-R/usr/pkg/lib -o testenc testenc.o libspeex.la
gcc -O -ffixed-g4 -I/pkg_comp/obj/pkgsrc/audio/speex/default/.buildlink/include
-Wl,-R/usr/pkg/lib -o .libs/testenc testenc.o ./.libs/libspeex.so -L/pkg_comp/o
bj/pkgsrc/audio/speex/default/.buildlink/lib -Wl,--rpath -Wl,/usr/pkg/lib
testenc.o: In function `main':
testenc.o(.text+0x3dc): undefined reference to `log10'
./.libs/libspeex.so: undefined reference to `log'
./.libs/libspeex.so: undefined reference to `sqrt'
./.libs/libspeex.so: undefined reference to `floor'
./.libs/libspeex.so: undefined reference to `cos'
./.libs/libspeex.so: undefined reference to `pow'
./.libs/libspeex.so: undefined reference to `exp'
./.libs/libspeex.so: undefined reference to `acos'
There is no -lm anywehre. May that be the problem ? It compiled well on
i386 though...
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: