unresolved external symbol _netsnmp_oid_stash_create_node in MSVC

This is a discussion on unresolved external symbol _netsnmp_oid_stash_create_node in MSVC within the SNMP Coders forums, part of the Networking and Network Related category; I get a linker error when I try to compile some simple code against the .lib files on windows using ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-28-2007
Erik Earle
 
Posts: n/a
Default unresolved external symbol _netsnmp_oid_stash_create_node in MSVC

I get a linker error when I try to compile some simple
code against the .lib files on windows using the MSVC:
unresolved external symbol
_netsnmp_oid_stash_create_node


My Commandline options (copied from the property
sheet):

/OUT:"C:\oid-stash-test\Debug\oid-stash-test.exe"
/INCREMENTAL /NOLOGO /LIBPATH:"C:\usr\netsnmp-5.4\lib"
/MANIFEST
/MANIFESTFILE:"Debug\oid-stash-test.exe.intermediate.manifest"
/DEBUG
/PDB:"c:\oid-stash-test\debug\oid-stash-test.pdb"
/SUBSYSTEM:CONSOLE /MACHINE:X86 /ERRORREPORT:PROMPT
netsnmp.lib netsnmpagent.lib netsnmphelpers.lib
netsnmpmibs.lib netsnmptrapd.lib kernel32.lib
user32.lib gdi32.lib winspool.lib comdlg32.lib
advapi32.lib shell32.lib ole32.lib oleaut32.lib
uuid.lib odbc32.lib odbccp32.lib

The test code to repro is:

#include "stdafx.h"
#include <net-snmp/net-snmp-config.h>
#include <net-snmp/mib_api.h>

int _tmain(int argc, _TCHAR* argv[])
{

netsnmp_oid_stash_create_node();

return 0;
}

Anyone have any insight or advice?


__________________________________________________ __________________________________
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=on...on+gifts&cs=bz

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:56 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0