ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 1014] unable to build due to missing packet-per.h

Date: Mon, 7 Aug 2006 21:52:11 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1014


markdrago@xxxxxxxx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markdrago@xxxxxxxx




------- Comment #2 from markdrago@xxxxxxxx  2006-08-07 21:52 GMT -------
I'm pretty sure that the original filer of this bug is having the same problem
that I am.  Here are gcc's complaints:

source='packet-h223.c' object='packet-h223.lo' libtool=yes \
DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp \
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../.. -I../.. -I/usr/include  -I/usr/local/include  -DINET6
-D_U_="__attribute__((unused))" -Wall -Wpointer-arith -W  -g -O2
-I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -c
-o packet-h223.lo packet-h223.c
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/usr/include
-I/usr/local/include -DINET6 "-D_U_=__attribute__((unused))" -Wall
-Wpointer-arith -W -g -O2 -I/usr/local/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -c packet-h223.c -Wp,-MD,.deps/packet-h223.TPlo 
-fPIC -DPIC -o .libs/packet-h223.o
In file included from packet-h223.c:43:
packet-h245-template.h:116: packet-per.h: No such file or directory
make[3]: *** [packet-h223.lo] Error 1
make[3]: Leaving directory
`/usr/src/packages/BUILD/wireshark-0.99.2/wireshark-0.99.2/plugins/h223'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/usr/src/packages/BUILD/wireshark-0.99.2/wireshark-0.99.2/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/src/packages/BUILD/wireshark-0.99.2/wireshark-0.99.2'
make: *** [all] Error 2

I'm building this on an old version of SuSE (7.1) with many updated packages,
but gcc is still version 2.95.2.  I will attach the patch that I applied to the
released tarball of wireshark-0.99.2 to make it compile for me.  The file that
I patched though appears to be generated by some other tool.  At first I only
patched the source file (asn1/h245/packet-h245-template.h) thinking that the
generated file was created at build time, but I was mistaken.  The generated
file (epan/dissectors/packet-h245.h) already exists in the tarball and in fact
already exists in subversion, so I just patched the generated file.


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.