Wireshark-dev: Re: [Wireshark-dev] OMG Still it doesn't compile!
Date: Thu, 2 Nov 2006 09:33:05 -0000
Title: Re: [Wireshark-dev] OMG Still it doesn't compile!
OMG it compiles!!!!
 
Cheers guys, I'll be back later how'd I do this, how'd i do that!


From: [email protected] [mailto:[email protected]] On Behalf Of Anders Broman (AL/EAB)
Sent: 01 November 2006 09:19
To: Developer support list for Wireshark
Subject: SV: [Wireshark-dev] OMG Still it doesn't compile!

Hi,
Downloading net-snmp-5.3.1.zip from:
the C:\wireshark-win32-libs\net-snmp-5.3.1\win32\lib\release\ netsnmp.lib ??????
Brg
Anders



FrÃ¥n: [email protected] genom [email protected]
Skickat: on 2006-11-01 09:49
Till: [email protected]
Ämne: Re: [Wireshark-dev] OMG Still it doesn't compile!

Nope, no joy doing that either, still the same problem with the netsnmp.lib file.

Apart from the ftp on wireshark where else can I get a copy of net-snmp-5.3.1?

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Anders Broman
Sent: 31 October 2006 22:15
To: 'Developer support list for Wireshark'
Subject: Re: [Wireshark-dev] OMG Still it doesn't compile!

Hi,
Thats realy weird. Have you tried to do:

Nmake -f makefile.nmake clean_setup
Nmake -f makefile.nmake setup

Then check:
C:\wireshark-win32-libs\net-snmp-5.3.1\win32\lib\release\
For netsnmp.lib

It's there on my system...

BR
Anders

-----Ursprungligt meddelande-----
FrÃ¥n: [email protected]
[mailto:[email protected]] För [email protected]
Skickat: den 31 oktober 2006 14:48
Till: [email protected]
Ämne: Re: [Wireshark-dev] OMG Still it doesn't compile!

Ok I've started over. This post is a little long, but it shows where I'm at, hopefully it'll give you guys an idea as to what I'm not doing or whats wrong!!!!

All this is from the win32 command line.

Run vcvar32.bat
Nmake -f makefile.nmake distclean
Nmake -f makefile.nmake verify_tools
Nmake -f makefile.nmake setup
Nmake -f makefile.nmake all

And there's a whole load of compiling that goes on forever and a day, I get some compiler warnings (unreferenced locals, things like that), some fatal errors relating to winposixtype.h and netsnmp.h but still it keeps going!

To get past all that I need to move some files locally and then it compiles up to:

LINK : fatal error LNK1181: cannot open input file "C:\wireshark-win32-libs\net-snmp-5.3.1\win32\lib\release\netsnmp.lib"
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3\VC98\BIN\link.exe' :
return code '0x49d'
Stop.
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' :
return code '0x2'
Stop.

Now I don't have  netsnmp.lib, I do have netsnmpagent.lib, which I rename and move locally which solves the immediate problem, but may cause yet to be discovered problems later! At that point I have another error relating to lua5.1 which I solve by renaming the vc6 directory to 'dll'.

BUT...

After this point I now get:

