#70 km won't compile

open
nobody
None
5
2006-10-10
2006-10-10
themitchy
No

km won't compile on Ubuntu, Dapper release with
linux-headers and kernel-source installed...

mitchy@bigmukko:~/km$ sudo make
make -C /lib/modules/2.6.15-27-686/build
M=/home/mitchy/km modules
make[1]: Entering directory
`/usr/src/linux-headers-2.6.15-27-686'
CC [M] /home/mitchy/km/km_api.o
CC [M] /home/mitchy/km/km_api_data.o
CC [M] /home/mitchy/km/km_memory.o
CC [M] /home/mitchy/km/km.o
/home/mitchy/km/km.c:1026: error:
âPCI_DEVICE_ID_ATI_RADEON_LEâ undeclared here (not in a
function)
/home/mitchy/km/km.c:1028: error:
âPCI_DEVICE_ID_ATI_RADEON_LFâ undeclared here (not in a
function)
make[2]: *** [/home/mitchy/km/km.o] Error 1
make[1]: *** [_module_/home/mitchy/km] Error 2
make[1]: Leaving directory
`/usr/src/linux-headers-2.6.15-27-686'
make: *** [all] Error 2

Discussion

  • themitchy

    themitchy - 2006-10-10

    Logged In: YES
    user_id=1617806

    (this is using km-0.6.1)

     
  • themitchy

    themitchy - 2006-10-10

    Logged In: YES
    user_id=1617806

    ...also xorg v7.0.0 - so I'm assuming drm-kernel is already
    there.

     
  • Nathan Morris

    Nathan Morris - 2006-10-29

    Logged In: YES
    user_id=269170

    Can confirm this behaviour.

    urgru@udevlin:~/tvbuilding/km$ make
    make -C /lib/modules/2.6.17-10-generic/build
    M=/home/urgru/tvbuilding/km modules
    make[1]: Entering directory
    `/usr/src/linux-headers-2.6.17-10-generic'
    CC [M] /home/urgru/kmbuild/km/km.o
    /home/urgru/kmbuild/km/km.c:51: error: expected ‘)’ before
    string constant
    /home/urgru/kmbuild/km/km.c:52: error: expected ‘)’ before
    string constant
    /home/urgru/kmbuild/km/km.c:53: error: expected ‘)’ before
    string constant
    /home/urgru/kmbuild/km/km.c:1026: error:
    ‘PCI_DEVICE_ID_ATI_RADEON_LE’ undeclared here (not in a
    function)
    /home/urgru/kmbuild/km/km.c:1028: error:
    ‘PCI_DEVICE_ID_ATI_RADEON_LF’ undeclared here (not in a
    function)
    make[2]: *** [/home/urgru/kmbuild/km/km.o] Error 1
    make[1]: *** [_module_/home/urgru/kmbuild/km] Error 2
    make[1]: Leaving directory
    `/usr/src/linux-headers-2.6.17-10-generic'
    make: *** [all] Error 2

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks