While attempting to build a Wireshark .rpm on a Red Hat Enterprise Linux system (Taroon, update 8), I ran into 2 problems:
1) epan/crypt/Makefile.common does not get copied to packaging/rpm/BUILD/wireshark-0.99.5/epan/crypt/. To quickly circumvent that problem, I manually copied the file once the directory was created. A hack, I know, but good enough for now ... except I also ran into this next problem, which I don't know how to remedy: 2) Ran into an "undefined reference" problem. Here's the relevant output: gcc -DINET6 "-D_U_=__attribute__((unused))" -Wall -Wpointer-arith -W -O2 -g -pipe -march=i386 -mcpu=i686 -I/usr/local/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/rpm -DINET6 -O2 -g -pipe -march=i386 -mcpu=i686 -Dlinux -I/usr/include/rpm -I. -I/usr/include/net-snmp -I/usr/kerberos/include -o .libs/wireshark capture-pcap-util-unix.o capture_errs.o capture-pcap-util.o capture_stop_conditions.o capture_ui_utils.o cfile.o clopts_common.o conditions.o disabled_protos.o packet-range.o print.o ps.o pcapio.o ringbuffer.o timestats.o util.o version_info.o airpcap_loader.o alert_box.o capture.o capture_info.o capture_opts.o capture_sync.o color_filters.o file.o fileset.o filters.o g711.o merge.o proto_hier_stats.o sync_pipe_write.o summary.o tempfile.o ..libs/wiresharkS.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic -L/usr/local/lib -L/usr/lib gtk/libui.a codecs/libcodec.a wiretap/.libs/libwiretap.so epan/.libs/libwireshark.so -L/usr/kerberos/lib /usr/lib/libnetsnmp.so -lelf -lcrypto -lpcap -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lkrb5 -lk5crypto -lcom_err -lz /usr/bin/ld: warning: libcom_err.so.3, needed by /usr/lib/libcrypto.so, may conflict with libcom_err.so.2 gtk/libui.a(ssl-dlg.o)(.text+0x1f3e): In function `follow_find_button_cb': /home/username/wireshark-0.99.5/packaging/rpm/BUILD/wireshark-0.99.5/gtk /ssl-dlg.c:861: undefined reference to `gtk_text_buffer_select_range' gtk/libui.a(follow_dlg.o)(.text+0x2431): In function `follow_find_button_cb': /home/username/wireshark-0.99.5/packaging/rpm/BUILD/wireshark-0.99.5/gtk /follow_dlg.c:991: undefined reference to `gtk_text_buffer_select_range' collect2: ld returned 1 exit status make[3]: *** [wireshark] Error 1 I have successfully built 0.99.5 rpm's for systems running Fedora Core 4 and Fedora Core 6, so I'm not sure why the Makefile.common isn't getting copied or the "undefined reference" is happening on this system. Does anyone have any ideas? Thanks in advance, Chris Maynard ----------------------------------------- This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, retention, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. Also, email is susceptible to data corruption, interception, tampering, unauthorized amendment and viruses. We only send and receive emails on the basis that we are not liable for any such corruption, interception, tampering, amendment or viruses or any consequence thereof. _______________________________________________ Wireshark-dev mailing list Wireshark-dev@wireshark.org http://www.wireshark.org/mailman/listinfo/wireshark-dev