Hello,
I'm trying some very simple decoding for gsm-map packets. It's very simple, because the dissector I need already exists, it's just not called in the proper context. If you have a look at the attached diff file, you'll understand what I'm trying to do. However, I cannot even try this apparently trivial-as-an-API-call modification, because it does not compile. (cd .libs && gcc -c -fno-builtin -fno-rtti -fno-exceptions "dftestS.c") rm -f .libs/dftestS.c .libs/dftest.nm .libs/dftest.nmS .libs/dftest.nmT gcc -DINET6 "-D_U_=__attribute__((unused))" -g -O2 -Wall -W -Wdeclaration-after-statement -Wpointer-arith -I/usr/local/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/localhome/bruno/apps//include -o .libs/dftest dftest.o util.o .libs/dftestS.o -Wl,--export-dynamic -pthread -L/usr/local/lib wiretap/.libs/libwiretap.so epan/.libs/libwireshark.so -lgmodule-2.0 -ldl -lglib-2.0 -lm -lpcap -lkrb5 -lk5crypto -lcom_err -lresolv -lgcrypt -lgpg-error -lz -Wl,--rpath -Wl,/localhome/bruno/apps//lib epan/.libs/libwireshark.so: undefined reference to `de_bearer_cap' collect2: ld returned 1 exit status make[2]: *** [dftest] Error 1 make[2]: Leaving directory `/localhome/bruno/workspace/wireshark-1.0.2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/localhome/bruno/workspace/wireshark-1.0.2' make: *** [all] Error 2 ~/workspace/wireshark-1.0.2 I tried a few kludge to the build env., like adding a dependency on libcleandissectors.a in the libwireshark.la file, but it did not work. What am I doing wrong, and where can I express the dependency without pulling way to many things in ? Thank you for your help, /Bruno
PLMN_GSM_BC_dissect.diff
Description: Binary data
_______________________________________________ Wireshark-dev mailing list [email protected] https://wireshark.org/mailman/listinfo/wireshark-dev
