[sldev] Compiling 1.18.4 under VS2005

Matthew Dowd matthew.dowd at hotmail.co.uk
Sat Oct 27 03:59:18 PDT 2007



Has anyone had any success compiling 1.18.4 under VS2005? It looks like LL has done their usual trick of adding a few new dependencies which aren't included in the downloaded library files. Namely OpenJPEG and c-ares.
 
I've managed to find the source code to those libraries and compiled them. However, When I try to build SL, it compiled fine, but then fails at the link  with four errors and a lot of warnings (see below).
 
I'm now at a loss (particularly as the missing externals appear to be present in the source code, and the code compiled without errors!)
 
Matthew
 
 
 
1>Linking...
1>areslib.lib(ares_init.obj) : warning LNK4217: locally defined symbol __strdup imported in function _ares_save_options
1>areslib.lib(ares_gethostbyname.obj) : warning LNK4217: locally defined symbol __strdup imported in function _end_hquery
1>areslib.lib(ares_search.obj) : warning LNK4217: locally defined symbol __strdup imported in function _end_squery
1>areslib.lib(ares__get_hostent.obj) : warning LNK4217: locally defined symbol __strdup imported in function _ares__get_hostent
1>areslib.lib(ares_parse_a_reply.obj) : warning LNK4217: locally defined symbol _malloc imported in function _ares_parse_a_reply
1>areslib.lib(ares__read_line.obj) : warning LNK4217: locally defined symbol _malloc imported in function _ares__read_line
1>areslib.lib(ares_send.obj) : warning LNK4049: locally defined symbol _malloc imported
1>areslib.lib(ares_mkquery.obj) : warning LNK4049: locally defined symbol _malloc imported
1>areslib.lib(ares_search.obj) : warning LNK4049: locally defined symbol _malloc imported
1>areslib.lib(ares_query.obj) : warning LNK4049: locally defined symbol _malloc imported
1>areslib.lib(ares__get_hostent.obj) : warning LNK4217: locally defined symbol _malloc imported in function _ares__get_hostent
1>areslib.lib(ares_parse_aaaa_reply.obj) : warning LNK4217: locally defined symbol _malloc imported in function _ares_parse_aaaa_reply
1>areslib.lib(ares_init.obj) : warning LNK4217: locally defined symbol _malloc imported in function _ares_save_options
1>areslib.lib(ares_process.obj) : warning LNK4049: locally defined symbol _malloc imported
1>areslib.lib(ares_expand_name.obj) : warning LNK4049: locally defined symbol _malloc imported
1>areslib.lib(ares_gethostbyname.obj) : warning LNK4217: locally defined symbol _malloc imported in function _end_hquery
1>areslib.lib(ares_parse_a_reply.obj) : warning LNK4049: locally defined symbol _free imported
1>areslib.lib(ares_send.obj) : warning LNK4049: locally defined symbol _free imported
1>areslib.lib(ares__close_sockets.obj) : warning LNK4049: locally defined symbol _free imported
1>areslib.lib(ares_free_hostent.obj) : warning LNK4049: locally defined symbol _free imported
1>areslib.lib(ares__get_hostent.obj) : warning LNK4049: locally defined symbol _free imported
1>areslib.lib(ares_parse_aaaa_reply.obj) : warning LNK4049: locally defined symbol _free imported
1>areslib.lib(ares_free_string.obj) : warning LNK4049: locally defined symbol _free imported
1>areslib.lib(ares_gethostbyname.obj) : warning LNK4049: locally defined symbol _free imported
1>areslib.lib(ares_search.obj) : warning LNK4217: locally defined symbol _free imported in function _single_domain
1>areslib.lib(ares_query.obj) : warning LNK4049: locally defined symbol _free imported
1>areslib.lib(ares_init.obj) : warning LNK4217: locally defined symbol _free imported in function _get_res_nt
1>areslib.lib(ares_destroy.obj) : warning LNK4049: locally defined symbol _free imported
1>areslib.lib(ares_cancel.obj) : warning LNK4049: locally defined symbol _free imported
1>areslib.lib(ares_process.obj) : warning LNK4049: locally defined symbol _free imported
1>areslib.lib(ares_init.obj) : warning LNK4217: locally defined symbol _sprintf imported in function _get_iphlpapi_dns_info
1>areslib.lib(ares_init.obj) : warning LNK4217: locally defined symbol _strchr imported in function _init_by_defaults
1>areslib.lib(ares_search.obj) : warning LNK4049: locally defined symbol _strchr imported
1>areslib.lib(inet_net_pton.obj) : warning LNK4049: locally defined symbol _strchr imported
1>areslib.lib(ares__get_hostent.obj) : warning LNK4049: locally defined symbol _strchr imported
1>areslib.lib(ares_init.obj) : warning LNK4217: locally defined symbol _realloc imported in function _config_nameserver
1>areslib.lib(ares__read_line.obj) : warning LNK4049: locally defined symbol _realloc imported
1>areslib.lib(ares_init.obj) : warning LNK4217: locally defined symbol _isspace imported in function _config_nameserver
1>areslib.lib(ares_search.obj) : warning LNK4049: locally defined symbol _isspace imported
1>areslib.lib(ares__get_hostent.obj) : warning LNK4049: locally defined symbol _isspace imported
1>areslib.lib(ares_init.obj) : warning LNK4217: locally defined symbol _strncmp imported in function _try_option
1>areslib.lib(ares_init.obj) : warning LNK4217: locally defined symbol _rand imported in function _randomize_key
1>areslib.lib(ares_init.obj) : warning LNK4217: locally defined symbol _calloc imported in function _init_id_key
1>areslib.lib(ares_process.obj) : warning LNK4049: locally defined symbol _calloc imported
1>areslib.lib(ares_init.obj) : warning LNK4217: locally defined symbol _atoi imported in function _set_options
1>areslib.lib(ares_init.obj) : warning LNK4217: locally defined symbol _getenv imported in function _init_by_environment
1>areslib.lib(ares_search.obj) : warning LNK4049: locally defined symbol _getenv imported
1>areslib.lib(ares_process.obj) : warning LNK4217: locally defined symbol __time64 imported in function _time
1>areslib.lib(ares_timeout.obj) : warning LNK4217: locally defined symbol __time64 imported in function _time
1>areslib.lib(ares_send.obj) : warning LNK4217: locally defined symbol __time64 imported in function _time
1>areslib.lib(ares_gethostbyname.obj) : warning LNK4217: locally defined symbol _fclose imported in function _file_lookup
1>areslib.lib(ares_search.obj) : warning LNK4217: locally defined symbol _fclose imported in function _single_domain
1>areslib.lib(ares_gethostbyname.obj) : warning LNK4217: locally defined symbol _fopen imported in function _file_lookup
1>areslib.lib(ares_search.obj) : warning LNK4217: locally defined symbol _fopen imported in function _single_domain
1>areslib.lib(windows_port.obj) : warning LNK4217: locally defined symbol _isupper imported in function _ares_strncasecmp
1>areslib.lib(inet_net_pton.obj) : warning LNK4217: locally defined symbol _isupper imported in function _inet_net_pton_ipv4
1>areslib.lib(windows_port.obj) : warning LNK4217: locally defined symbol _tolower imported in function _ares_strncasecmp
1>areslib.lib(inet_net_pton.obj) : warning LNK4217: locally defined symbol _tolower imported in function _getbits
1>areslib.lib(inet_net_pton.obj) : warning LNK4217: locally defined symbol _isdigit imported in function _inet_net_pton_ipv4
1>areslib.lib(inet_net_pton.obj) : warning LNK4217: locally defined symbol _isxdigit imported in function _inet_net_pton_ipv4
1>areslib.lib(ares__read_line.obj) : warning LNK4217: locally defined symbol _ferror imported in function _ares__read_line
1>areslib.lib(ares__read_line.obj) : warning LNK4217: locally defined symbol _fgets imported in function _ares__read_line
1>llviewerparcelmgr.obj : error LNK2019: unresolved external symbol "public: void __thiscall LLParcel::init(class LLUUID const &,int,int,int,__int64,int,int,int,int,float,int)" (?init at LLParcel@@QAEXABVLLUUID@@HHH_JHHHHMH at Z) referenced in function "public: static void __cdecl LLViewerParcelMgr::processParcelProperties(class LLMessageSystem *,void * *)" (?processParcelProperties at LLViewerParcelMgr@@SAXPAVLLMessageSystem@@PAPAX at Z)
1>llvoiceclient.obj : error LNK2019: unresolved external symbol "public: static int __cdecl LLFile::stat(char const *,struct _stat64i32 *)" (?stat at LLFile@@SAHPBDPAU_stat64i32@@@Z) referenced in function "private: void __thiscall LLVoiceClient::stateMachine(void)" (?stateMachine at LLVoiceClient@@AAEXXZ)
1>viewer.obj : error LNK2001: unresolved external symbol "public: static int __cdecl LLFile::stat(char const *,struct _stat64i32 *)" (?stat at LLFile@@SAHPBDPAU_stat64i32@@@Z)
1>llcommon.lib(llares.obj) : error LNK2019: unresolved external symbol _ares_getnameinfo referenced in function "public: void __thiscall LLAres::getNameInfo(struct sockaddr const &,int,int,class LLAres::NameInfoResponder *)" (?getNameInfo at LLAres@@QAEXABUsockaddr@@HHPAVNameInfoResponder at 1@@Z)
1>ReleaseForDownload/SecondLife.exe : fatal error LNK1120: 3 unresolved externals
_________________________________________________________________
Feel like a local wherever you go.
http://www.backofmyhand.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/sldev/attachments/20071027/95837011/attachment-0001.htm


More information about the SLDev mailing list