Ethereal-users: [Ethereal-users] Building on HP-UX 10.20: snprintf problems.
Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.
From: "Jefferson F. Moreira" <jeffo1@xxxxxxxxxxxx>
Date: Wed, 14 Nov 2001 09:35:35 -0300
Hi. I´ve been trying to build ethereal on an HP-UX 10.20 for over a month, unsuccesfully. Many, many problems with libs and so on, but, fortunately, I´ve been able to "make it work" by finding paths, recompiling libraries and so on. GTK works perfect on the system. All tests were done. I believe all other libs also work well. I´d like to know what exactly is that error and HOW CAN I FIX IT.....if possible. Please, detail at the user level, since I know a bit of C programming, but not much... :) The last error I´ve been gettin is: /opt/gcc/bin/gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/snmp/include - I/opt/libpcap/include -I/opt/zlib/include -I. -I./wiretap -I./epan - Wall -W -Wno-unused -g -O2 -I. -I./wiretap -I./epan - I/opt/gtk+/include/gtk-1.2 -I/opt/glib/include - I/opt/glib/include/glib-1.2 -I/opt/glib/lib/glib/include - I/opt/gettext/include -I/usr/include/X11R6 -c snprintf.c In file included from snprintf.c:55: snprintf-imp.h:118: redefinition of `struct DATA' snprintf.c:433: parse error before "va_list" snprintf.c: In function `vsnprintf': snprintf.c:441: `length' undeclared (first use in this function) snprintf.c:441: (Each undeclared identifier is reported only once snprintf.c:441: for each function it appears in.) snprintf.c:442: `string' undeclared (first use in this function) snprintf.c:443: `format' undeclared (first use in this function) snprintf.c:462: warning: implicit declaration of function `va_arg' snprintf.c:462: `args' undeclared (first use in this function) snprintf.c:462: parse error before "int" snprintf.c:462: warning: empty body in an if-statement snprintf.c:462: parse error before "int" snprintf.c:462: warning: empty body in an if-statement snprintf.c:463: parse error before "double" snprintf.c:469: parse error before "int" snprintf.c:469: warning: empty body in an if-statement snprintf.c:469: parse error before "int" snprintf.c:469: warning: empty body in an if-statement snprintf.c:471: parse error before "double" snprintf.c:486: parse error before "int" snprintf.c:486: warning: empty body in an if-statement snprintf.c:486: parse error before "int" snprintf.c:486: warning: empty body in an if-statement snprintf.c:487: parse error before "double" snprintf.c:492: parse error before "int" snprintf.c:492: warning: empty body in an if-statement snprintf.c:492: parse error before "int" snprintf.c:492: warning: empty body in an if-statement snprintf.c:494: parse error before "unsigned" snprintf.c:493: warning: empty body in an if-statement snprintf.c:502: parse error before "int" snprintf.c:502: warning: empty body in an if-statement snprintf.c:502: parse error before "int" snprintf.c:502: warning: empty body in an if-statement snprintf.c:504: parse error before "long" snprintf.c:503: warning: empty body in an if-statement snprintf.c:511: parse error before "int" snprintf.c:511: warning: empty body in an if-statement snprintf.c:511: parse error before "int" snprintf.c:511: warning: empty body in an if-statement snprintf.c:513: parse error before "unsigned" snprintf.c:512: warning: empty body in an if-statement snprintf.c:521: parse error before "int" snprintf.c:521: warning: empty body in an if-statement snprintf.c:521: parse error before "int" snprintf.c:521: warning: empty body in an if-statement snprintf.c:523: parse error before "unsigned" snprintf.c:522: warning: empty body in an if-statement snprintf.c:530: parse error before "int" snprintf.c:535: parse error before "int" snprintf.c:535: warning: empty body in an if-statement snprintf.c:535: parse error before "int" snprintf.c:535: warning: empty body in an if-statement snprintf.c:536: parse error before "char" snprintf.c:540: parse error before "int" snprintf.c: In function `snprintf': snprintf.c:586: `va_list' undeclared (first use in this function) snprintf.c:586: parse error before "args" snprintf.c:589: `args' undeclared (first use in this function) snprintf.c:596: warning: implicit declaration of function `va_end' make[2]: *** [snprintf.o] Error 1 make[2]: Leaving directory `/tmp/ethereal/source/ethereal-0.8.20' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/ethereal/source/ethereal-0.8.20' make: *** [all-recursive-am] Error 2 # [ ]s! Jeff.
- Follow-Ups:
- Re: [Ethereal-users] Building on HP-UX 10.20: snprintf problems.
- From: Guy Harris
- Re: [Ethereal-users] Building on HP-UX 10.20: snprintf problems.
- Prev by Date: RE: [Ethereal-users] Others' Traffic.. no HTTP?
- Next by Date: RE: [Ethereal-users] Others' Traffic.. no HTTP?
- Previous by thread: [Ethereal-users] pdf of recent user guide/developer guide
- Next by thread: Re: [Ethereal-users] Building on HP-UX 10.20: snprintf problems.
- Index(es):