Ethereal-dev: [Ethereal-dev] warning: implicit declaration of function

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

From: Frank Singleton <frank.singleton@xxxxxxxxxxxx>
Date: Thu, 12 Jul 2001 10:06:01 -0500
Hi ,

FYI, when I run ./autogen.sh and make on
say the 2001-07-9 tarball, I have found a few more of
these "missing header" warnings.

Not sure if this relates to my earlier problem, but
here thay are anyway.


Also, I run rh7.1 with all the rpms updated from
rh7.1 errata

[frank@cray ethereal-2001-07-09]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85)
[frank@cray ethereal-2001-07-09]$ uname -a
Linux cray.laptop 2.4.3-12 #1 Fri Jun 8 15:05:56 EDT 2001 i686 unknown



gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../.. -I./..    -Wall -g -O2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -c ftype-string.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../.. -I./..    -Wall -g -O2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -c ftype-time.c
ftype-time.c: In function `time_fvalue_set':
ftype-time.c:231: warning: implicit declaration of function `memcpy'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../.. -I./..    -Wall -g -O2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -c ftype-tvbuff.c
rm -f libftypes.a
ar cru libftypes.a ftypes.o ftype-bytes.o ftype-double.o ftype-integer.o
ftype-ipv4.o ftype-none.o ftype-string.o ftype-time.o ftype-tvbuff.o 
ranlib libftypes.a
make[4]: Leaving directory `/home/frank/ethereal-2001-07-09/epan/ftypes'
Making all in dfilter
make[4]: Entering directory
`/home/frank/ethereal-2001-07-09/epan/dfilter'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../.. -I./..
-I./../../tools/lemon    -Wall -g -O2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -c dfilter.c
dfilter.c: In function `g_strcmp':
dfilter.c:195: warning: implicit declaration of function `strcmp'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../.. -I./.. -I./../../tools/lemon  



gcc -DHAVE_CONFIG_H -I. -I. -I..   -I.. -I../wiretap -I../epan
-I/usr/local/include -I/usr/include/pcap  -Wall -W -Wno-unused -g -O2
-I.. -I../wiretap -I../epan -I/usr/local/include -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-I/usr/include/pcap -c proto_draw.c
proto_draw.c: In function `find_notebook_page':
proto_draw.c:130: warning: implicit declaration of function `strcmp'

-- 
EUS/SV/Z Frank Singleton      ASO Americas BSS
Office : +1 972 583 3251      ECN 800 33251  
Mobile : +1 214 228 0874      Amateur Radio: VK3FCS/KM5WS   
Email : frank.singleton@xxxxxxxxxxxx

Hardware: HP Omnibook 4150 running Redhat Linux 7.1 (2.4.3-12 kernel).