PDA

View Full Version : static Qt with MySQL Problem



sujan.dasmahapatra
9th July 2011, 21:19
Dear Friends

I have just configured Qt 4.7.3 statically. It was fine. Now I am trying to build my mysql application with the static Qt. it gives the following errors.



(.text[_gen_codes]+0x4):-1: error: undefined reference to `__security_cookie'

(.text[_gen_codes]+0x6f):-1: error: undefined reference to `@__security_check_cookie@4'

(.text[_inflate_table]+0x7):-1: error: undefined reference to `__security_cookie'

(.text[_inflate_table]+0xf8):-1: error: undefined reference to `@__security_check_cookie@4'

(.text[_inflate_table]+0x4e3):-1: error: undefined reference to `@__security_check_cookie@4'

:-1: error: collect2: ld returned 1 exit status



With the normal version of Qt its compiling perfectly. But with the static version this throws these errors. Any help would be appreciated. Thanks sujan