Ethereal-dev: Re: [Ethereal-dev] make-tapreg-dotc and x11-fields when building on Win32

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

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Fri, 23 Jan 2004 17:25:11 +0100
As Guy already mentioned, you *must* have the file "make-tapreg-dotc" in you root dir,
where all the other files and dirs (796 in current CVS) also reside.

If this is not the case, you might have an incomplete zip file, compare the size with the server value.

Copying the make-tapreg-dotc.py is the wrong way!

Regards, ULFL

Could you add a few more lines from the nmake output for both problems, to get an idea where the code stucks...

Here are the last several lines for the first error:

------------------------------------------------------
       link /NODEFAULTLIB /INCREMENTAL:NO /PDB:NONE /RELEASE /NOLOGO
-entry:_Dl
lMainCRTStartup@12 -dll msvcrt.lib oldnames.lib kernel32.lib  ws2_32.lib
mswsock
.lib advapi32.lib  /DEBUG  /DEF:wtap.def /OUT:wiretap-0.0.dll
/IMPLIB:wiretap-0
.0.lib  airopeek9.obj  ascend-grammar.obj  ascend-scanner.obj
ascend.obj  atm.o
bj  buffer.obj  cosine.obj  csids.obj  dbs-etherwatch.obj  erf.obj
etherpeek.ob
j  file_access.obj  file_wrappers.obj  hcidump.obj  i4btrace.obj
iptrace.obj  l
analyzer.obj  libpcap.obj  netmon.obj  nettl.obj
network_instruments.obj  netxr
ay.obj  ngsniffer.obj  radcom.obj  pppdump.obj  snoop.obj  toshiba.obj
visual.o
bj  vms.obj  wtap.obj  5views.obj
C:\ethereal-win32-libs\glib\lib\glib-2.0.lib
C:\ethereal-win32-libs\glib\lib\gmodule-2.0.lib
C:\ethereal-win32-libs\glib\lib
\gobject-2.0.lib         C:\ethereal-win32-libs\zlib121-dll\lib\zdll.lib
  Creating library wiretap-0.0.lib and object wiretap-0.0.exp
       cd ..
       cd help
       NMAKE /                   -f Makefile.nmake

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

       cd ..
       sed -e s/@VERSION@/0.10.0/  -e "s/@HAVE_GNU_ADNS@/#define
HAVE_GNU_ADNS
1/"  -e "s/@HAVE_PCRE@/#define HAVE_LIBPCRE 1/"  -e
"s/@HAVE_LIBZ@/#define HAVE_
LIBZ 1/"  -e "s/@HAVE_LIBPCAP@/#define HAVE_LIBPCAP 1/"  -e
"s/@HAVE_PCAP_FINDAL
LDEVS@//"  -e "s/@WPCAP_CONSTIFIED@//"  < config.h.win32 > config.h
       cd gtk
       NMAKE /                   -f Makefile.nmake

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

NMAKE : fatal error U1073: don't know how to make '../make-tapreg-dotc'
Stop.
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~4\VC98\BIN\NMAKE.EXE' :
return co
de '0x2'
Stop.
------------------------------------------------------

I then copied make-reg-dotc.py to make-tapreg-dotc, just as a wild
guess, and here's the last several lines of my next attempt:

------------------------------------------------------
Microsoft (R) Library Manager Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

       cd ..
       cl -DWIN32 -DNULL=0 -D_MT -D_DLL -DHAVE_CONFIG_H /I. /I..
/I../wiretap /
IC:\ethereal-win32-libs\glib\include\glib-2.0
/IC:\ethereal-win32-libs\glib\lib
\glib-2.0\include /IC:\ethereal-win32-libs\gtk+\include
/IC:\ethereal-win32-libs
\gtk+\include\gdk  /IC:\ethereal-win32-libs\gtk+\lib\gtk+\include
/IC:\ethereal
-win32-libs\adns-1.0-win32-01\src
/IC:\ethereal-win32-libs\adns-1.0-win32-01\adn
s_win32 /IC:\ethereal-win32-libs\pcre-4.4\include
/IC:\ethereal-win32-libs\WPdpa
ck\include  -D_U_="" -Zi -Fd.\ -c atalk-utils.c bitswap.c circuit.c
column-utils
.c conversation.c epan.c except.c filesystem.c frame_data.c inet_aton.c
inet_pto
n.c inet_ntop.c ipv4.c int-64bit.c osi-utils.c packet.c plugins.c
proto.c resolv
.c sna-utils.c strutil.c to_str.c tvbuff.c value_string.c
atalk-utils.c
bitswap.c
circuit.c
column-utils.c
conversation.c
epan.c
except.c
filesystem.c
frame_data.c
inet_aton.c
inet_pton.c
inet_ntop.c
ipv4.c
int-64bit.c
osi-utils.c
packet.c
plugins.c
plugins.c(74) : fatal error C1083: Cannot open include file:
'plugins/Xass-list'
: No such file or directory
proto.c
resolv.c
sna-utils.c
Generating Code...
Compiling...
strutil.c
to_str.c
tvbuff.c
value_string.c
Generating Code...
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~4\VC98\BIN\NMAKE.EXE' :
return co
de '0x2'
Stop.
----------------------------------------------------------

Thanks,

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