Freebsd port: ppmtoTbmp-1.1

Martin Gumucio martin.gumucio.3165 at
Sun Jan 18 06:15:15 PST 2004

Its broken.

bash# cd /usr/ports/palm/ppmtoTbmp/
bash# make
>> ppmtoTbmp-1.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
>> Attempting to fetch from
Receiving ppmtoTbmp-1.1.tar.gz (31230 bytes): 100%
31230 bytes transferred in 1.0 seconds (30.20 kBps)
===>  Extracting for ppmtoTbmp-1.1
>> Checksum OK for ppmtoTbmp-1.1.tar.gz.
===>  Patching for ppmtoTbmp-1.1
===>  Applying FreeBSD patches for ppmtoTbmp-1.1
===>   ppmtoTbmp-1.1 depends on shared library: netpbm.1 - found
===>  Configuring for ppmtoTbmp-1.1
===>  Building for ppmtoTbmp-1.1
cc -O -pipe   -I/usr/local/include  ppmtoTbmp.c -L/usr/local/lib
-lnetpbm -o ppmtoTbmp
ppmtoTbmp.c: In function `colcompare':
ppmtoTbmp.c:12: syntax error before `ch1'
ppmtoTbmp.c:15: `ch1' undeclared (first use in this function)
ppmtoTbmp.c:15: (Each undeclared identifier is reported only once
ppmtoTbmp.c:15: for each function it appears in.)
ppmtoTbmp.c:15: `ch2' undeclared (first use in this function)
ppmtoTbmp.c: In function `main':
ppmtoTbmp.c:26: syntax error before `chv'
ppmtoTbmp.c:54: `chv' undeclared (first use in this function)
ppmtoTbmp.c:55: `colorhist_vector' undeclared (first use in this 
ppmtoTbmp.c:55: syntax error before `0'
ppmtoTbmp.c: At top level:
ppmtoTbmp.c:61: syntax error before `('
ppmtoTbmp.c:61: `chv' used prior to declaration
ppmtoTbmp.c:61: syntax error before `sizeof'
ppmtoTbmp.c:62: syntax error before string constant
ppmtoTbmp.c:62: conflicting types for `pm_message'
/usr/local/include/pm.h:128: previous declaration of `pm_message'
ppmtoTbmp.c:62: warning: data definition has no type or storage c
ppmtoTbmp.c:65: syntax error before `void'
*** Error code 1

Stop in /usr/ports/palm/ppmtoTbmp/work/ppmtoTbmp-1.1.
*** Error code 1

Stop in /usr/ports/palm/ppmtoTbmp.

my uname -a is 
FreeBSD 4.9-STABLE FreeBSD 4.9-STABLE #5: Thu Dec  4
13:56:19 CET 2003    
martin at  i386

// Martin Gumucio

More information about the freebsd-ports mailing list