Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: SV: [Ethereal-dev] Re: [Ethereal-users] Problems building a GIOP plugin

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

From: "Anders Broman" <a.broman@xxxxxxxxx>
Date: Fri, 28 Oct 2005 21:27:55 +0200
Hi,
I have checked in the changes.
Brg
Anders

-----Ursprungligt meddelande-----
Från: ethereal-dev-bounces@xxxxxxxxxxxx
[mailto:ethereal-dev-bounces@xxxxxxxxxxxx] För W. Borgert
Skickat: den 28 oktober 2005 19:03
Till: Ethereal development
Kopia: Andy.Ling@xxxxxxxxxxx
Ämne: [Ethereal-dev] Re: [Ethereal-users] Problems building a GIOP plugin

Hello developers,

Andy Ling found two problems in my code - thanks!
Could please someone with SVN write access fix it?

1. replace "and" with "&&" in ethereal_gen.py:2103

2. add make_printable_string in libethereal.def

Thanks in advance!

Cheers, WB

Quoting Andy.Ling@xxxxxxxxxxx:
> "W. Borgert" <debacle@xxxxxxxxxx> wrote on 28/10/2005 17:05:13:
> > Quoting Andy.Ling@xxxxxxxxxxx:
> > > First I get code generated by omniidl that looks like :-
> > >
> > >             if (u_octet4_loop_RawData > 0 and tree) {
> >
> > Yes, this is a "confused Python with C" error in ethereal_gen.py:2103.
> > Sorry. Could please one of the people with svn write access fix it?
> >
>
> OK I've found that and fixed it in my copy.
>
> > > The "and" in this causes a syntax error. Adding "#define and &&" to my
> > > .c file fixes this, but then I get a link error :-
> > >
> > > error LNK2001: unresolved external symbol _make_printable_string
> >
> > Hm, this function was "always there", but I had to declare it
> > "extern" in packet-giop.h. The function itself is in packet-giop.c.
> >
>
> I've also found the problem here. One bit of information I forgot
> to mention is I'm compiling under windows. This function is new
> and needs adding to libethereal.def to make it available in the
> libethereal DLL.

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev