Re: [OpenSBC] OpenSBC linker error LNK2019
Brought to you by:
joegenbaclor
From: Joegen E. B. <joe...@gm...> - 2008-10-31 07:46:39
|
OpenSBC Forum wrote: > I have tried to compile opensbc as instruct in the WIKI pages using > Visual C++2003 , and Microsoft Platform SDK for Windows server 2003 . > Opensipstack compiled well and also opensbc, but when it began linking proccess I got the linker error LNK2019. > > > pensipstack-7.10.lib(ptime.obj) : error LNK2019: unresolved external symbol [_PTimeParse@12] , "public: virtual void __thiscall PTime::ReadFrom(class std::basic_istream<char,struct std::char_traits<char> > &)" (?ReadFrom@PTime@@UAEXAAV?$basic_istream@DU?$char_traits@D@std@@@std@@@Z) Release/opensbc.exe : fatal error LNK1120: > > Looks like your bison.exe failed to parse getdate.y properly. You can do the following. 1. Recompile getdate.y by going to MSVC Project Explorer/PWLIB/Console/Source Files. Right click on getdate.y and click compile. See if there is any error. You should see something like this: ** Performing Custom Build Step ** getdate.y contains 8 shift/reduce conflicts and 18 reduce/reduce conflicts. ** Build log was saved at "file://c:\var\home\oss\devel\opensipstack\Debug-7.10\BuildLog.htm" ** OpenSIPStack - 0 error(s), 0 warning(s) 2. Or you can try manually replacing your existing code with the attached getdate_tab.c Joegen |