Bugs item #2011858, was opened at 2008-07-06 18:40 Message generated for change (Comment added) made by stmane You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2011858&group_id=56967
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Build Group: Pathfinder CVS Head Status: Open Resolution: None Priority: 5 Private: No Submitted By: Stefan Manegold (stmane) Assigned to: Ying Zhang (yingying) Summary: PF: xrpc_client fails to compile on Windows Initial Comment: icl -Qstd=c99 -GR- -Qsafeseh- -GF -W3 -wd4273 -wd4102 -MD -nologo -Ox -I. -I.\.. "-IC:\Pthreads\include" -I.\..\..\runtime "-I.." -I.\..\..\runtime\.. "-IC:\cygwin\var\tmp\monet.Int.32.32.d.16202\MonetDB4\.Int.32.32.d-Windows5.1\include\MonetDB4" "-IC:\cygwin\var\tmp\monet.Int.32.32.d.16202\MonetDB4\.Int.32.32.d-Windows5.1\include\MonetDB4\monet" "-IC:\cygwin\var\tmp\monet.Int.32.32.d.16202\MonetDB4\.Int.32.32.d-Windows5.1\include\MonetDB4\plain" "-IC:\cygwin\var\tmp\monet.Int.32.32.d.16202\MonetDB4\.Int.32.32.d-Windows5.1\include\MonetDB4\contrib" "-IC:\cygwin\var\tmp\monet.Int.32.32.d.16202\MonetDB\.Int.32.32.d-Windows5.1\include\MonetDB" "-IC:\cygwin\var\tmp\monet.Int.32.32.d.16202\MonetDB\.Int.32.32.d-Windows5.1\include\MonetDB\common" "-IC:\cygwin\var\tmp\monet.Int.32.32.d.16202\MonetDB\.Int.32.32.d-Windows5.1\include\MonetDB\gdk" -DHAVE_LIBXML2 "-IC:\libxml2-2.6.30.win32\include" "-IC:\zlib-1.2.3.win32\include" "-IC:\iconv-1.9.2.win32\include" -DMILPRINT_SUMMER_IS_DEFA ULT=0 -DALGEBRA_IS_DEFAULT=1 -DSQL_IS_DEFAULT=0 -DEMBEDDED -DMT -DNO_CGI -DNO_AUTH -DIO_MAX=10240 -LD -Felib_xrpc_client.dll xrpc_client.glue.obj xrpc_client.obj /link libserialize.lib "C:\libxml2-2.6.30.win32\lib\libxml2.lib" "C:\zlib-1.2.3.win32\lib\zdll.lib" "C:\iconv-1.9.2.win32\lib\iconv.lib" wsock32.lib .\lib_pf_support.lib .\lib_pathfinder.lib /LIBPATH:"C:\cygwin\var\tmp\monet.Int.32.32.d.16202\MonetDB\.Int.32.32.d-Windows5.1\lib" libbat.lib libstream.lib /LIBPATH:"C:\cygwin\var\tmp\monet.Int.32.32.d.16202\MonetDB4\.Int.32.32.d-Windows5.1\lib" libmonet.lib /LIBPATH:"C:\cygwin\var\tmp\monet.Int.32.32.d.16202\MonetDB4\.Int.32.32.d-Windows5.1\lib\MonetDB4" lib_streams.lib lib_builtin.lib lib_ascii_io.lib Creating library lib_xrpc_client.lib and object lib_xrpc_client.exp xrpc_client.obj : error LNK2019: unresolved external symbol __imp__XRPCreq_free referenced in function _CMDget_rpc_res xrpc_client.obj : error LNK2019: unresolved external symbol __imp__xrpc_parse_message referenced in function _CMDget_rpc_res lib_xrpc_client.dll : fatal error LNK1120: 2 unresolved externals NMAKE : fatal error U1077: '"C:\Program Files\Intel\Compiler\C++\10.1.013\Ia32\Bin\icl.EXE"' : return code '0x460' Stop. For details, see http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.Int.32.32.d-Windows5.1..2008.07.06_08-53-25/make.out.html http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.Int.32.32.d-Windows5.1..2008.07.06_08-53-25/make.out.html#e201 http://www.ins.cwi.nl/~monet/permastore/2008-07-06/Current/make-pathfinder-Int.32.32.d-Windows5.1.errors.html#l422 ---------------------------------------------------------------------- >Comment By: Stefan Manegold (stmane) Date: 2008-07-17 08:41 Message: Logged In: YES user_id=572415 Originator: YES Also here, you should carefully check, which global variables are indeed required, and avoid them as far as possible. Passing information to functions via function arguments is usually a much cleaner and more maintainable alternative than using global variables... ---------------------------------------------------------------------- Comment By: Stefan Manegold (stmane) Date: 2008-07-17 07:56 Message: Logged In: YES user_id=572415 Originator: YES Compiling (and linking) xrpc_client no "happens to work" on Windows, "despite" [ 2020269 ] PF/runtime fails to link on Darwin (MacOS X) https://sourceforge.net/tracker/index.php?func=detail&aid=2020269&group_id=56967&atid=482468 . However, now linking pathfinder/runtime5 fails on Windows: ======== libserialize.lib(serialize.obj) : error LNK2019: unresolved external symbol __imp__xrpc_port referenced in function _draw_queryflow libserialize.lib(serialize_dflt.obj) : error LNK2001: unresolved external symbol __imp__xrpc_port libserialize.lib(serialize.obj) : error LNK2019: unresolved external symbol __imp__xrpc_hostname referenced in function _draw_queryflow libserialize.lib(serialize_dflt.obj) : error LNK2001: unresolved external symbol __imp__xrpc_hostname lib_xquery.dll : fatal error LNK1120: 2 unresolved externals ======== see also http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.Int.32.32.d-Windows5.1..2008.07.17_00-09-01/make.out.html http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.Int.32.32.d-Windows5.1..2008.07.17_00-09-01/make-k.out.html http://www.ins.cwi.nl/~monet/permastore/2008-07-17/Current/make-pathfinder-Int.32.32.d-Windows5.1.errors.html#l430 Please note, simply linking runtime5 with lib_pf_support from runtime(4) is IMHO no solution. Please also be aware of cyclic dependencies, e.g., between libserialize and lib_pf_support in pathfinder/runtime, and (try to) avoid them. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2011858&group_id=56967 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Monetdb-bugs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/monetdb-bugs
