[Vortex] Vortex Library 1.1.5 / vortex-client build problems

Francis Brosnan Blazquez francis at aspl.es
Mon Sep 13 10:28:06 CEST 2010


> Hi, 

Hi Robert,

This is a compilation issue...

> using some pre-compiled OpenSSL stuff I made to get vortex compiled. But now some test programs make problems:
> 
> gcc.exe -g -Wall -Werror -I"." -I"../src" -I"../tunnel" -I"../tls" -I"../sasl" -I"../xml-rpc" -I"../pull" -I"../http" -I
> "../alive" -I"../../libaxl"/src -I"../../libaxl/src" -I/include -I"/usr/local/include" -DENABLE_SASL_SUPPORT -DENABLE_XM
> L_RPC_SUPPORT -DENABLE_TLS_SUPPORT -DVERSION=\""1.1.5.b4474.g4476"\" -DUSE_READLINE_STATIC -Wall -g -D__axl_disable_brok
> en_bool_def__ -mconsole vortex-client.o -o vortex-client.exe -Wall -Werror -g -L"../../libaxl"/src -laxl -L`dirname /usr
> /local/lib/libreadline.a` -lws2_32  -L../src -L../../libaxl/src -L/bin -laxl -lvortex-1.1 -L../tunnel -lvortex-tunnel-1.
> 1 -L../xml-rpc -lvortex-xml-rpc-1.1 -L../tls -lvortex-tls-1.1 -L../sasl -lvortex-sasl-1.1 -L../pull -lvortex-pull-1.1 -L
> ../http -lvortex-http-1.1 -L../alive -lvortex-alive-1.1 -lreadline

..you are at the same time setting -lreadline and a reference to a
static build at /usr/local/lib/libreadline.a

> vortex-client.o: In function `get_and_check_cancel':
> d:\develop\beep\libvortex-1.1\test/vortex-client.c:104: undefined reference to `_imp__readline'
> vortex-client.o: In function `get_number_int':
> d:\develop\beep\libvortex-1.1\test/vortex-client.c:141: undefined reference to `_imp__readline'
> vortex-client.o: In function `get_number_long':
> d:\develop\beep\libvortex-1.1\test/vortex-client.c:159: undefined reference to `_imp__readline'
> vortex-client.o: In function `vortex_client_write_frame':
> d:\develop\beep\libvortex-1.1\test/vortex-client.c:229: undefined reference to `_imp__readline'
> vortex-client.o: In function `vortex_client_get_channel_status':
> d:\develop\beep\libvortex-1.1\test/vortex-client.c:297: undefined reference to `_imp__readline'
> vortex-client.o:d:\develop\beep\libvortex-1.1\test/vortex-client.c:505: more undefined references to `_imp__readline' fo
> llow
> vortex-client.o: In function `main':
> d:\develop\beep\libvortex-1.1\test/vortex-client.c:1055: undefined reference to `_imp__add_history'
> d:\develop\beep\libvortex-1.1\test/vortex-client.c:1172: undefined reference to `_imp__readline'
> d:\develop\beep\libvortex-1.1\test/vortex-client.c:1181: undefined reference to `_imp__readline'
> d:\develop\beep\libvortex-1.1\test/vortex-client.c:1234: undefined reference to `_imp__clear_history'
> 
> Any idea what cause this could be?

Download a precompiled readline.dll and make your Make configuration to
point to that .dll. Cheers!

> - --
> Robert M. Münch
> Mobile: +49 177 245 2802
> http://www.robertmuench.de
> 
> 
> 
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGP Desktop 10.0.2 (Build 13)
> Charset: iso-8859-1
> 
> wsBVAwUBTIzpenSQa/BbHGLwAQl/CggAkKbJ0vplf1oUX8pYfRXLI6H8Sc13KuXO
> CKymnZT2pp6ZAVILz/myPzdqoPNqZOiPGNoqBJfn0YuqiCJikoZEC3ToA6ED4wJO
> cjuWuA87EaYOThwjr6aakHTsJYpK9E2F6SR5DfMixquDLnPqZxVlAsz8Ikf7wieG
> MB8/869d87ORUzL/H/sDyvp+6NNLPZ6Wpe0un0PDi05tUeLjzuEVA5i1ytc1E+Sw
> 5dk4/O55+r3OSKlaYPP1a96SEA0kyPin1BqbsVWUV+/eKMdxfgMB1wVUKCGtpCZB
> 6rxltkfzZGE6QTzBWZG4mCACsnYEeb7J/DcLxU8dxHuDSDtmdzjavA==
> =eeJo
> -----END PGP SIGNATURE-----
> _______________________________________________
> Vortex mailing list
> Vortex at lists.aspl.es
> http://lists.aspl.es/cgi-bin/mailman/listinfo/vortex
-- 
Francis Brosnan Blazquez <francis at aspl.es>
ASPL



More information about the Vortex mailing list