Wireshark-dev: Re: [Wireshark-dev] Naive attempt to dissect.
Hi,
If you could post the packet it might be trivial to fix "proper" decoding.
Regards
Anders
-----Ursprungligt meddelande-----
Från: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] För Jeff Morriss
Skickat: den 7 oktober 2008 19:24
Till: Developer support list for Wireshark
Ämne: Re: [Wireshark-dev] Naive attempt to dissect.
Bruno Hivert wrote:
> Hello,
>
> Im trying some very simple decoding for gsm-map packets. Its very
> simple, because the dissector I need already exists, its just not
> called in the proper context.
>
> If you have a look at the attached diff file, youll understand what Im
> trying to do.
>
> However, I cannot even try this apparently trivial-as-an-API-call
> modification, because it does not compile.
[...]
> epan/.libs/libwireshark.so: undefined reference to `de_bearer_cap'
[...]
> What am I doing wrong, and where can I express the dependency without
> pulling way to many things in ?
The basic problem is that de_bearer_cap() is declared as static in
packet-gsm_a_dtap.c: that means no other module (.c file) can use it.
If you remove the keyword "static" it will at least link. (Of course it
would also be better to have a prototype in a header file, etc.)
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
https://wireshark.org/mailman/listinfo/wireshark-dev