This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

make error Solaris 10 x86

0

I'm trying to compile wireshark 1.8.11 on a solaris 10 x86 system. I have successfully run the ./configure command but when I run make the following errors occur. I do not have a lot of experience with compiling from source code so any help would be great.

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I./../.. -I./.. -DINET6 -DG_
DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_DEPRECATED -DGTK_DI
SABLE_SINGLE_INCLUDES -D_FORTIFY_SOURCE=2 "-D_U_=attribute((unused))" -DFUNC
PROTO=15 -I/usr/local/include -I/usr/local/include -I/usr/include/kerberosv5 -DP
LUGIN_DIR=\"/usr/local/lib/wireshark/plugins/1.8.11\" -g -O2 -Wall -W -Wextra -W
declaration-after-statement -Wendif-labels -Wpointer-arith -Wcast-align -Wformat
-security -Wold-style-definition -Wno-return-type -D_REENTRANT -D_PTHREADS -D_RE
ENTRANT -D_PTHREADS -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/includ
e -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/inclu
de/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/us
r/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include -I/usr
/local/include/libpng12 -I/usr/local/include -MT ftype-double.lo -MD -MP -MF .de
ps/ftype-double.Tpo -c ftype-double.c  -fPIC -DPIC -o .libs/ftype-double.o
In file included from ftype-double.c:29:
/usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/math.h:26:26: iso/math_iso.
h: No such file or directory
In file included from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/math.
h:336,
                 from ftype-double.c:29:
/usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/floatingpoint.h:30:24: sys/
ieeefp.h: No such file or directory
In file included from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/math.
h:336,
                 from ftype-double.c:29:
/usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/floatingpoint.h:104: error:
 field fpclass' has incomplete type
/usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/floatingpoint.h:128: error:
 fieldrd' has incomplete type
ftype-double.c: In function val_from_unparsed':
ftype-double.c:69: error:HUGE_VAL' undeclared (first use in this function)
ftype-double.c:69: error: (Each undeclared identifier is reported only once
ftype-double.c:69: error: for each function it appears in.)
make[3]:  [ftype-double.lo] Error 1
make[3]: Leaving directory /usr01/wireshark-1.8.11/epan/ftypes'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory/usr01/wireshark-1.8.11/epan'
make[1]:  [all-recursive] Error 1
make[1]: Leaving directory `/usr01/wireshark-1.8.11'
make: *** [all] Error 2

asked 20 Nov '13, 08:00

tengood's gravatar image

tengood
11112
accept rate: 0%


One Answer:

0

That seems to be a GCC problem that has been fixed some time ago (2005).

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19933

I guess, your gcc is simply too old (version 3.4.6) !?!. Please try to install a more recent version of gcc. If you don't know how to do that, please ask you local Solaris 10 x86 guru.

Regards
Kurt

answered 20 Nov '13, 08:15

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

edited 20 Nov '13, 17:57

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196