Ethereal-dev: Re: [Ethereal-dev] Some error printouts when building from the latest tarballs
Anders Broman (TN/EAB) wrote:
Hi,
When I build from the latest tarballs ( Can't remember when I first got the problem ) I get some compiler warnings ( at the end off the message )
and when I start the .exe file and load a capture I get the following ( Built with MSVC6 on Windows2000 proffessional ).
error opening c:\program files\ethereal\asn1\default.tt, No such file or directo
ry <- Known problem, btw setting the file name to " " doesn't help on this build.
(ethereal-2004-01-14.exe:3184): Gtk-CRITICAL **: file gtkwidget.c: line 1393 (gt <- ?
k_widget_destroy): assertion `widget != NULL' failed
I have done some GTK rework in the last weeks, so maybe I "introduced" this.
It would be very helpful, if you can describe at which operation (open
or closing of a specific dialog, ...) you got this assertion.
Unfortunately, the GTK text isn't very informational for finding the cause.
But the program works.
I get the following compiler warnings ( probably missed a few ).
:
packet-smb.c
packet-smb.c(1125) : warning C4308: negative integral constant converted to unsi
gned type
packet-smb.c(1236) : warning C4308: negative integral constant converted to unsi
gned type
:
:
getopt.c
getopt.c(409) : warning C4013: 'strcmp' undefined; assuming extern returning int
getopt.c(478) : warning C4013: 'strncmp' undefined; assuming extern returning in
t
getopt.c(480) : warning C4013: 'strlen' undefined; assuming extern returning int
pcap-util.c
:
:
That's simply because I have raised the MSVC warning level dramatically
from default 0 to 3 (and removed a *few hundred* warnings since the last
weeks).
This warning level is helpful when writing new code, as the MSVC
compiler will now warn about unused vars and a lot other things.
As a result, the generation now prints some new warnings, where I don't
have a good and simple solution.
Nonetheless, these warnings should be solved, but better by the people
who has written / committed the code earlier.
bash pod2html --title="The Ethereal Network Analyzer
0.10.0" --noindex ethereal.pod > ethereal.htm
l
bash pod2html --title="The Ethereal Network Analyzer
0.10.0" --noindex tethereal.pod > tethereal.h
tml
cd ..
tethereal.exe -G | perl doc\dfilter2pod.pl doc\ethereal-filter.pod.templ
ate > doc\ethereal-filter.pod
cd doc
bash pod2html --title="The Ethereal Network Analyzer
0.10.0" --noindex ethereal-filter.pod > ether
eal-filter.html
bash pod2html --title="The Ethereal Network Analyze
r 0.10.0" --noindex editcap.pod > editcap.html
bash pod2html --title="The Ethereal Network Analyze
r 0.10.0" --noindex idl2eth.pod > idl2eth.html
/usr/bin/pod2html: idl2eth.pod: unterminated list at =head in paragraph 32. ign
oring.
bash pod2html --title="The Ethereal Network Analyze
r 0.10.0" --noindex mergecap.pod > mergecap.ht
ml
/usr/bin/pod2html: mergecap.pod: unterminated list at =head in paragraph 28. ig
noring.
bash pod2html --title="The Ethereal Network Analyze
r 0.10.0" --noindex text2pcap.pod > text2pcap.
html
/usr/bin/pod2html: text2pcap.pod: unterminated list at =head in paragraph 44. i
gnoring.
cd ..
:
I don't know anything of these pod2html warnings, sorry.
Regards, ULFL