Wireshark-dev: Re: [Wireshark-dev] Build Error in 0.99.4 LNK1181/U1073
From: "Jan Kokott" <Blind007@xxxxxx>
Date: Fri, 12 Jan 2007 13:33:29 +0100
Hi,

I found out that much. 
The -i option I got from 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/U1077.asp
maybe that wasn´t a good idea.

I found out, that the problem started with the libui.lib (in GTK) which couldn´t be build.
There seems to be another declaration of somehting in VS 2005 (V.8) that tries to overwrite one of the definitions in the wireshark sources.

After commenting out the IFNDEF line in the source of VS, it worked further on to the next problem with the openssl.h which was called in the GTK Package and a new error.

It just looked like my environment isn´t suitable for that task.(VS 2005 V8, cygwin and nmake.exe)
Switching to linux (ubuntu) should help me at least compiling wireshark and starting with my 802.15.4 plugin project.

If you want to have more Information about my problem, I could switch back to Windows, but for now I will use Linux instead.
Thank you anyway.

With kind Regards   Jan


-------- Original-Nachricht --------
Datum: Fri, 12 Jan 2007 10:40:48 +0100 (CET)
Von: Jaap Keuter <jaap.keuter@xxxxxxxxx>
An: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
Betreff: Re: [Wireshark-dev] Build Error in 0.99.4 LNK1181/U1073

> Hi,
> 
> Where do you get the "-i" from in "nmake -i Makefile.nmake". Doesn't that
> cover up build problems earlier on? My guess is that the build of
> capture_if_details_dlg.c failed but it scrolled off screen. The linker
> then couldn't find the object to build the libui.lib, which by itself is a
> target that nmake now doesn't know how to build.
> 
> Debugger rule of thumb: Always start with the first problem, then work
> your way down. Ignoring them won't make them go away.
> 
> Thanx,
> Jaap
> 
> On Fri, 12 Jan 2007, Jan Kokott wrote:
> 
> > Hi,
> >
> > I tried to build the 0.99.4 (latest Version
> http://www.wireshark.org/download.html)from source in my win XP.
> > After using
> > nmake -i Makefile.nmake
> > It does a lot of stuff and seems to work for a long time but then
> suddenly stops with
> >
> > LINK : fatal error LNK1181: cannot open input file
> 'capture_if_details_dlg.obj'
> > NMAKE : fatal error U1073: don't know how to make 'gtk\libui.lib'
> > Stop.
> >
> > The second fatal error was found some time ago :
> > http://www.ethereal.com/lists/ethereal-dev/200606/msg00228.html
> > but no one answered to the problem.
> >
> > I tried to do it again with a distclean and another cmd Window with
> clean Path as suggested here
> http://www.wireshark.org/lists/wireshark-dev/200611/msg00590.html
> > but that didn´t work.
> >
> > Anyone got a solution to this problem ?
> >
> > So long    Jan
> >
>