pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/30910: archivers/szip solaris 10 x86 gcc
>Number: 30910
>Category: pkg
>Synopsis: archivers/szip solaris 10 x86 gcc
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Aug 04 11:41:00 +0000 2005
>Originator: Gilles Dauphin
>Release: SunOS 5.10 i86pc
>Organization:
ENST
>Environment:
System: SunOS bi.enst.fr 5.10 Generic i86pc
>Description:
archivers/szip missing -lm when linking on solaris10
2005/07/21 14:34:51 58/5500= 1.1% archivers/szip @ i386> Making all in examples
2005/07/21 14:34:51 58/5500= 1.1% archivers/szip @ i386> if gcc
-DHAVE_CONFIG_H -I. -I. -I../src -I../src
-I../test -O -MT burst_szip.o -MD -MP -MF ".deps/burst_szip.Tpo" -c -o
burst_szip.o `test -f 'burst_szi
p.c' || echo './'`burst_szip.c; then mv -f ".deps/burst_szip.Tpo"
".deps/burst_szip.Po"; else rm -f ".deps
/burst_szip.Tpo"; exit 1; fi
2005/07/21 14:34:51 58/5500= 1.1% archivers/szip @ i386> /bin/ksh ../libtool
--mode=link gcc -O -Wl,-R/u
sr/pkg/lib -o burst_szip burst_szip.o ../test/libmcgill.la ../src/libsz.la
2005/07/21 14:34:51 58/5500= 1.1% archivers/szip @ i386> mkdir .libs
2005/07/21 14:34:51 58/5500= 1.1% archivers/szip @ i386> gcc -O
-Wl,-R/usr/pkg/lib -o .libs/burst_szip burs
t_szip.o ../test/.libs/libmcgill.a
-L/usr/pkgsrc/archivers/szip/work/.buildlink/lib ../src/.libs/libsz.so -
R/usr/pkg/lib
2005/07/21 14:34:51 58/5500= 1.1% archivers/szip @ i386> Undefined
first referenced
2005/07/21 14:34:51 58/5500= 1.1% archivers/szip @ i386> symbol
in file
2005/07/21 14:34:51 58/5500= 1.1% archivers/szip @ i386> pow
burst_szip.o
2005/07/21 14:34:51 58/5500= 1.1% archivers/szip @ i386> sin
burst_szip.o
2005/07/21 14:34:51 58/5500= 1.1% archivers/szip @ i386> ld: fatal: Symbol
referencing errors. No output wr
itten to .libs/burst_szip
2005/07/21 14:34:51 58/5500= 1.1% archivers/szip @ i386> collect2: ld returned
1 exit status
2005/07/21 14:34:51 58/5500= 1.1% archivers/szip @ i386> *** Error code 1
2005/07/21 14:34:51 58/5500= 1.1% archivers/szip @ i386>
2005/07/21 14:34:51 58/5500= 1.1% archivers/szip @ i386> Stop.
2005/07/21 14:34:51 58/5500= 1.1% archivers/szip @ i386> bmake: stopped in
/usr/pkgsrc/archivers/szip/work/
szip-2.0/examples
2005/07/21 14:34:51 58/5500= 1.1% archivers/szip @ i386> *** Error code 1
2005/07/21 14:34:51 58/5500= 1.1% archivers/szip @ i386>
2005/07/21 14:34:51 58/5500= 1.1% archivers/szip @ i386> Stop.
2005/07/21 14:34:51 58/5500= 1.1% archivers/szip @ i386> bmake: stopped in
/usr/pkgsrc/archivers/szip/work/
szip-2.0
2005/07/21 14:34:51 58/5500= 1.1% archivers/szip @ i386> *** Error code 1
2005/07/21 14:34:51 58/5500= 1.1% archivers/szip @ i386>
2005/07/21 14:34:51 58/5500= 1.1% archivers/szip @ i386> Stop.
2005/07/21 14:34:51 58/5500= 1.1% archivers/szip @ i386> bmake: stopped in
/usr/pkgsrc/archivers/szip
>How-To-Repeat:
bmake in archivers/szip
>Fix:
<root@u2: 693> pwd
/usr/pkgsrc/archivers/szip
<root@u2: 694> diff -bu Makefile.orig Makefile
--- Makefile.orig Fri Feb 25 04:07:53 2005
+++ Makefile Thu Aug 4 13:33:06 2005
@@ -19,3 +19,7 @@
INSTALLATION_DIRS= include lib
.include "../../mk/bsd.pkg.mk"
+
+.if ${OPSYS} == "SunOS" && ${LOWER_OPSYS} == "solaris"
+LDFLAGS= -lm
+.endif
<root@u2: 695>
Home |
Main Index |
Thread Index |
Old Index