Menu

#4 Can't compile on ppc (linux)

build errors
closed-fixed
nobody
None
5
2018-03-17
2001-08-30
No

This system is using glibc-2.2.4, kernel 2.4.9, gcc-2.95.3
Linux from scratch "distro"

gcc -b powerpc-unknown-linux-gnu -DHAVE_CONFIG_H -I.
-Ilinux/powerpc -I./linux/powerpc -Ilinux -I./linux
-D_GNU_SOURCE -c bjm.c
In file included from bjm.c:45:
/usr/include/linux/module.h:62: parse error before
`atomic_t'
/usr/include/linux/module.h:62: warning: no semicolon
at end of struct or union
/usr/include/linux/module.h:62: warning: no semicolon
at end of struct or union
/usr/include/linux/module.h:64: parse error before `}'
/usr/include/linux/module.h:64: warning: data
definition has no type or storage class
/usr/include/linux/module.h:93: parse error before `}'
make: *** [bjm.o] Error 1

thanks

Discussion

  • Eugene Syromyatnikov

    • status: open --> closed-fixed
     
  • Eugene Syromyatnikov

    Fixed in 7b3346be42d6a1f539e95d385ee498f8b3c529f8.