[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Building dpkg on sparc



Hello.


I'm trying to build dpkg on a Solaris machine, to be able to look at .deb 
packages at work. But the make stops.

Have anybody successfully done that and have some suggestions?

; uname -a
SunOS juno 5.4 Generic_101945-32 sun4m sparc
; pwd
/[removed]/dpkg-1.4.0.8
; tail -18 make.txt
make[1]: Leaving directory `/home/ms318/md5sum/dpkg-1.4.0.8/lib'
make[1]: Entering directory `/home/ms318/md5sum/dpkg-1.4.0.8/main'
gcc -I../include -I.. -DHAVE_CONFIG_H -O2  -Wall -Wno-implicit -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -g  -c main.c
expand ../archtable | \
         perl -ne 'print "  { \"$1\",$2\"$3\",$4\"$5\" },\n" \
                   if m/^\s*(\w+)(\s+)(\w+)(\s+)(\w+)\s*$/' \
                >archtable.inc.new
mv archtable.inc.new archtable.inc
gcc -I../include -I.. -DHAVE_CONFIG_H -O2  -Wall -Wno-implicit -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -g  -c enquiry.c
enquiry.c: In function `printarch':
enquiry.c:638: `ptrdiff_t' undeclared (first use this function)
enquiry.c:638: (Each undeclared identifier is reported only once
enquiry.c:638: for each function it appears in.)
enquiry.c:638: parse error before `ll'
enquiry.c:665: `ll' undeclared (first use this function)
make[1]: *** [enquiry.o] Error 1
make[1]: Leaving directory `/home/ms318/md5sum/dpkg-1.4.0.8/main'
make: *** [all] Error 2


Great,

							MartinS


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: