pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/32044: rzip fix for Solaris 10
>Number: 32044
>Category: pkg
>Synopsis: rzip fix for Solaris 10
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 10 19:31:00 +0000 2005
>Originator: Miles Nordin
>Release: Solaris 10
>Organization:
Ivy Ministries
>Environment:
?
Architecture: ?
Machine: ?
>Description:
From: "Courtney R. Spencer" <cspencer%corp.earthlink.net@localhost>
For Solaris 10, and older versions, there is no
asprintf and the build fails.
gcc -O -I/usr/include -o rzip rzip.o runzip.o main.o stream.o util.o crc32.o
-lbz2
Undefined first referenced
symbol in file
asprintf main.o
ld: fatal: Symbol referencing errors. No output written to rzip
collect2: ld returned 1 exit status
>Fix:
I noticed in your pkgsrc Makefile, you include libiberty
for Interix. This works for SunOS as well:
.if ${OPSYS} == "SunOS"
. include "../../devel/libiberty/application.mk" # need asprintf(3)
.endif
That allowed me to build rzip.
Thanks
--
Courtney R. Spencer ||| System Administrator ||| Earthlink Inc.
PGP ID 1024D/61940182 || http://cspencer.home.mindspring.com/pubkey.gpg
Home |
Main Index |
Thread Index |
Old Index