Hi,
I encountered the same problems when trying to compile MySQL 4.1.18.
At present, I am compiling on my sl-c3000 Zaurus MySQL with no problems (The compilation isn't finished ...).
I do the following modifications to allow the compilation of MySQL :
- creation of the getconf shell script as follow (don't forget to put it in the path and do a chmod u+x on it)
#!/bin/bash
if [ "$1" == "GNU_LIBPTHREAD_VERSION" ]
then
echo "linuxthreads-0.9"
fi
Modified the configure file (in mysql-4.1.18/ ) replace the line number 25576 with the following lines :
pthread_t newtr;
(void) pthread_create(&newtr,(pthread_attr_t*) 0, 0, 0);
When my compilation will finish I will put the MySQL package in the "New Packages Announcement" topic (It's my first ipk build. I hope that no problems will be encountered ).