Re: [libdnet-devel] Compiling libdnet for VC++ .NET
Status: Abandoned
                
                Brought to you by:
                
                    dugsong
                    
                
            | 
      
      
      From: Ronak S. <rsu...@gm...> - 2005-07-07 03:01:40
      
     | 
| On 7/6/05, Dug Song <du...@mo...> wrote: > On Tue, Jul 05, 2005 at 07:30:59PM -0400, Ronak Sutaria wrote: >=20 > > 1. I was interested in creating the libdnet project for VC++ .NET and > > wanted to know how feasible would that be. In some sense I'm a noob to > > libdnet and hence all pointers would be useful. The reason I'm looking > > at this is because we are trying to use dnet.lib with the latest Nmap > > Win32 release. For that I need to create a .vcproj out of the existing > > libdnet sources. >=20 > if anyone wanted to contribute a self-contained vc++ win32 project > directory for libdnet, i'd happily incorporate it. :-) Well, its on my wishful todo list - as I'm trying to use dnet.lib in the Nmap project I'm working on and since rest of the libraries are VC++ projects, I thought it would be a good idea to have libdnet also as one! Though, I will keep it in the investigative stage until I come across some real pointers on how to go about for this. >=20 > > 2. I was following the INSTALL instructions for compiling dnet.lib on > > Cygwin+MinGW. While it looks like my setup problems, I keep getting > > this error: > > "gcc: installation problem, cannot exec `cc1': No such file or director= y" >=20 > maybe you don't have all the packages you need installed, or don't > have the proper paths to them? I will do a clean reinstall and get back to you on this. >=20 > > Since libdnet is supported on the Win32 platform, I was keen to get a > > dnet.lib compiled here. >=20 > you should be able to use the dnet.lib in the libdnet win32 > developer's pack (linked off http://libdnet.sourceforge.net/): Well, that was the first thing I tried and I would be only too glad if this worked out fine. At present I am getting linker errors with the dnet.lib such as: nmap error LNK2005: __errno already defined in LIBCMT.lib(dosmap.obj) Found __imp__sprintf Referenced in dnet.lib(addr.obj) Referenced in dnet.lib(addr-util.obj) Loaded MSVCRT.lib(MSVCR71.dll) dnet.lib(intf-win32.obj) : error LNK2019: unresolved external symbol _GetIfEntry@4 referenced in function _intf_get dnet.lib(intf-win32.obj) : error LNK2019: unresolved external symbol _GetBestInterface@8 referenced in function _intf_get_dst There are several errors of the first type- and I'm not sure what is the linked setting which is causing this. Thanks, indeed for the help! Ronak |