Hi! On 17 Mar 2012, at 19:21, Richard Dunn wrote:
> Same problem with MariaDB 5.5.21... > Is this what you see currently? Produced this using 5.5.21 using BUILD/compile-pentium64-max [ 77%] Building C object storage/maria/unittest/CMakeFiles/ma_pagecache_consist_64k-t.dir/test_file.c.o Linking CXX executable ma_pagecache_consist_1kRD-t Linking CXX executable ma_pagecache_consist_1kWR-t Undefined symbols for architecture x86_64: "_key_PAGECACHE_cache_lock", referenced from: _init_pagecache in libaria.a(ma_pagecache.c.o) ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status Undefined symbols for architecture x86_64: "_key_PAGECACHE_cache_lock", referenced from: _init_pagecache in libaria.a(ma_pagecache.c.o) ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make[2]: *** [storage/maria/unittest/ma_pagecache_consist_1kRD-t] Error 1 make[1]: *** [storage/maria/unittest/CMakeFiles/ma_pagecache_consist_1kRD-t.dir/all] Error 2 make[2]: *** [storage/maria/unittest/ma_pagecache_consist_1kWR-t] Error 1 make[1]: *** [storage/maria/unittest/CMakeFiles/ma_pagecache_consist_1kWR-t.dir/all] Error 2 Linking CXX executable ma_pagecache_consist_64k-t Undefined symbols for architecture x86_64: "_key_PAGECACHE_cache_lock", referenced from: _init_pagecache in libaria.a(ma_pagecache.c.o) ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make[2]: *** [storage/maria/unittest/ma_pagecache_consist_64k-t] Error 1 make[1]: *** [storage/maria/unittest/CMakeFiles/ma_pagecache_consist_64k-t.dir/all] Error 2 [ 88%] Built target sql make: *** [all] Error 2 > > On Mar 4, 2012, at 07:53 , Richard Dunn wrote: > >> I've been compiling MySQL and MariaDB on OS X for quite some time now, but >> this is the first time that I have ever used CMake to build an application. >> The 'make' step consistently fails with the following: >> >> Linking CXX executable ma_pagecache_consist_1k-t >> Undefined symbols for architecture x86_64: >> "_key_PAGECACHE_cache_lock", referenced from: >> _init_pagecache in libaria.a(ma_pagecache.c.o) >> ld: symbol(s) not found for architecture x86_64 >> >> I assume libaria.a is Maria specific. >> >> As a sanity check, I downloaded the MySQL source code for 5.5.21 from the >> MySQL site and I successfully compiled everything with CMake. >> >> Has anyone else successfully compiled a 64 bit 5.5.20 MariaDB on OS X? What >> am I missing? > > > _______________________________________________ > Mailing list: https://launchpad.net/~maria-discuss > Post to : maria-discuss@lists.launchpad.net > Unsubscribe : https://launchpad.net/~maria-discuss > More help : https://help.launchpad.net/ListHelp -- Colin Charles, http://bytebot.net/blog/ | twitter: @bytebot | skype: colincharles MariaDB: Community developed. Feature enhanced. Backward compatible. Download it at: http://www.mariadb.org/ Open MariaDB/MySQL documentation at the Knowledgebase: http://kb.askmonty.org/ _______________________________________________ Mailing list: https://launchpad.net/~maria-discuss Post to : maria-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-discuss More help : https://help.launchpad.net/ListHelp