This is our old Q&A Site. Please post any new questions and answers at

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_
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.
                 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.
                 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

accept rate: 0%

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

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.


permanent link

answered 20 Nov '13, 08:15

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
accept rate: 15%

edited 20 Nov '13, 17:57

Guy%20Harris's gravatar image

Guy Harris ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 20 Nov '13, 08:00

question was seen: 2,223 times

last updated: 20 Nov '13, 17:57

p​o​w​e​r​e​d by O​S​Q​A