On Mon, Dec 28, 2009 at 14:31, Antonio Diaz Diaz <[email protected]> wrote: > Hello, > > rupert THURNER wrote: >> >> we tried to package lzip for solaris, http://opencsw.org, and get the >> following compile errors: >> >> decoder.cc:27:20: error: stdint.h: No such file or directory > > You can replace "#include <stdint.h>" with "#include <inttypes.h>". Both > headers are C99 provided as extensions in C++, but for some reason solaris > only provides inttypes.h.
is there any chance this could go in the code so we do not have to patch it? > From plzip-0.1/INSTALL: > "You will need a C++ compiler and the lzlib compression library installed. > ... > Lzlib is available at http://www.nongnu.org/lzip/lzlib.html." > > The remaining errors are caused by lzlib not being installed in your system. after patching the include files, linking fails with: rup...@build8s:~/mgar/pkg/lzlib/trunk $ gmake package [===== NOW BUILDING: lzlib-0.8-rc1 =====] [prerequisite] complete for lzlib. [fetch] complete for lzlib. [checksum] complete for lzlib. [checksum-global] complete for lzlib. [checksum-modulated] complete for lzlib. [===== NOW BUILDING: lzlib-0.8-rc1 MODULATION global: ISA= =====] [extract-modulated] complete for lzlib. [===== Building modulation 'isa-sparcv8' on host 'build8s' =====] gmake PLATFORM=solaris8-sparc MODULATION=isa-sparcv8 ISA=sparcv8 merge-modulated gmake[1]: Entering directory `/home/rupert/mgar/pkg/lzlib/trunk' [===== NOW BUILDING: lzlib-0.8-rc1 MODULATION isa-sparcv8: ISA=sparcv8 =====] [extract-modulated] complete for lzlib. [patch-modulated] complete for lzlib. [configure-modulated] complete for lzlib. ==> Running make in work/solaris8-sparc/build-isa-sparcv8/lzlib-0.8-rc1 gmake[2]: Entering directory `/home/rupert/mgar/pkg/lzlib/trunk/work/solaris8-sparc/build-isa-sparcv8/lzlib-0.8-rc1' c++ -shared -Wl,--soname=liblz.so.0 -o liblz.so.0.8-rc1 sh_decoder.o sh_encoder.o sh_lzlib.o /usr/ccs/bin/ld: illegal option -- - ld: warning: option -o appears more than once, first setting taken usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s) _______________________________________________ Lzip-bug mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lzip-bug
