Menu

#1189 Making pcidev kernel module.

open
nobody
5
2012-10-15
2009-09-23
No

Host system : gentoo linux x86_64 .
Kernel : gentoo-sources-2.6.30.

Follow configure command was used to configure bochs :

./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --enable-pae --enable-large-pages --enable-global-pages --enable-mtrr --enable-repeat-speedups --enable-trace-cache --enable-fast-function-calls --enable-ignore-bad-msr --enable-disasm --enable-logging --enable-raw-serial --enable-vbe --enable-clgd54xx --enable-fpu --enable-vme --enable-alignment-check --enable-sep --enable-popcnt --enable-monitor-mwait --enable-gameport --enable-iodebug --prefix=/usr --enable-ne2000 --enable-sb16=linux --enable-plugins --enable-cdrom --enable-pci --enable-pcidev --enable-pnic --enable-mmx --enable-sse=2 --enable-3dnow --enable-cpu-level=6 --enable-smp --with-nogui --enable-xsave --enable-aes --enable-usb --enable-readline --enable-debugger --with-X11 --without-sdl --without-svga --enable-acpi --enable-x86-64 --without-wx --with-rfb --with-x11 --with-term --enable-all-optimizations

When I try to make pcidev in host/linux/pcidev I recieve some errors from gcc. ( see attached log file)

What can be wrong?

Discussion

  • Vladimir Koshelev

    make log

     
  • Stanislav Shwartsman

    You see the error yourself:
    pcidev.c:283: error: 'SA_SHIRQ' undeclared (first use in this function)

    The 'SA_SHIRQ' symbol invalid in your host system (gentoo linux x86_64).
    Googling for 'SA_SHIRQ' also shows that this not only yours problem :)
    I would suggest you to google yourself, try solutions and post the final patch here !

    Thanks,
    Stanislav

     

Log in to post a comment.