Hello. I have encountered several similar problems too, when installing the build environment.
1.) Your problem with the linker might result from the cygwin installation. It comes with it's own link.exe that does not really understand the windows
Nmake file. Rename link.exe to link.exe.bak or put the path to the Visual C++ bins before the path to the cygwin bins in your %PATH% variable. This should solve this problem.
2.) Of course you cannot find a /usr/bin directory as you work on windows. If you build under cygwin you will find that /usr/bin points to the bin directory of cygwin. This is the same thing as above. So just change it.
3.) Trying to build a sub directory on ist own isn't a very good idea, except in case you are a professional on ethereal. There are a lot of dependencies between the makefiles on different levels of the hierarchy. It is a good thing just to compile from the top makefile. After the first run has been made, the following ones only update changed files and link all together. This does not take too much time then and surely works.
Mit freundlichen Grüßen / Sincerely yours,
Alexander Großert
Bachelor of Engineering
Siemens AG
Power Transmission and Distribution
Energy Automation, PTD EA D TC 11
Wernerwerkdamm 5, 13629 Berlin
Germany
eMail alexander.grossert@xxxxxxxxxxx
-----Ursprüngliche Nachricht-----
Von: ethereal-dev-bounces@xxxxxxxxxxxx [mailto:ethereal-dev-bounces@xxxxxxxxxxxx] Im Auftrag von ? ??
Gesendet: Freitag, 24. März 2006 01:36
An: ethereal-dev@xxxxxxxxxxxx
Betreff: [Ethereal-dev] help about compiling ethereal in windows
I am compiling ethereal in windows using nmake,and I have encountered some
serious problem.This is the discription of the problem:
1.
link :invalid option -- e .
but I can't find where the option -- e is in ethereal.
2.
/usr/bin/link :extra operand 'about_dlg.obj'
Thy '/usr/bin/link --help ' for more information.
but I can't find the directory /usr/bin/.
3.
when I compile /epan/dissectors separately,I encoutered a problem like
this:
packet_nbap.obj: fatal error LNK 1136: invalid or corrupt file.
Thanks for your help as soon as possible.
_________________________________________________________________
享用世界上最大的电子邮件系统— MSN Hotmail。 http://www.hotmail.com
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev