On Mon, 24 Sep 2007, Jean-Louis Martineau wrote:

I have:
/usr/include/netinet/in.h: typedef uint16_t in_port_t;

Ah I've found this exists on my Raq-4i also. 8-) Looking at the compiler output again, I might be interpreting the errors incorrectly so I've included the output as an attachment.

Hopefully someone can determine what is currently preventing the build from completing properly and suggest some mods to the code that will overcome the problems.

Craig.

--
Post by Craig Dewick (tm). Web @ "http://lios.apana.org.au/~cdewick";.
Email 2 "[EMAIL PROTECTED]". SunShack @ "http://www.sunshack.org";
Galleries @ "http://www.sunshack.org/gallery2";. Also lots of tech data, etc.
Sun Microsystems webring at "http://n.webring.com/hub?ring=sunmicrosystemsu";.
Making all in gnulib
gmake[1]: Entering directory `/home/root/azwan/amanda-2.5.2p1/gnulib'
gmake  all-am
gmake[2]: Entering directory `/home/root/azwan/amanda-2.5.2p1/gnulib'
gmake[2]: Nothing to be done for `all-am'.
gmake[2]: Leaving directory `/home/root/azwan/amanda-2.5.2p1/gnulib'
gmake[1]: Leaving directory `/home/root/azwan/amanda-2.5.2p1/gnulib'
Making all in config
gmake[1]: Entering directory `/home/root/azwan/amanda-2.5.2p1/config'
gmake  all-am
gmake[2]: Entering directory `/home/root/azwan/amanda-2.5.2p1/config'
gmake[2]: Nothing to be done for `all-am'.
gmake[2]: Leaving directory `/home/root/azwan/amanda-2.5.2p1/config'
gmake[1]: Leaving directory `/home/root/azwan/amanda-2.5.2p1/config'
Making all in common-src
gmake[1]: Entering directory `/home/root/azwan/amanda-2.5.2p1/common-src'
source='bsd-security.c' object='bsd-security.lo' libtool=yes \
DEPDIR=.deps depmode=gcc /bin/sh ../config/depcomp \
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
-I../config -I../gnulib      -Wall -W -Wparentheses -Wmissing-prototypes 
-Wstrict-prototypes -Wmissing-declarations -Wformat -Wsign-compare 
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE      -c -o bsd-security.lo bsd-security.c
 gcc -DHAVE_CONFIG_H -I. -I. -I../config -I../gnulib -Wall -W -Wparentheses 
-Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat 
-Wsign-compare -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -c bsd-security.c 
-Wp,-MD,.deps/bsd-security.TPlo  -fPIC -DPIC -o .libs/bsd-security.o
In file included from bsd-security.c:33:
util.h:45: parse error before `in_port_t'
util.h:46: warning: function declaration isn't a prototype
util.h:47: parse error before `in_port_t'
util.h:48: warning: function declaration isn't a prototype
In file included from bsd-security.c:35:
dgram.h:51: parse error before `in_port_t'
dgram.h:51: warning: function declaration isn't a prototype
In file included from security-util.h:35,
                 from bsd-security.c:39:
