On Wed, Sep 29, 2010 at 8:47 AM, Michael Jäger <michael.jae...@hs-owl.de>wrote:

>
>
>
>
> *Von:* Michael Jäger [mailto:michael.jae...@hs-owl.de]
> *Gesendet:* Mittwoch, 29. September 2010 08:18
> *An:* 'Bart Van Assche'
> *Betreff:* AW: Net SNMP Application Development using Eclipse
>
>
>
> Hi Barth,
>
>
>
> Thx for your reply. I added some linker entries like shown in the following
> picture:
>
>
>
> http://img15.imageshack.us/img15/3135/linkerentries.png
>
>
>
> Right now I’m getting another error L
>
>
>
>
>
> **** Build of configuration Debug for project SNMPWin ****
>
>
>
> **** Internal Builder is used for build               ****
>
> gcc -LC:\msys\1.0\home\MJaeger\net-snmp\include\net-snmp\library
> -LC:\msys\1.0\home\MJaeger\net-snmp\include
> -LC:\msys\1.0\home\MJaeger\net-snmp\include\net-snmp -oSNMPWin.exe
> MIBExtraction.o C:\msys\1.0\home\MJaeger\net-snmp\include\net-snmp\library
> C:\msys\1.0\home\MJaeger\net-snmp\include
> C:\msys\1.0\home\MJaeger\net-snmp\include\net-snmp
>
> c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe:
> cannot find C:\msys\1.0\home\MJaeger\net-snmp\include\net-snmp\library:
> Permission denied
>
> c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe:
> cannot find C:\msys\1.0\home\MJaeger\net-snmp\include: Permission denied
>
> c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe:
> cannot find C:\msys\1.0\home\MJaeger\net-snmp\include\net-snmp: Permission
> denied
>
> collect2: ld returned 1 exit status
>
> Build error occurred, build is stopped
>
> Time consumed: 295  ms.
>
>
>
>
>
> Googleing for this error didn’t bring me any further because they told
> something about make files, but I think that eclipse takes care of this on
> its own.
>
>
>
> Maybe you have an idea about this. Sorry again for inconvenience.
>

I see two errors:
- You must use forward slashes in MinGW / MSYS paths instead of backward
slashes.
- The library path is not correct: .../net-snmp/include/... contains header
files, not libraries.

Bart.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to