Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 186677

Summary: dev-db/myodbc-3.51.12 doesn't compile with linux-headers-2.6.21
Product: Gentoo Linux Reporter: Andre Hinrichs <andre.hinrichs>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Output of "emerge --info"

Description Andre Hinrichs 2007-07-26 14:22:11 UTC
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'.
Comment 1 Andre Hinrichs 2007-07-26 14:24:40 UTC
Created attachment 126074 [details]
Output of "emerge --info"

Forgot to say that it compiles fine with linux-headers-2.6.17-r2
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-07-26 14:24:50 UTC

*** This bug has been marked as a duplicate of bug 163151 ***

*** This bug has been marked as a duplicate of bug 163151 ***