Dear Drizzle Team,

make command throws the following below error, although I have include the 
zlib.h library, 

  CXXLD  client/drizzle_password_hash
libdrizzle-2.0/.libs/libdrizzle-2.0.a(libdrizzle_2_0_libdrizzle_2_0_la-conn.o): 
In function `drizzle_state_read':
/home/umair/drizzle_trunk/libdrizzle-2.0/conn.cc:1387: undefined reference to 
`uncompress'
/home/umair/drizzle_trunk/libdrizzle-2.0/conn.cc:1390: undefined reference to 
`zError'
/home/umair/drizzle_trunk/libdrizzle-2.0/conn.cc:1391: undefined reference to 
`zError'
libdrizzle-2.0/.libs/libdrizzle-2.0.a(libdrizzle_2_0_libdrizzle_2_0_la-conn.o): 
In function `drizzle_state_write':
/home/umair/drizzle_trunk/libdrizzle-2.0/conn.cc:1418: undefined reference to 
`compressBound'
/home/umair/drizzle_trunk/libdrizzle-2.0/conn.cc:1422: undefined reference to 
`compress'
/home/umair/drizzle_trunk/libdrizzle-2.0/conn.cc:1426: undefined reference to 
`zError'
/home/umair/drizzle_trunk/libdrizzle-2.0/conn.cc:1427: undefined reference to 
`zError'
collect2: ld returned 1 exit status
make[2]: *** [client/drizzle_password_hash] Error 1
make[2]: Leaving directory `/home/umair/drizzle_trunk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/umair/drizzle_trunk'
make: *** [all] Error 2


Its works on the server but doesn't work on client libdrizzle-2.0.

Temporary, I have fix it by adding '-lz' on Makefile line LIBS =  -lrt 

Any one can guide to fix this linking issue?

Thanks in advance!

Kind Regards,

Umair Muhammad 
Electrical Engineering Master Student,
Specialization in Wireless Systems,
School of Electrical Engineering, 
Royal Institute of Technology (KTH),
SE 100-44 Stockholm, SWEDEN.
Email: mum...@kth.se 
Cell:   +46 764 097 574
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : drizzle-discuss@lists.launchpad.net
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to