/usr/include/mysql/my_global.h:361:24: error: asm/atomic.h: No such file or directory


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » CustomBuild » ./build php
Top Level » MySQL / MariaDB

/usr/include/mysql/my_global.h:361:24: error: asm/atomic.h: No such file or directory Last Modified: Nov 5, 2010, 12:37 am
When trying to compile php 5.3, if you get this error:

/usr/include/mysql/my_global.h:361:24: error: asm/atomic.h: No such file or directory

Then you can type the following to comment out the include line from the asm/atomic.h from the my_global.h file (it's not required).

perl -pi -e 's#\#include <asm/atomic.h>#//\#include <asm/atomic.h>#' /usr/include/mysql/my_global.h

Then try the php compile again.

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST