-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Koen Kooi wrote: | Try to find out where the -I/usr/include (most likely a -I${includedir} | somewhere) is coming from and find a way to remove it.
Well, when I first tried to work around the compilation error, I did try manually running the gcc cross-compiler that bitbake built for the hx4700, removing -I/usr/include/mysql from the gcc command, and while it didn't complain that any headers were missing, I got bizarre compilation errors and warnings that weren't there when I used the workaround that allows /usr/include to be in the INCLUDEPATH. So if I just remove it, I expect I'll run into the same compilation errors and warnings I got before. Do I need to replace /usr/include/mysql with an angstrom-specific mysql include dir? I did find a slightly different set of mysql header files in /OE/angstrom-tmp/work/armv5te-angstrom-linux-gnueabi/mysql-4.1.18-r2/image/usr/include/mysql so maybe a build using those headers instead of the ones in /usr/include/mysql would work. Does that seem like the right thing to try? My tentative understanding of the reason why /usr/include references are bad is because it uses headers for the system on which the build is being done, which may be of a different version than the headers for the version of the binary being built for the embedded platform, but I just wanted to make sure I understood the goal before going further. - -- Bob Igo StormLogic -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIBBs565uO8u5kvxoRAlGeAJ9oSZj1BnC9dh4CiJoTfkPJF52t5gCdFg2g /R2v8vXzOJ5ArwWJuszBHmk= =hqsG -----END PGP SIGNATURE----- _______________________________________________ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel