Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-users: RE: [Ethereal-users] Error making 0.9.6 on Solaris 2.6

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Morgan, Chip E." <Chip.Morgan@xxxxxxxxxx>
Date: Tue, 27 Aug 2002 13:43:33 -0400
Here's the make output. I don't have a linker path (or maybe I just showed
how ignorant I am...). How do I check that?

 make
make  all-recursive
Making all in tools
Making all in lemon
source='lemon.c' object='lemon.o' libtool=no \
depfile='.deps/lemon.Po' tmpdepfile='.deps/lemon.TPo' \
depmode=gcc /bin/ksh ../../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../..    -I../.. -I../../wiretap
-I/usr/local/include  -D_U_="__attribute__((unused))" -Wall -W -g -O2
-Wno-return-type -DFUNCPROTO=15 -I../.. -I../../wiretap -I/usr/local/include
-I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2
-I/usr/local/lib/glib/include -I/usr/openwin/include -c `test -f lemon.c ||
echo './'`lemon.c
/bin/ksh ../../libtool --mode=link gcc  -D_U_="__attribute__((unused))"
-Wall -W -g -O2 -Wno-return-type -DFUNCPROTO=15 -I../.. -I../../wiretap
-I/usr/local/include -I/usr/local/include/gtk-1.2
-I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include
-I/usr/openwin/include   -L/usr/local/lib -R/usr/local/lib -o lemon  lemon.o
-lz
mkdir .libs
gcc "-D_U_=__attribute__((unused))" -Wall -W -g -O2 -Wno-return-type
-DFUNCPROTO=15 -I../.. -I../../wiretap -I/usr/local/include
-I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2
-I/usr/local/lib/glib/include -I/usr/openwin/include -o lemon lemon.o
-L/usr/local/lib -lz -R/usr/local/lib
Making all in wiretap
make  all-am
source='ascend-grammar.c' object='ascend-grammar.o' libtool=no \
depfile='.deps/ascend-grammar.Po' tmpdepfile='.deps/ascend-grammar.TPo' \
depmode=gcc /bin/ksh ./../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.    -I/usr/local/include -I/usr/local/include
-D_U_="__attribute__((unused))" -Wall -W -g -O2 -I/usr/local/include
-I/usr/local/include -c `test -f ascend-grammar.c || echo
'./'`ascend-grammar.c
In file included from ascend-grammar.y:113:
wtap-int.h:30: glib.h: No such file or directory
In file included from wtap-int.h:41,
                 from ascend-grammar.y:113:
wtap.h:34: glib.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `ascend-grammar.o'
Current working directory /Appsmstr/ethereal-0.9.6/wiretap
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /Appsmstr/ethereal-0.9.6/wiretap
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /Appsmstr/ethereal-0.9.6
*** Error code 1
make: Fatal error: Command failed for target `all'

-----Original Message-----
From: Joerg Mayer [mailto:jmayer@xxxxxxxxx]
Sent: Tuesday, August 27, 2002 1:22 PM
To: Morgan, Chip E.
Cc: 'Joerg Mayer'; 'ethereal-users@xxxxxxxxxxxx'
Subject: Re: [Ethereal-users] Error making 0.9.6 on Solaris 2.6


Just a short question: What happens, when you run make after the
configure has completed? (just ignore the errors, because makefiles
are created, maybe they even work, although I'm a bit pessimistic
about wiretap and epan).
Another question is, whether you have one of libglib or libgmodules
installed in several places in your linker path.

 Ciao
     Jörg

> checking for GLIB - version >= 1.1.0... no
> *** Could not run GLIB test program, checking why...
> *** The test program compiled, but did not run. This usually means
...
> configure:7787: checking for glib-config
> configure:7805: found /usr/local/bin/glib-config
> configure:7818: result: /usr/local/bin/glib-config
> configure:7826: checking for GLIB - version >= 1.1.0
> configure:7927: gcc -o conftest -D_U_="__attribute__((unused))" -Wall -W
-g
> -O2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include
conftest.c
> -L/usr/local/lib -lgmodule -lglib -ldl  >&5
> configure: In function `main':
> configure:7897: warning: comparison between signed and unsigned
> configure:7898: warning: comparison between signed and unsigned
> configure:7898: warning: comparison between signed and unsigned
> configure:7899: warning: comparison between signed and unsigned
> configure:7899: warning: comparison between signed and unsigned
> configure:7899: warning: comparison between signed and unsigned
> configure:7930: $? = 0
> configure:7932: ./conftest
> ld.so.1: ./conftest: fatal: libgmodule-1.2.so.0: open failed: No such file
> or directory
> ./configure[7933]: 14345 Killed
> configure:7935: $? = 137
> configure: program exited with status 137
> configure: failed program was:
> #line 7849 "configure"
> #include "confdefs.h"
...
> configure:7956: result: no
> configure:7992: gcc -o conftest -D_U_="__attribute__((unused))" -Wall -W
-g
> -O2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include
conftest.c
> -L/usr/local/lib -lgmodule -lglib -ldl >&5
> configure:7995: $? = 0
> configure:7998: test -s conftest
> configure:8001: $? = 0