Creating library libwireshark.lib and object libwireshark.exp
dissectors.lib(packet-snmp.obj) : error LNK2001: unresolved external symbol _sprint_realloc_objid
dissectors.lib(packet-snmp.obj) : error LNK2001: unresolved external symbol _sprint_realloc_value
dissectors.lib(packet-snmp.obj) : error LNK2001: unresolved external symbol _netsnmp_ds_set_int
dissectors.lib(packet-snmp.obj) : error LNK2001: unresolved external symbol _netsnmp_ds_set_boolean
dissectors.lib(packet-snmp.obj) : error LNK2001: unresolved external symbol _read_configs
dissectors.lib(packet-snmp.obj) : error LNK2001: unresolved external symbol _init_mib
dissectors.lib(packet-snmp.obj) : error LNK2001: unresolved external symbol _read_premib_configs
dissectors.lib(packet-snmp.obj) : error LNK2001: unresolved external symbol _register_mib_handlers
dissectors.lib(packet-snmp.obj) : error LNK2001: unresolved external symbol _shutdown_mib
dissectors.lib(packet-cops.obj) : error LNK2001: unresolved external symbol _sprint_realloc_by_type
dissectors.lib(packet-cops.obj) : error LNK2001: unresolved external symbol _mib_to_asn_type
dissectors.lib(packet-cops.obj) : error LNK2001: unresolved external symbol _get_tree
dissectors.lib(packet-cops.obj) : error LNK2001: unresolved external symbol _tree_head
lua5.1.lib(lauxlib.obj) : error LNK2001: unresolved external symbol _errno
lua5.1.lib(loslib.obj) : error LNK2001: unresolved external symbol _errno
lua5.1.lib(liolib.obj) : error LNK2001: unresolved external symbol _errno
lua5.1.lib(lobject.obj) : error LNK2001: unresolved external symbol __pctype
lua5.1.lib(llex.obj) : error LNK2001: unresolved external symbol __pctype
lua5.1.lib(lstrlib.obj) : error LNK2001: unresolved external symbol __pctype
lua5.1.lib(lbaselib.obj) : error LNK2001: unresolved external symbol __pctype
lua5.1.lib(lobject.obj) : error LNK2001: unresolved external symbol ___mb_cur_max
lua5.1.lib(llex.obj) : error LNK2001: unresolved external symbol ___mb_cur_max
lua5.1.lib(lstrlib.obj) : error LNK2001: unresolved external symbol ___mb_cur_max
lua5.1.lib(lbaselib.obj) : error LNK2001: unresolved external symbol ___mb_cur_max
lua5.1.lib(lmathlib.obj) : error LNK2001: unresolved external symbol __HUGE libwireshark.dll : fatal error LNK1120: 17 unresolved externals NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3\VC98\BIN\link.exe' :
return code '0x460'
Stop.
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' :
return code '0x2'
Stop.

So I figure stop and ask you guys.

I've got to write a dissector when I get this to compile, I hope its nowhere near as much fun!


This email and any files attached are intended for the addressee and may contain information of a confidential nature. If you are not the intended recipient, be aware that this email was sent to you in error and you should not disclose, distribute, print, copy or make other use of this email or its attachments. Such actions, in fact, may be unlawful. In compliance with the various Regulations and Acts, General Dynamics UK Limited reserves the right to monitor (and examine for viruses) all emails and email attachments, both inbound and outbound. Email communications and their attachments may not be secure or error- or virus-free and the company does not accept liability or responsibility for such matters or the consequences thereof. Registered
Office: 100 New Bridge Street, London EC4V 6JA. Registered in England and Wales No: 1911653.
_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev

_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev


This email and any files attached are intended for the addressee and may contain information of a confidential nature. If you are not the intended recipient, be aware that this email was sent to you in error and you should not disclose, distribute, print, copy or make other use of this email or its attachments. Such actions, in fact, may be unlawful. In compliance with the various Regulations and Acts, General Dynamics UK Limited reserves the right to monitor (and examine for viruses) all emails and email attachments, both inbound and outbound. Email communications and their attachments may not be secure or error- or virus-free and the company does not accept liability or responsibility for such matters or the consequences thereof. Registered Office: 100 New Bridge Street, London EC4V 6JA. Registered in England and Wales No: 1911653.
_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev


This email and any files attached are intended for the addressee and may contain information of a confidential nature. If you are not the intended recipient, be aware that this email was sent to you in error and you should not disclose, distribute, print, copy or make other use of this email or its attachments. Such actions, in fact, may be unlawful. In compliance with the various Regulations and Acts, General Dynamics UK Limited reserves the right to monitor (and examine for viruses) all emails and email attachments, both inbound and outbound. Email communications and their attachments may not be secure or error- or virus-free and the company does not accept liability or responsibility for such matters or the consequences thereof. Registered Office: 100 New Bridge Street, London EC4V 6JA. Registered in England and Wales No: 1911653.