View previous topic :: View next topic |
Author |
Message |
linuxbum Tux's lil' helper
Joined: 20 Dec 2003 Posts: 131 Location: USA
|
Posted: Tue Feb 17, 2004 12:22 am Post subject: Kernel build for 2.4.24 error |
|
|
Ok so I never did get 2.6 to work correctly so I tried a 2.4.24 build using the 2.4.23 config file but it errored here:
Code: | make[3]: Entering directory `/usr/src/linux-2.4.24-sparc/drivers/char/drm'
make all_targets
make[4]: Entering directory `/usr/src/linux-2.4.24-sparc/drivers/char/drm'
sparc64-linux-gcc -D__KERNEL__ -I/usr/src/linux-2.4.24-sparc/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow -ffixed-g4 -fcall-used-g5 -fcall-used-g7 -Wno-sign-compare -Wa,--undeclared-regs -finline-limit=100000 -nostdinc -iwithprefix include -DKBUILD_BASENAME=ffb_drv -c -o ffb_drv.o ffb_drv.c
In file included from drmP.h:75,
from ffb_drv.c:9:
drm_os_linux.h:16:2: warning: #warning the author of this code needs to read up on list_entry
In file included from drm_dma.h:33, from ffb_drv.c:334:
drm_os_linux.h:16:2: warning: #warning the author of this code needs to read up on list_entry
ffb_drv.c:386: error: redefinition of `ffb_options'
drm_drv.h:138: error: `ffb_options' previously defined here
make[4]: *** [ffb_drv.o] Error 1
make[4]: Leaving directory `/usr/src/linux-2.4.24-sparc/drivers/char/drm'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.24-sparc/drivers/char/drm'
make[2]: *** [_subdir_drm] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.24-sparc/drivers/char'
make[1]: *** [_subdir_char] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.24-sparc/drivers'
make: *** [_dir_drivers] Error 2
|
Ok so now I'm searching in fourms but have not found anything concrete yet
Looks like they moved drm source in 24 releases but forgot to tell everybody
Any help would be glady accepted
Maybe after 2.4.24 works I try 2.6.1 [/b]
EDIT: Ok so I see DRM in many PC related posts HMMM I will see if I remove it in Kernel.
Nobody posting this error in SPARC land so I think I chose badly in Kernel config or it worked in 23 but not 24.
EDIT 2 wait I need DRM or Xfree will wine loudly about DRI suport now I remember this.....
Ok looking in google I see that they patched drm from 2.6 back to 2.4.23 no mention of 2.4.24 hmmmmm |
|
Back to top |
|
|
sdunne n00b
Joined: 02 Sep 2003 Posts: 72 Location: London, UK
|
Posted: Mon Feb 23, 2004 12:12 am Post subject: |
|
|
I've also been unable to get xfree working with any form of 2.4.24, but 2.4.23 works fine. Unfortunately I don't know enough about building kernels to go into any detail, but can provide Xfree logs and so on if it would help. |
|
Back to top |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Mon Feb 23, 2004 2:36 pm Post subject: |
|
|
The above error was a kernel bug in 2.4.24 that was carried over from 2.4.23 due to the quick release of 2.4.24 due to a security bug. If you build a 2.4.25 kernel, that problem should go away. |
|
Back to top |
|
|
linuxbum Tux's lil' helper
Joined: 20 Dec 2003 Posts: 131 Location: USA
|
Posted: Mon Feb 23, 2004 6:52 pm Post subject: |
|
|
Weeve
Thanks,
So is 25 under dev-sparc or source-sparc now? |
|
Back to top |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Mon Feb 23, 2004 6:56 pm Post subject: |
|
|
sparc-sources-2.4.25 will work or vanilla-sources-2.4.25
sparc-dev-sources is now depreciated by development-sources, but it's only design was for test 2.6 kernels for sparc. |
|
Back to top |
|
|
|