ports/73964: [ports/graphics/netpbm] fix build error

Sunpoet Po-Chuan Hsieh sunpoet at sunpoet.net
Mon Nov 15 09:50:40 UTC 2004

>Number:         73964
>Category:       ports
>Synopsis:       [ports/graphics/netpbm] fix build error
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 15 09:50:39 GMT 2004
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 6.0-CURRENT i386
System: FreeBSD IRIS.sunpoet.net 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Sat Sep 25 02:08:05 CST 2004 sunpoet at IRIS.sunpoet.net:/usr/obj/usr/src/sys/sunpoet i386

The missing declaration of variable "col" breaks the build of netpbm.

gcc -c -I/usr/ports/works/usr/ports/graphics/netpbm/work/netpbm-10.25/lib -I. -DNDEBUG -O2 -pipe -s -march=pentium4 -fpic -DPIC \
    -o libpbm3.lo libpbm3.c
libpbm3.c: In function `packBitsWithMmxSse':
libpbm3.c:83: error: `col' undeclared (first use in this function)
libpbm3.c:83: error: (Each undeclared identifier is reported only once
libpbm3.c:83: error: for each function it appears in.)
libpbm3.c:86: warning: cast to pointer from integer of different size
gmake[1]: *** [libpbm3.lo] Error 1
gmake[1]: Leaving directory `/usr/ports/works/usr/ports/graphics/netpbm/work/netpbm-10.25/lib'
gmake: *** [lib/all] Error 2
*** Error code 2

Stop in /usr/ports/graphics/netpbm.

% cd /usr/ports/graphics/netpbm
% make




More information about the freebsd-ports-bugs mailing list