Skip to contentSkip to conversation

redland build fails

DISCUSSION Andreas Mueller 2 participants 2 messages Sep 3, 2010

lore
Share & tools
lore
#0 lore raw

On building redland I get

| /bin/sh ../arm-angstrom-linux-gnueabi-libtool --tag=CC --mode=compile
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -DHAVE_CONFIG_H -I. -I../rasqal/src -I../raptor/src -isystem/home/Superandi/OpenEmbedded/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -I/home/Superandi/OpenEmbedded/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -I/home/Superandi/OpenEmbedded/tmp/sysroots/i686-linux/usr/armv7a/include -isystem/home/Superandi/OpenEmbedded/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -ggdb3 -DPKGDATADIR="\"/usr/share/redland\"" -I../rasqal/src -I../raptor/src -isystem/home/Superandi/OpenEmbedded/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -I/home/Superandi/OpenEmbedded/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -I/home/Superandi/OpenEmbedded/tmp/sysroots/i686-linux/usr/armv7a/include -isystem/home/Superandi/OpenEmbedded/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -ggdb3 -DLIBRDF_INTERNAL=1 -isystem/home/Superandi/OpenEmbedded/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3 -MT
rdf_storage_mysql.lo -MD -MP -MF .deps/rdf_storage_mysql.Tpo -c -o rdf_storage_mysql.lo rdf_storage_mysql.c ..

| rdf_storage_mysql.c:49:19: error: mysql.h: No such file or directory
| rdf_storage_mysql.c:50:26: error: mysqld_error.h: No such file or directory
| rdf_storage_mysql.c:134: error: expected specifier-qualifier-list before 'MYSQL'

....

I checked: these files are found in tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/mysql. There is not path for usr/include/mysql.

Any suggestions to get this buildingo?

Andreas

#1 lore raw
Quoted 6 lines · Andreas Mueller

On building redland I get

| /bin/sh ../arm-angstrom-linux-gnueabi-libtool --tag=CC   --mode=compile
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -DHAVE_CONFIG_H -I.  -I../rasqal/src -I../raptor/src  -isystem/home/Superandi/OpenEmbedded/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -I/home/Superandi/OpenEmbedded/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -I/home/Superandi/OpenEmbedded/tmp/sysroots/i686-linux/usr/armv7a/include -isystem/home/Superandi/OpenEmbedded/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -ggdb3 -DPKGDATADIR="\"/usr/share/redland\""  -I../rasqal/src -I../raptor/src  -isystem/home/Superandi/OpenEmbedded/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -I/home/Superandi/OpenEmbedded/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -I/home/Superandi/OpenEmbedded/tmp/sysroots/i686-linux/usr/armv7a/include -isystem/home/Superandi/OpenEmbedded/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -ggdb3   -DLIBRDF_INTERNAL=1 -isystem/home/Superandi/OpenEmbedded/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3 -MT rdf_storage_mysql.lo -MD -MP -MF .deps/rdf_storage_mysql.Tpo -c -o rdf_storage_mysql.lo rdf_storage_mysql.c
..

Quoted 8 lines
| rdf_storage_mysql.c:49:19: error: mysql.h: No such file or directory
| rdf_storage_mysql.c:50:26: error: mysqld_error.h: No such file or directory
| rdf_storage_mysql.c:134: error: expected specifier-qualifier-list before 'MYSQL'

....

I checked: these files are found in tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/mysql. There is not path for usr/include/mysql.

Any suggestions to get this buildingo?

patch redland to include <mysql/mysql.h> I am guessing right now it does include <mysql.h> or you could add the above path to -I list so compiler finds this header

Quoted 8 lines

Andreas

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel