Hm... http.c:2: parse error before `-=' ... Sounds like your download was
corrupted.  I just checked and the http.c in the cvs looks fine:

/*

* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
 *                          http://www.ntop.org
 *
 * Copyright (C) 1998-2002 Luca Deri <[EMAIL PROTECTED]>
 *

* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software Foundation,
 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */

#include "ntop.h"
#include "globals-report.h"



-----Burton


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Pietro Bandera
Sent: Tuesday, February 04, 2003 3:19 AM
To: [EMAIL PROTECTED]
Subject: [Ntop] cvs compile error


compiling the last cvs i got this error



hi allted-externs -fPIC -c http.c -MT http.lo -MD -MP -MF
.deps/http.TPlo  -fPIC -DPIC -o .libs/http.lo
http.c:2: parse error before `-='
In file included from /usr/include/bits/types.h:143,
                 from /usr/include/stdio.h:36,
                 from ntop.h:112,
                 from http.c:24:
/usr/include/bits/pthreadtypes.h:48: parse error before `size_t'
/usr/include/bits/pthreadtypes.h:48: warning: no semicolon at end of
struct or union
/usr/include/bits/pthreadtypes.h:51: parse error before `__stacksize'
/usr/include/bits/pthreadtypes.h:51: warning: data definition has no
type or storage class
/usr/include/bits/pthreadtypes.h:52: warning: data definition has no
type or storage class
In file included from /usr/include/_G_config.h:44,
                 from /usr/include/libio.h:32,
                 from /usr/include/stdio.h:65,
                 from ntop.h:112,
                 from http.c:24:
/usr/include/gconv.h:72: parse error before `size_t'
/usr/include/gconv.h:85: parse error before `size_t'
/usr/include/gconv.h:94: parse error before `size_t'
/usr/include/gconv.h:170: parse error before `size_t'
/usr/include/gconv.h:170: warning: no semicolon at end of struct or
union
/usr/include/gconv.h:173: parse error before `}'
/usr/include/gconv.h:173: warning: data definition has no type or
storage class
In file included from /usr/include/libio.h:32,
                 from /usr/include/stdio.h:65,
                 from ntop.h:112,
                 from http.c:24:
/usr/include/_G_config.h:47: field `__cd' has incomplete type
/usr/include/_G_config.h:50: field `__cd' has incomplete type
/usr/include/_G_config.h:53: confused by earlier errors, bailing out
make[2]: *** [http.lo] Error 1


i compile it on a ppc with 2.96 gcc
Ciao

--
Pietro Bandera <[EMAIL PROTECTED]>
Lan Systems

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

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

Reply via email to