Will attach emerge info. Here is the error message: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -O3 -DDBUG_OFF -O3 -march=pentium3 -mfpmath=sse -mmmx -msse -maccumulate-outgoing-args -fomit-frame-pointer -pipe -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -MT catalog.lo -MD -MP -MF .deps/catalog.Tpo -c catalog.c -fPIC -DPIC -o .libs/catalog.o In file included from myodbc3.h:65, from catalog.c:49: /usr/include/mysql/my_global.h:361:24: error: asm/atomic.h: No such file or directory make[2]: *** [catalog.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-db/myodbc-3.51.12/work/mysql-connector-odbc-3.51.12/driver' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/dev-db/myodbc-3.51.12/work/mysql-connector-odbc-3.51.12/driver' make: *** [all-recursive] Error 1 !!! ERROR: dev-db/myodbc-3.51.12 failed. Call stack: ebuild.sh, line 1621: Called dyn_compile ebuild.sh, line 973: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile myodbc-3.51.12.ebuild, line 45: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/dev-db/myodbc-3.51.12/temp/build.log'.
Created attachment 126074 [details] Output of "emerge --info" Forgot to say that it compiles fine with linux-headers-2.6.17-r2
*** This bug has been marked as a duplicate of bug 163151 *** *** This bug has been marked as a duplicate of bug 163151 ***