Ethereal-dev: [Ethereal-dev] windows 2000 config.nmake

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

Date: Mon, 30 Jan 2006 11:32:52 +0100

i have downloaded a source tarball from your ethereal.com page. Then i have downloaded all the needed tools and libraries as described in the development guide, readme.win32 and so on.

But i have still the problem, that i could not excecute the make -f makefile.nmake. When i use Cygwin then the following error occurs:

$ make -f Makefile.nmake verify_tools
config.nmake:262: *** missing separator.  Stop.

I did not any change on the config.nmake
258 # If you don't want to build libethereal.dll, you should comment out the
259 # following line. (Note: for plugin support this option must stay activated)
260 ENABLE_LIBETHEREAL=USE
261
262 !IFDEF ENABLE_LIBETHEREAL
263 # Uncomment next line to link plugins with the import library of libethereal.dll
264 LINK_PLUGINS_WITH_LIBETHEREAL=USE
265 !ENDIF

_________________________________________________________________________________________________________


I'd like to compile a dissector in MSVC, but i have to include some files from the ethereal sources. And here are my Problems starting:

Compiling...
DLLtest.cpp
u:\vs6_workspace\libglib\glib\gmessages.h(165) : error C2065: 'va_end' : undeclared identifier
d:\microsoft visual studio\vc98\include\varargs.h(70) : warning C4005: 'va_start' : macro redefinition
        d:\microsoft visual studio\vc98\include\stdarg.h(58) : see previous definition of 'va_start'
u:\vs6_workspace\ethe\epan\exceptions.h(169) : warning C4005: 'TRY' : macro redefinition
        d:\microsoft visual studio\vc98\mfc\include\afx.h(1009) : see previous definition of 'TRY'
u:\vs6_workspace\ethe\epan\exceptions.h(185) : warning C4005: 'CATCH' : macro redefinition
        d:\microsoft visual studio\vc98\mfc\include\afx.h(1013) : see previous definition of 'CATCH'
u:\vs6_workspace\ethe\epan\exceptions.h(196) : warning C4005: 'CATCH_ALL' : macro redefinition
        d:\microsoft visual studio\vc98\mfc\include\afx.h(1027) : see previous definition of 'CATCH_ALL'
u:\vs6_workspace\ethe\epan\exceptions.h(204) : warning C4005: 'THROW' : macro redefinition
        d:\microsoft visual studio\vc98\mfc\include\afx.h(1021) : see previous definition of 'THROW'
u:\vs6_workspace\ethe\epan\ftypes\ftypes.h(247) : error C2144: syntax error : missing ';' before type 'fvalue_tslab_item'
u:\vs6_workspace\ethe\epan\ftypes\ftypes.h(247) : error C2501: 'ETH_VAR_IMPORT' : missing storage-class or type specifiers
u:\vs6_workspace\ethe\epan\ftypes\ftypes.h(247) : fatal error C1004: unexpected end of file found
Error executing cl.exe.

DLLtest.dll - 4 error(s), 5 warning(s)

I know, that i have to do a make -f makefile.nmake -distclean before compiling, but i couldn't, because my config.nmake is fault!


Thanks!