stream.h:40: parse error before `*'
stream.h:40: warning: function declaration isn't a prototype
stream.h:43: parse error before `in_port_t'
stream.h:47: warning: function declaration isn't a prototype
stream.h:49: parse error before `in_port_t'
stream.h:53: warning: function declaration isn't a prototype
In file included from bsd-security.c:39:
security-util.h:136: parse error before `in_port_t'
security-util.h:136: warning: no semicolon at end of struct or union
security-util.h:139: parse error before `}'
security-util.h:253: parse error before `in_port_t'
security-util.h:253: warning: function declaration isn't a prototype
bsd-security.c: In function `bsd_connect':
bsd-security.c:132: `in_port_t' undeclared (first use in this function)
bsd-security.c:132: (Each undeclared identifier is reported only once
bsd-security.c:132: for each function it appears in.)
bsd-security.c:132: parse error before `port'
bsd-security.c:223: `port' undeclared (first use in this function)
bsd-security.c:252: parse error before `10080'
bsd-security.c:254: parse error before `ntohs'
bsd-security.c: In function `bsd_stream_server':
bsd-security.c:364: dereferencing pointer to incomplete type
bsd-security.c:365: dereferencing pointer to incomplete type
bsd-security.c:366: dereferencing pointer to incomplete type
bsd-security.c:366: dereferencing pointer to incomplete type
bsd-security.c:368: dereferencing pointer to incomplete type
bsd-security.c:374: dereferencing pointer to incomplete type
bsd-security.c:375: dereferencing pointer to incomplete type
bsd-security.c: In function `bsd_stream_accept':
bsd-security.c:393: dereferencing pointer to incomplete type
bsd-security.c:393: dereferencing pointer to incomplete type
bsd-security.c:394: dereferencing pointer to incomplete type
bsd-security.c:395: dereferencing pointer to incomplete type
bsd-security.c: In function `bsd_stream_client':
bsd-security.c:418: dereferencing pointer to incomplete type
bsd-security.c:419: dereferencing pointer to incomplete type
bsd-security.c:420: dereferencing pointer to incomplete type
bsd-security.c:420: `in_port_t' undeclared (first use in this function)
bsd-security.c:420: parse error before `id'
bsd-security.c:422: dereferencing pointer to incomplete type
bsd-security.c:429: dereferencing pointer to incomplete type
bsd-security.c:430: dereferencing pointer to incomplete type
bsd-security.c: In function `bsd_stream_close':
bsd-security.c:448: dereferencing pointer to incomplete type
bsd-security.c:449: dereferencing pointer to incomplete type
bsd-security.c:449: dereferencing pointer to incomplete type
bsd-security.c:449: dereferencing pointer to incomplete type
bsd-security.c:449: dereferencing pointer to incomplete type
bsd-security.c:449: dereferencing pointer to incomplete type
bsd-security.c:450: dereferencing pointer to incomplete type
bsd-security.c:451: dereferencing pointer to incomplete type
bsd-security.c:451: dereferencing pointer to incomplete type
bsd-security.c:451: dereferencing pointer to incomplete type
bsd-security.c:451: dereferencing pointer to incomplete type
bsd-security.c:451: dereferencing pointer to incomplete type
bsd-security.c: In function `bsd_stream_id':
bsd-security.c:479: dereferencing pointer to incomplete type
bsd-security.c:480: warning: control reaches end of non-void function
bsd-security.c: In function `bsd_stream_read':
bsd-security.c:497: dereferencing pointer to incomplete type
bsd-security.c:498: dereferencing pointer to incomplete type
bsd-security.c:500: dereferencing pointer to incomplete type
bsd-security.c:500: dereferencing pointer to incomplete type
bsd-security.c:501: dereferencing pointer to incomplete type
bsd-security.c:502: dereferencing pointer to incomplete type
bsd-security.c: In function `bsd_stream_read_sync':
bsd-security.c:520: dereferencing pointer to incomplete type
bsd-security.c:523: dereferencing pointer to incomplete type
bsd-security.c:523: dereferencing pointer to incomplete type
bsd-security.c:525: dereferencing pointer to incomplete type
bsd-security.c:526: dereferencing pointer to incomplete type
bsd-security.c:527: dereferencing pointer to incomplete type
bsd-security.c: In function `stream_read_sync_callback':
bsd-security.c:544: dereferencing pointer to incomplete type
bsd-security.c:551: dereferencing pointer to incomplete type
bsd-security.c:551: dereferencing pointer to incomplete type
bsd-security.c:551: dereferencing pointer to incomplete type
bsd-security.c:554: dereferencing pointer to incomplete type
bsd-security.c:555: dereferencing pointer to incomplete type
bsd-security.c: In function `bsd_stream_read_cancel':
bsd-security.c:569: dereferencing pointer to incomplete type
bsd-security.c:570: dereferencing pointer to incomplete type
bsd-security.c:571: dereferencing pointer to incomplete type
bsd-security.c: In function `stream_read_callback':
bsd-security.c:592: dereferencing pointer to incomplete type
bsd-security.c:592: dereferencing pointer to incomplete type
bsd-security.c:592: dereferencing pointer to incomplete type
bsd-security.c:596: dereferencing pointer to incomplete type
bsd-security.c:598: dereferencing pointer to incomplete type
bsd-security.c:598: dereferencing pointer to incomplete type
bsd-security.c:598: dereferencing pointer to incomplete type
gmake[1]: *** [bsd-security.lo] Error 1
gmake[1]: Leaving directory `/home/root/azwan/amanda-2.5.2p1/common-src'
gmake: *** [all-recursive] Error 1

Reply via email to