There's plenty of other folks using pre1 under Solaris just fine - 8 and 9.
You're probably missing a .h file...

That code is this:

      } else if((ehdr.ether_dhost[0] == 0x01)    && (ehdr.ether_dhost[1] ==
0x00)
                && (ehdr.ether_dhost[2] == 0x0C) && (ehdr.ether_dhost[3] ==
0x00)
                && (ehdr.ether_dhost[4] == 0x00) && (ehdr.ether_dhost[5] ==
0x00)) {

which is defined

  struct ether_header ehdr;

Which is defined in linux in /usr/include/net/ethernet.h.

Probably need to chase down the equivalent Solaris definition and see why
it's not being included.

-----Burton


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> Of Leonardo Valcamonici
> Sent: Thursday, March 11, 2004 11:58 AM
> To: [EMAIL PROTECTED]
> Subject: [Ntop-dev] ntop3.0-pre02 Solaris 9 build problems
>
>
> Hi all.
> ntop3.0-pre02 doesn't build on Solaris 9 (SPARC). Here is what I get.
> Cheers,
> Leonardo
> -------------------------------
>
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/local/ssl/include
> -I/root/data/ntop-C
> VS-11.3.2004/ntop/myrrd -DSOLARIS -I/usr/local/include
> -I/opt/sfw/include -I/usr
> /local/include -I/usr/local/ssl/include
> -I/root/data/ntop-CVS-11.3.2004/ntop/myr
> rd -g -O2 -I/usr/local/include -Wshadow -Wpointer-arith
> -Wmissing-prototypes -Wm
> issing-declarations -Wnested-externs -fPIC -g -O2 -I/usr/local/include
> -Wshadow
> -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
> -Wnested-externs -fP
> IC -c pbuf.c -MT pbuf.lo -MD -MP -MF .deps/pbuf.TPlo  -fPIC -DPIC -o
> .libs/pbuf.
> lo
> pbuf.c: In function `processPacket':
> pbuf.c:2664: error: subscripted value is neither array nor pointer
> pbuf.c:2664: error: subscripted value is neither array nor pointer
> pbuf.c:2665: error: subscripted value is neither array nor pointer
> pbuf.c:2665: error: subscripted value is neither array nor pointer
> pbuf.c:2666: error: subscripted value is neither array nor pointer
> pbuf.c:2666: error: subscripted value is neither array nor pointer
> make[2]: *** [pbuf.lo] Error 1
> make[2]: Leaving directory `/data/ntop-CVS-11.3.2004/ntop'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/data/ntop-CVS-11.3.2004/ntop
>
> --
> +======================================================================+
> | Leonardo Valcamonici                                                 |
> |                                                                      |
> | CASPUR                                                               |
> | Italian Interuniversities Consortium for Supercomputing Applications |
> | Via dei Tizii, 6b - 00185 Rome (Italy)                               |
> +======================================================================+
> | e-mail: [EMAIL PROTECTED]               voice : +39-6-44486311 |
> | mobile: +39-335-1444455                       fax   : +39-6-4957083  |
> +======================================================================+
>
> _______________________________________________
> Ntop-dev mailing list
> [EMAIL PROTECTED]
> http://listgateway.unipi.it/mailman/listinfo/ntop-dev
>

_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to