Same answer as before - need to figure out what .h is missing.

I don't have Solaris 9, so it's on you.

The 'incomplete type' message is sometimes misleading - ghu knows we use 
incrementTrafficCounter() a lot - it's sometimes issued when gcc finally gives up 
after swallowing a huge load of source thinking it's in a comment or something.

Check back and see if there's a warning about a missing header file.

Otherwise, you're just gonna have to dig.

-----Burton



---------- Original Message ----------------------------------
From: "Cooper F. Nelson" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date:  Mon, 10 Mar 2003 13:50:26 -0800

>Hi Friends,
>
>I ran into the following problem when trying to build the latest snapshot 
>under solaris 9.  Gcc is version 3.2.2.
>
>gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/local/include -I/usr/local/include 
>-I/opt/local/tmp/ntop-current/gdchart0.94c -DSOLARIS -g -O2 -Wshadow 
>-Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs 
>-fPIC -DSOLARIS -g -O2 -Wshadow -Wpointer-arith -Wmissing-prototypes 
>-Wmissing-declarations -Wnested-externs -fPIC -c pbuf.c -MT pbuf.lo -MD -MP 
>-MF .deps/pbuf.TPlo  -fPIC -DPIC -o .libs/pbuf.lo
>pbuf.c: In function `processIpPkt':
>pbuf.c:887: warning: initialization from incompatible pointer type
>pbuf.c: In function `processPacket':
>pbuf.c:2439: dereferencing pointer to incomplete type
>pbuf.c:2439: dereferencing pointer to incomplete type
>pbuf.c:2439: dereferencing pointer to incomplete type
>make[2]: *** [pbuf.lo] Error 1
>make[2]: Leaving directory `/export/igpprt0/local/tmp/ntop-current/ntop'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/export/igpprt0/local/tmp/ntop-current/ntop'
>make: *** [all] Error 2
>
>I've seen these errors before, could anyone give me some pointers how to try 
>and debug them? 
>
>Thanks,
>-Cooper
>
>_______________________________________________
>Ntop-dev mailing list
>[EMAIL PROTECTED]
>http://listgateway.unipi.it/mailman/listinfo/ntop-dev
>


____________________________________________________________
Free 20MB Web Site Hosting and Personalized E-mail Service!
Get It Now At Doteasy.com http://www.doteasy.com/et/
_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to