【提问】Ethereal编译问题,在线等~~
VC环境变量到底该怎么设置啊。。。由于安装VC前安装过OPNET,所以环境变量和网上说的一些标准不一样,但是我已经都改过来了下面的是administrator的用户变量
include:D:\软件安装在这里\VC\VC98\Include
lib:D:\软件安装在这里\VC\VC98\Lib
path:D:\软件安装在这里\VC\VC98\Bin
系统变量:
path:G:/cygwin/bin
大伙看看我这个有错么?
救命啊!!!!
步骤:我先nmake -f Makefile.nmake very_tools 通过。。。。
然后解压packet,都已经到位,那个什么ethereal-win32-libs文件夹没找到,我自己在ethereal下面自己新建了一个,不知道是不是正确操作。然后把包压进去。其中除了glib.2.4.7用gilb.2.12.7代替(还有glib-dev),其他都按照develop-guide。
然后编译nmake -f makefile.nmake distclean 一连串代码,MS通过
最后怀着激动的心情编译nmake -f makefile.nmake all 编译运行图如附件(不知道怎么贴图)
晕。。。。。。
[color=Blue]fatal errorU1077 :'link' return code '0x1'[/color]
link出问题。。。
接下就google原因。。。别人有出过link 'cl.exe'的问题。。。。我不知道我这个是什么原因!!是不是环境变量设置的还有问题?该怎么设置啊。。。。。斑竹继续帮帮忙啊!!!!谢谢~~
在线等!!!! 我不知道这个算不算是link错误,有可能是别的错误,看看别人的错误发现如果是link错误的话会提示link什么什么的错误。。。。。上图就提示我link--help 难道是语法错误???
等待斑竹帮忙~~ 斑竹帮帮忙啊~~~~ 5555555~ [url]http://wiki.wireshark.org/Development/CommonProblems[/url]
If you get the following error while compiling:
link: invalid option -- e
Try `link --help' for more information.... unfortunately, the link command is available both from Cygwin and from MSVC with completely different purposes and you'll need the MSVC link. If you get this error, in your environment the link command of Cygwin takes precedence over the MSVC one. To fix this, you can change your PATH environment setting or simply renaming the link.exe in cygwin's /bin directory. If you rename it, make sure to remember that a Cygwin update may provide a new version of that file, which in turn has to be renamed again.
本版前面有人问过同样的问题,另有人给出过答案。你在线等,不如在线找。 斑竹的回答精辟!!我知道了,其实我也google了很久。。。。但是英文的我没仔细看。。。
谢谢斑竹给答案了!!!!!
现在我编译基本通过了。
下一步我觉得我得先搞汉化,因为单位领导都不是很感冒英文,,,,,,
斑竹有着方面的经验么????汉化肯定有难度吧~~~
我先试试了~~~~ 再次谢谢斑竹~~~
有经验希望能告诉我,谢谢!!! 开什么玩笑,哪有领导用这玩意的。这种软件,汉化其实是挺无聊的一件事。小众软件,又不是普通的大众软件。
页:
[1]