Thank u very much,Alex!
Yeah,i'm trying to compile net-snmp-5.2.1.2 on win32.
The error comes when building perl mudules..
eg: I have searched the fuctions like init_var_route(). It is defined in \net-snmp-5.2.1.2\agent\mibgroup\mibII\var_route.c.
But the fuction doesn't appear in the project libsdll, which will output the *.dll and *.lib for the perl mudules. And either the sourse file var_route.c appears in the project.
I doubt that there's something un-strict with the project architecture on win32.
Then how can I deal with the error?
-----------------------------------------------------------
07/22/2005 23:05:45 [EMAIL PROTECTED] wrote:
-----------------------------------------------------------
> Hi.
>
> Are you trying to compile Net-SNMP 5.1.2?
&g
t;
> Alex
>
> [EMAIL PROTECTED] wrote:
> >
> > hi all,
> > glad to see u! i'm new here.
> > i have finished building win32.dsw and libsdll.dsw in \win32,and then
> > use \win32\nmakeperl.bat to make perl modules,the error came as:
> > "Nmake : fatal error U1077:'link':return code '0x460',stop.
> > Nmake : fatal error U1077:'cd':return code '0x2',stop"
> >
> > the error output in file nmake.out shows that:
> >
> > " Creating library ..\blib\arch\auto\NetSNMP\agent\agent.lib and object
> > ..\blib\arch\auto\NetSNMP\agent\agent.exp
> > netsnmpmibs.lib(mib_modules.obj) : error LNK2001: unresolved external
> > symbol _init_var_route
> > netsnmpmibs.lib(mib_modules.obj) : error LNK2001: unresolved external
> > symbol _init_udpTable
> >
netsnmpmibs.lib(mib_modules.obj) : error LNK2001: unresolved external
> > symbol _init_udp
> > netsnmpmibs.lib(mib_modules.obj) : error LNK2001: unresolved external
> > symbol _init_ip
> > netsnmpmibs.lib(mib_modules.obj) : error LNK2001: unresolved external
> > symbol _init_icmp
> > net snmpmibs.lib(mib_modules.obj) : error LNK2001: unresolved external
> > symbol _init_tcpTable
> > netsnmpmibs.lib(mib_modules.obj) : error LNK2001: unresolved external
> > symbol _init_tcp
> > netsnmpmibs.lib(mib_modules.obj) : error LNK2001: unresolved external
> > symbol _init_interfaces
> > netsnmpmibs.lib(mib_modules.obj) : error LNK2001: unresolved external
> > symbol _init_at
> > ..\blib\arch\auto\NetSNMP\agent\agent.dll : fatal error LNK1120: 9
> > unresolved externals "
> >
> > i
didn't found the symbols the errors tell in lib sourse files,and i
> > have no idea now .....
> >
> > softwares i use are: MSVC 6.0 ,activeperl 5.8.6
> >
> > thx for ur help!
------------------ over -------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
欢迎使用ISM Gmail中文邮!想了解更多,请访问 www.ism.net.cn !
------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders