- summary: Cannot install ArchLinux --> Cannot install in ArchLinux
[root@blackheart mpio-0.7.0]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Building for a i686-pc-linux-gnu host.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object
files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output...
/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports
shared libraries... yes
checking how to hardcode library paths into programs...
immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking whether byte ordering is bigendian... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking whether to use mplib... (cached) yes
checking for kernel version ... 2.6.10-ARCH
Using module path
/lib/modules/2.6.10-ARCH/kernel/drivers/usb.
Using kernel includes from
/lib/modules/2.6.10-ARCH/build/include
configure: creating ./config.status
config.status: creating Makefile
config.status: creating kernel/Makefile
config.status: creating libmpio/Makefile
config.status: creating mpiosh/Makefile
config.status: creating etc/Makefile
config.status: creating tools/Makefile
config.status: creating mpio.spec
config.status: executing depfiles commands
[root@blackheart mpio-0.7.0]# make
Making all in kernel
make[1]: Entering directory `/home/neypo/mpio-0.7.0/kernel'
gcc -c -D__KERNEL__ -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -DMODULE
-I/lib/modules/2.6.10-ARCH/build/include mpio.c
mpio.c:35:34: linux/modversions.h: No such file or
directory
In file included from
/lib/modules/2.6.10-ARCH/build/include/asm/processor.h:18,
from
/lib/modules/2.6.10-ARCH/build/include/asm/thread_info.h:17,
from
/lib/modules/2.6.10-ARCH/build/include/linux/thread_info.h:21,
from
/lib/modules/2.6.10-ARCH/build/include/linux/spinlock.h:12,
from
/lib/modules/2.6.10-ARCH/build/include/linux/capability.h:45,
from
/lib/modules/2.6.10-ARCH/build/include/linux/sched.h:7,
from
/lib/modules/2.6.10-ARCH/build/include/linux/module.h:10,
from mpio.c:37:
/lib/modules/2.6.10-ARCH/build/include/asm/system.h: In
function `__set_64bit_var':
/lib/modules/2.6.10-ARCH/build/include/asm/system.h:193:
warning: dereferencing type-punned pointer will break
strict-aliasing rules
/lib/modules/2.6.10-ARCH/build/include/asm/system.h:193:
warning: dereferencing type-punned pointer will break
strict-aliasing rules
In file included from
/lib/modules/2.6.10-ARCH/build/include/asm/smp.h:18,
from
/lib/modules/2.6.10-ARCH/build/include/linux/smp.h:17,
from
/lib/modules/2.6.10-ARCH/build/include/linux/sched.h:23,
from
/lib/modules/2.6.10-ARCH/build/include/linux/module.h:10,
from mpio.c:37:
/lib/modules/2.6.10-ARCH/build/include/asm/mpspec.h:6:25:
mach_mpspec.h: No such file or directory
In file included from
/lib/modules/2.6.10-ARCH/build/include/asm/smp.h:18,
from
/lib/modules/2.6.10-ARCH/build/include/linux/smp.h:17,
from
/lib/modules/2.6.10-ARCH/build/include/linux/sched.h:23,
from
/lib/modules/2.6.10-ARCH/build/include/linux/module.h:10,
from mpio.c:37:
/lib/modules/2.6.10-ARCH/build/include/asm/mpspec.h: At
top level:
/lib/modules/2.6.10-ARCH/build/include/asm/mpspec.h:8:
error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.10-ARCH/build/include/asm/mpspec.h:22:
error: `MAX_IRQ_SOURCES' undeclared here (not in a
function)
In file included from
/lib/modules/2.6.10-ARCH/build/include/linux/smp.h:17,
from
/lib/modules/2.6.10-ARCH/build/include/linux/sched.h:23,
from
/lib/modules/2.6.10-ARCH/build/include/linux/module.h:10,
from mpio.c:37:
/lib/modules/2.6.10-ARCH/build/include/asm/smp.h:72:26:
mach_apicdef.h: No such file or directory
In file included from
/lib/modules/2.6.10-ARCH/build/include/linux/smp.h:17,
from
/lib/modules/2.6.10-ARCH/build/include/linux/sched.h:23,
from
/lib/modules/2.6.10-ARCH/build/include/linux/module.h:10,
from mpio.c:37:
/lib/modules/2.6.10-ARCH/build/include/asm/smp.h: In
function `hard_smp_processor_id':
/lib/modules/2.6.10-ARCH/build/include/asm/smp.h:76:
warning: implicit declaration of function `GET_APIC_ID'
In file included from
/lib/modules/2.6.10-ARCH/build/include/linux/irq.h:21,
from
/lib/modules/2.6.10-ARCH/build/include/asm/hardirq.h:6,
from
/lib/modules/2.6.10-ARCH/build/include/linux/hardirq.h:6,
from
/lib/modules/2.6.10-ARCH/build/include/linux/interrupt.h:11,
from
/lib/modules/2.6.10-ARCH/build/include/linux/usb.h:15,
from mpio.c:48:
/lib/modules/2.6.10-ARCH/build/include/asm/irq.h:16:25:
irq_vectors.h: No such file or directory
In file included from
/lib/modules/2.6.10-ARCH/build/include/asm/hardirq.h:6,
from
/lib/modules/2.6.10-ARCH/build/include/linux/hardirq.h:6,
from
/lib/modules/2.6.10-ARCH/build/include/linux/interrupt.h:11,
from
/lib/modules/2.6.10-ARCH/build/include/linux/usb.h:15,
from mpio.c:48:
/lib/modules/2.6.10-ARCH/build/include/linux/irq.h: At
top level:
/lib/modules/2.6.10-ARCH/build/include/linux/irq.h:71:
error: `NR_IRQS' undeclared here (not in a function)
In file included from
/lib/modules/2.6.10-ARCH/build/include/linux/irq.h:73,
from
/lib/modules/2.6.10-ARCH/build/include/asm/hardirq.h:6,
from
/lib/modules/2.6.10-ARCH/build/include/linux/hardirq.h:6,
from
/lib/modules/2.6.10-ARCH/build/include/linux/interrupt.h:11,
from
/lib/modules/2.6.10-ARCH/build/include/linux/usb.h:15,
from mpio.c:48:
/lib/modules/2.6.10-ARCH/build/include/asm/hw_irq.h:28:
error: `NR_IRQ_VECTORS' undeclared here (not in a function)
mpio.c:76: error: parse error before "devfs_handle_t"
mpio.c:76: warning: no semicolon at end of struct or union
mpio.c:84: error: parse error before '}' token
mpio.c:86: error: parse error before "usb_devfs_handle"
mpio.c:86: warning: type defaults to `int' in
declaration of `usb_devfs_handle'
mpio.c:86: warning: data definition has no type or
storage class
mpio.c: In function `open_mpio':
mpio.c:96: error: dereferencing pointer to incomplete type
mpio.c:96: error: dereferencing pointer to incomplete type
mpio.c:100: error: dereferencing pointer to incomplete type
mpio.c:102: error: dereferencing pointer to incomplete type
mpio.c:104: error: `MOD_INC_USE_COUNT' undeclared
(first use in this function)
mpio.c:104: error: (Each undeclared identifier is
reported only once
mpio.c:104: error: for each function it appears in.)
mpio.c: In function `close_mpio':
mpio.c:117: error: dereferencing pointer to incomplete type
mpio.c:119: error: `MOD_DEC_USE_COUNT' undeclared
(first use in this function)
mpio.c: In function `write_mpio':
mpio.c:140: error: dereferencing pointer to incomplete type
mpio.c:141: error: dereferencing pointer to incomplete type
mpio.c:144: error: dereferencing pointer to incomplete type
mpio.c:148: error: dereferencing pointer to incomplete type
mpio.c:152: error: dereferencing pointer to incomplete type
mpio.c:158: error: dereferencing pointer to incomplete type
mpio.c:168: error: dereferencing pointer to incomplete type
mpio.c:169: error: dereferencing pointer to incomplete type
mpio.c:169: error: dereferencing pointer to incomplete type
mpio.c:177: error: `USB_ST_TIMEOUT' undeclared (first
use in this function)
mpio.c:182: error: dereferencing pointer to incomplete type
mpio.c:204: error: dereferencing pointer to incomplete type
mpio.c: In function `read_mpio':
mpio.c:217: error: dereferencing pointer to incomplete type
mpio.c:221: error: dereferencing pointer to incomplete type
mpio.c:222: error: dereferencing pointer to incomplete type
mpio.c:227: error: dereferencing pointer to incomplete type
mpio.c:231: error: dereferencing pointer to incomplete type
mpio.c:234: error: dereferencing pointer to incomplete type
mpio.c:235: error: dereferencing pointer to incomplete type
mpio.c:240: error: dereferencing pointer to incomplete type
mpio.c:241: error: dereferencing pointer to incomplete type
mpio.c:241: error: dereferencing pointer to incomplete type
mpio.c:252: error: `USB_ST_TIMEOUT' undeclared (first
use in this function)
mpio.c:254: error: dereferencing pointer to incomplete type
mpio.c:258: error: dereferencing pointer to incomplete type
mpio.c:261: error: `USB_ST_DATAUNDERRUN' undeclared
(first use in this function)mpio.c:262: error:
dereferencing pointer to incomplete type
mpio.c:267: error: dereferencing pointer to incomplete type
mpio.c:273: error: dereferencing pointer to incomplete type
mpio.c:281: error: dereferencing pointer to incomplete type
mpio.c:294:41: missing binary operator before token "("
mpio.c: In function `probe_mpio':
mpio.c:317: error: request for member `altsetting' in
something not a structure or union
mpio.c:318: error: dereferencing pointer to incomplete type
mpio.c:318: error: dereferencing pointer to incomplete type
mpio.c:321: error: structure has no member named `endpoint'
mpio.c:327: error: dereferencing pointer to incomplete type
mpio.c:330: error: dereferencing pointer to incomplete type
mpio.c:335: error: dereferencing pointer to incomplete type
mpio.c:335: error: dereferencing pointer to incomplete type
mpio.c:343: error: dereferencing pointer to incomplete type
mpio.c:344: error: dereferencing pointer to incomplete type
mpio.c:346: error: dereferencing pointer to incomplete type
mpio.c:352: error: dereferencing pointer to incomplete type
mpio.c:354: error: dereferencing pointer to incomplete type
mpio.c:359: error: dereferencing pointer to incomplete type
mpio.c:359: warning: implicit declaration of function
`devfs_register'
mpio.c:360: error: `DEVFS_FL_DEFAULT' undeclared (first
use in this function)
mpio.c:364: error: dereferencing pointer to incomplete type
mpio.c:367: error: dereferencing pointer to incomplete type
mpio.c: In function `disconnect_mpio':
mpio.c:376: warning: implicit declaration of function
`devfs_unregister'
mpio.c:376: error: dereferencing pointer to incomplete type
mpio.c:378: error: dereferencing pointer to incomplete type
mpio.c:379: error: dereferencing pointer to incomplete type
mpio.c:381: error: dereferencing pointer to incomplete type
mpio.c:384: error: dereferencing pointer to incomplete type
mpio.c:385: error: dereferencing pointer to incomplete type
mpio.c:389: error: dereferencing pointer to incomplete type
mpio.c:392:41: missing binary operator before token "("
mpio.c: At top level:
mpio.c:403: warning: initialization from incompatible
pointer type
mpio.c:404: warning: initialization from incompatible
pointer type
mpio.c:405: error: unknown field `fops' specified in
initializer
mpio.c:405: warning: initialization from incompatible
pointer type
mpio.c:406: error: unknown field `minor' specified in
initializer
mpio.c:406: warning: initialization makes pointer from
integer without a cast
mpio.c:407:41: missing binary operator before token "("
mpio.c: In function `usb_mpio_cleanup':
mpio.c:428: error: dereferencing pointer to incomplete type
mpio.c:629:41: missing binary operator before token "("
mpio.c: At top level:
mpio.c:88: error: storage size of `mpio_instance' isn't
known
make[1]: *** [mpio.o] Error 1
make[1]: Leaving directory `/home/neypo/mpio-0.7.0/kernel'
make: *** [all-recursive] Error 1
[root@blackheart mpio-0.7.0]#
My guess is that its because ArchLinux by default uses
uDev rather then devfc (or vice versa?). But any help
in solving the issue would be great
Thanks.