pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: interix: building graphics/netpbm failures
Aleksey Cheusov wrote:
> libopt results: '
> -L/dev/fs/P/usr/pkgsrc/graphics/netpbm/work/netpbm-10.34/lib -lnetpbm -L/lib
> -lpng12 -L/lib -lz'
> pnmtopng.o(.text+0xf13):pnmtopng.c: undefined reference to
> `_png_get_error_ptr'
> pnmtopng.o(.text+0x2595):pnmtopng.c: undefined reference to
> `_png_set_compression_buffer_size'
> pnmtopng.o(.text+0x25b5):pnmtopng.c: undefined reference to
> `_png_set_compression_level'
> pnmtopng.o(.text+0x25ca):pnmtopng.c: undefined reference to
> `_png_set_compression_mem_level'
> pnmtopng.o(.text+0x25df):pnmtopng.c: undefined reference to
> `_png_set_compression_strategy'
> pnmtopng.o(.text+0x25f4):pnmtopng.c: undefined reference to
> `_png_set_compression_window_bits'
> pnmtopng.o(.text+0x2609):pnmtopng.c: undefined reference to
> `_png_set_compression_method'
> pnmtopn
> ...
>
> Full log is here
> http://home.duh.org/interix-pkgstat/20061127.1158/graphics/netpbm/.broken.html
>
> Xxxx/libopt returns ... -lpng12 ...
>
> Changing '-lpng12' with '-static -png12 -dynamic' fixes the problem,
> but I don't understand why. Can anybody help and/or suggest/commit "right"
> fix?
Do you only have a static libz i.e. /lib/libz.a?
--
Christian
Home |
Main Index |
Thread Index |
Old Index