Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

asm/linkage.h: No such file or directory

$
0
0
I'm trying to install the ftape drivers and tools. I'm stuck on this error in the drivers.

I got the source from http://ftape.cvs.sourceforge.net/viewvc/ftape/ and downloaded the GNU tarball. Had to remove linux/config.h from several places.

Now I'm getting this. Please help. I've spent many hours downloading kernel sources, running various make options, etc...

Code:

make
for i in ftape ; do make -C $i all ; done
make[1]: Entering directory `/tmp/ftape/ftape/ftape-driver/ftape'
grep: /usr/src/linux/include/linux/autoconf.h: No such file or directory
for i in internal lowlevel parport zftape; \
do \
  make -C $i NODEP=true versions; \
done
make[2]: Entering directory `/tmp/ftape/ftape/ftape-driver/ftape/internal'
grep: /usr/src/linux/include/linux/autoconf.h: No such file or directory
make[2]: Leaving directory `/tmp/ftape/ftape/ftape-driver/ftape/internal'
make[2]: Entering directory `/tmp/ftape/ftape/ftape-driver/ftape/lowlevel'
grep: /usr/src/linux/include/linux/autoconf.h: No such file or directory
make[2]: Leaving directory `/tmp/ftape/ftape/ftape-driver/ftape/lowlevel'
make[2]: Entering directory `/tmp/ftape/ftape/ftape-driver/ftape/parport'
grep: /usr/src/linux/include/linux/autoconf.h: No such file or directory
make[2]: Leaving directory `/tmp/ftape/ftape/ftape-driver/ftape/parport'
make[2]: Entering directory `/tmp/ftape/ftape/ftape-driver/ftape/zftape'
grep: /usr/src/linux/include/linux/autoconf.h: No such file or directory
make[2]: Leaving directory `/tmp/ftape/ftape/ftape-driver/ftape/zftape'
make -C internal modules
make[2]: Entering directory `/tmp/ftape/ftape/ftape-driver/ftape/internal'
grep: /usr/src/linux/include/linux/autoconf.h: No such file or directory
gcc -Wall -Wstrict-prototypes -O2  -fomit-frame-pointer -fno-strength-reduce -D__KERNEL__ -I. -I../../include -I/usr/src/linux/include -D__SMP__ -DCONFIG_X86 -mpreferred-stack-boundary=2 -march=i686 -DMODULE    -c -o fdc-internal.o fdc-internal.c
In file included from /usr/src/linux/include/linux/stat.h:59:0,
                from /usr/src/linux/include/linux/module.h:10,
                from fdc-internal.c:29:
/usr/src/linux/include/linux/types.h:229:8: error: redefinition of ‘struct list_head’
In file included from /usr/src/linux/include/linux/module.h:9:0,
                from fdc-internal.c:29:
../../include/linux/list.h:16:8: note: originally defined here
In file included from /usr/src/linux/include/linux/kernel.h:15:0,
                from /usr/src/linux/include/linux/cache.h:4,
                from /usr/src/linux/include/linux/time.h:7,
                from /usr/src/linux/include/linux/stat.h:60,
                from /usr/src/linux/include/linux/module.h:10,
                from fdc-internal.c:29:
/usr/src/linux/include/linux/linkage.h:5:25: fatal error: asm/linkage.h: No such file or directory
compilation terminated.
make[2]: *** [fdc-internal.o] Error 1
make[2]: Leaving directory `/tmp/ftape/ftape/ftape-driver/ftape/internal'
make[1]: *** [_modsubdir_internal] Error 2
make[1]: Leaving directory `/tmp/ftape/ftape/ftape-driver/ftape'
make: *** [all] Error 2

I'm on openSUSE 12.2 (i586). It's an AMD K7 cpu. KDE desktop.

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>