Wireshark-dev: [Wireshark-dev] Won't build with cygwin 1.7.5-1
From: Thomas <tlann@xxxxxxxxxxxxxxxxxx>
Date: Sun, 9 May 2010 12:56:01 -0700
I recently upgraded cygwin to 1.7.5-1 for a plug-in I've had building and working and wireshark will no longer build. I'm build with Win XP and VS 2005 Standard. To troubleshoot, I've downloaded from the newest branch on Friday and made all of the necessary changes outlined in the developers guide to get the system to build. However, it fails on building wiretap with the below errors. I've tried poking around in runlex.sh and seeing what the output is when basename is called. I've also tried changing runlex.sh and troubleshooting it and then doing a distclean and rebuild. However, I'm not seeing any change in the output. Although, I do have to admit I'm not very good with sh scripts. I only know some rudimentary concepts. Overall, it looks like basename has changed in this version of cygwin and the runlex no longer works. I'm kinda stumped on what direction I should head to resolve this issue. Can someone recommend something? Thanks -Thomas //////////////////////////Errors Output Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86 Copyright (C) Microsoft Corporation. All rights reserved. file_util.c unicode-utils.c mpeg-audio.c privileges.c str_util.c type_util.c Generating Code... link /INCREMENTAL:NO /NOLOGO -entry:_DllMainCRTStartup@12 -dll kernel32.lib ws2_32.lib mswsock.lib dvapi32.lib bufferoverflowu.lib /DEBUG /MACHINE:x86 /MANIFEST:no /DEF:libwsutil.def /OUT:libwsutil.dll /IM LIB:libwsutil.lib ..\image\libwsutil.res file_util.obj unicode-utils.obj mpeg-audio.obj privileges.o j str_util.obj type_util.obj C:\wireshark-win32-libs\glib\lib\glib-2.0.lib C:\wireshark-wi 32-libs\glib\lib\gmodule-2.0.lib C:\wireshark-win32-libs\glib\lib\gobject-2.0.lib Creating library libwsutil.lib and object libwsutil.exp cd .. cd wiretap nmake / -f Makefile.nmake Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. bison -d -p ascend ascend.y -o ascend.c bash -o igncr ../tools/runlex.sh "flex" -oascend_scanner.c ascend_scanner.l basename: unknown option -- o Try `basename --help' for more information. dirname: unknown option -- o Try `dirname --help' for more information. basename: unknown option -- o Try `basename --help' for more information. cl -DWIN32 -DNULL=0 -D_MT -D_DLL -DYYMALLOC=malloc -DYYFREE=free -DHAVE_CONFIG_H /I. /I.. /IC:\wires ark-win32-libs\glib\include\glib-2.0 /IC:\wireshark-win32-libs\glib\lib\glib-2.0\include /IC:\wireshark-win3 -libs\zlib123\include /IC:\wireshark-win32-libs\WPdpack/include -D_U_="" /Zi /W3 /MD /D_CRT_SECURE_NO_DEPREC TE /D_CRT_NONSTDC_NO_DEPRECATE /DWIN32_LEAN_AND_MEAN /DMSC_VER_REQUIRED=1400 /D_BIND_TO_CURRENT_CRT_VERSION=1 -Fd.\ -c ascend_scanner.c Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86 Copyright (C) Microsoft Corporation. All rights reserved. ascend_scanner.c ascend_scanner.l(52) : fatal error C1083: Cannot open include file: 'ascend_scanner_lex.h': No such file or d rectory NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin\nmake.exe ' : return code '0x2' Stop. ////////////////// End Output
- Prev by Date: Re: [Wireshark-dev] tshark (Windows) not working
- Next by Date: [Wireshark-dev] missing break in packet-ssl.c
- Previous by thread: Re: [Wireshark-dev] Issue with installing Wireshark
- Next by thread: [Wireshark-dev] missing break in packet-ssl.c
- Index(es):