Andy Smith wrote:
> Thomas Anders wrote:
> 
>> -Coders,
>>
>> is there anyone who can give feedback on how/whether 5.3.1.pre2 (or
>> pre3/rcX when it comes out) builds on Windows with MSVC/MinGW/Cygwin? 

Builds with "Microsoft Visual Studio .NET". How do you run tests without
using CygWin/MinGW?

Won't cross compile (MinGW environment running on Linux), but I haven't
ever tried this before.

cross-configure.sh --prefix=/usr --with-endianness=little --disable-agent

which acts as if I'd said '--cache-file=cross-config.cache'
'--target=i386-mingw32msvc' '--host=i386-mingw32msvc'
'--build=i386-linux' '--prefix=/usr' '--with-endianness=little'
'--disable-agent' 'build_alias=i386-linux' 'host_alias=i386-mingw32msvc'
'target_alias=i386-mingw32msvc'

gcc -I../include -I. -I../snmplib -g -O2 -Dmingw32 -Dmingw32msvc -c
snmp_api.c  -DDLL_EXPORT -DPIC -o .libs/snmp_api.lo
snmp_api.c:367: error: conflicting types for 'strerror'
/opt/cross-tools/lib/gcc/i386-mingw32msvc/3.4.2/../../../../i386-mingw32msvc/include/string.h:47:
error: previous declaration of 'strerror' was here
snmp_api.c:367: error: conflicting types for 'strerror'
/opt/cross-tools/lib/gcc/i386-mingw32msvc/3.4.2/../../../../i386-mingw32msvc/include/string.h:47:
error: previous declaration of 'strerror' was here
snmp_api.c: In function `strerror':
snmp_api.c:368: error: conflicting types for '_sys_errlist'
/opt/cross-tools/lib/gcc/i386-mingw32msvc/3.4.2/../../../../i386-mingw32msvc/include/stdlib.h:197:
error: previous declaration of '_sys_errlist' was here


> the libs and apps build fine with MinGW using gcc 3.4.2. Evidently I
> don't have kill.exe so the 'make test' failed.

kill.exe is in the resource kit. You can probably use pskill.exe from
the tools at sysinternals.com. Just put a copy in the PATH and rename it.

-- 
There's no point in being grown up if you can't be childish sometimes.
                -- Dr. Who


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to