Hi!
I just download lzlib-1.5, untar it and try to install:
address@hidden:/root/lzlib-1.5> ./configure
creating config.status
creating Makefile
VPATH = .
prefix = /usr/local
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
datarootdir = $(prefix)/share
includedir = $(prefix)/include
infodir = $(datarootdir)/info
libdir = $(exec_prefix)/lib
mandir = $(datarootdir)/man
CC = gcc
CPPFLAGS =
CFLAGS = -Wall -W -O2
LDFLAGS =
OK. Now you can run make.
Configure successfull, try to make:
address@hidden:/root/lzlib-1.5> make
gcc -Wall -W -O2 -c -o carg_parser.o carg_parser.c
gcc -Wall -W -O2 -DPROGVERSION=\"1.5\" -c -o main.o main.c
gcc -Wall -W -O2 -c -o lzlib.o lzlib.c
ar -rcs liblz.a
gcc -o minilzip carg_parser.o main.o liblz.a
ld: warning: file liblz.a ignored: unable to locate archive symbol table
Undefined first referenced
symbol in file
LZ_max_dictionary_size main.o
LZ_max_dictionary_bits main.o
LZ_compress_total_in_size main.o
LZ_compress_open main.o
LZ_compress_read main.o
LZ_decompress_close main.o
LZ_decompress_errno main.o
LZ_decompress_write main.o
LZ_decompress_finish main.o
LZ_compress_restart_member main.o
LZ_decompress_member_position main.o
LZ_compress_total_out_size main.o
LZ_decompress_dictionary_size main.o
LZ_compress_finish main.o
LZ_compress_member_finished main.o
LZ_decompress_open main.o
LZ_decompress_read main.o
LZ_min_dictionary_bits main.o
LZ_min_dictionary_size main.o
LZ_decompress_total_in_size main.o
LZ_compress_finished main.o
LZ_compress_write_size main.o
LZ_decompress_data_crc main.o
LZ_max_match_len_limit main.o
LZ_strerror main.o
LZ_compress_member_position main.o
LZ_version main.o
LZ_decompress_member_finished main.o
LZ_decompress_write_size main.o
LZ_decompress_finished main.o
LZ_decompress_data_position main.o
LZ_min_match_len_limit main.o
LZ_compress_errno main.o
LZ_compress_close main.o
LZ_compress_write main.o
ld: fatal: symbol referencing errors. No output written to minilzip
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `minilzip'
address@hidden:/root/lzlib-1.5>
my system is:
address@hidden:/root/lzlib-1.5> uname -a
SunOS pdc-m4000 5.10 Generic_147440-19 sun4u sparc SUNW,SPARC-Enterprise
Can you help me to install this lib?