LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-25-2007, 06:53 AM   #1
pete_bogg
Member
 
Registered: Aug 2003
Location: Kentucky
Distribution: Ubuntu 9.10
Posts: 153

Rep: Reputation: 31
sw12: Compile errors with fglrx and kmymoney2


I am having trouble compiling fglrx from the ati driver 8.39.4 and kmymoney 0.8.7 (using the 0.8.6 slackbuild).

I am running a clean install of Slackware 12 with the non-SMP generic kernel.

Here is the error message from the fglrx make:
Code:
root@elfworks:/lib/modules/fglrx/build_mod# ./make.sh
ATI module generator V 2.0
==========================
initializing...
Error:
kernel includes at /lib/modules/2.6.21.5/build/include do not match current kernel.
they are versioned as ""
instead of "2.6.21.5".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux
root@elfworks:/lib/modules/fglrx/build_mod#
And here is the error from kmymoney2 (Note: I modified the slackbuild for version 0.8.7):
Code:
root@elfworks:/usr/local/src/kmymoney2# ./kmymoney2.SlackBuild
<snip>
/usr/lib/qt/bin/moc ./kmymoneyregisterinvestment.h -o kmymoneyregisterinvestment.moc
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/lib/qt/include -I.  -I../.. -I.  -DQT_THREAD_SUPPORT  -D
_REENTRANT -D_CHECK_MEMORY -DKMM_DEBUG=0  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOUR
CE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -m
arch=i486 -mtune=i686 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptio
ns -fno-check-new -fno-common -fexceptions  -MT kmymoneyregisterinvestment.o -MD -MP -MF ".deps/kmymon
eyregisterinvestment.Tpo" -c -o kmymoneyregisterinvestment.o kmymoneyregisterinvestment.cpp; \
        then mv -f ".deps/kmymoneyregisterinvestment.Tpo" ".deps/kmymoneyregisterinvestment.Po"; else
rm -f ".deps/kmymoneyregisterinvestment.Tpo"; exit 1; fi
*** glibc detected *** /usr/libexec/gcc/i486-slackware-linux/4.1.2/cc1plus: free(): invalid size: 0x08
669f50 ***
======= Backtrace: =========
/lib/libc.so.6[0x400a1c23]
/lib/libc.so.6(cfree+0x90)[0x400a50f0]
/usr/libexec/gcc/i486-slackware-linux/4.1.2/cc1plus[0x8345e5c]
======= Memory map: ========
08048000-084d0000 r-xp 00000000 22:02 37323      /usr/libexec/gcc/i486-slackware-linux/4.1.2/cc1plus
084d0000-084d5000 rw-p 00487000 22:02 37323      /usr/libexec/gcc/i486-slackware-linux/4.1.2/cc1plus
084d5000-0869d000 rw-p 084d5000 00:00 0          [heap]
40000000-4001b000 r-xp 00000000 22:02 14119      /lib/ld-2.5.so
4001b000-4001d000 rw-p 0001b000 22:02 14119      /lib/ld-2.5.so
4001d000-4001e000 r--p 00000000 22:02 99670      /usr/lib/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES
4001e000-40038000 rw-p 4001e000 00:00 0
40039000-4003a000 rw-p 40039000 00:00 0
4003a000-40176000 r-xp 00000000 22:02 14077      /lib/libc-2.5.so
40176000-40177000 r--p 0013c000 22:02 14077      /lib/libc-2.5.so
40177000-40179000 rw-p 0013d000 22:02 14077      /lib/libc-2.5.so
40179000-4017d000 rw-p 40179000 00:00 0
4017d000-401b0000 r--p 00000000 22:02 99594      /usr/lib/locale/en_US/LC_CTYPE
401b0000-42c06000 rw-p 401b0000 00:00 0
42c22000-42c2c000 r-xp 00000000 22:02 193        /usr/lib/libgcc_s.so.1
42c2c000-42c2d000 rw-p 00009000 22:02 193        /usr/lib/libgcc_s.so.1
42d00000-42d21000 rw-p 42d00000 00:00 0
42d21000-42e00000 ---p 42d21000 00:00 0
bf9b2000-bf9c9000 rw-p bf9b2000 00:00 0          [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]
/usr/lib/qt/include/qvaluevector.h:94: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [kmymoneyregisterinvestment.o] Error 1
make[4]: Leaving directory `/tmp/SBo/kmymoney2-0.8.7/kmymoney2/widgets'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/SBo/kmymoney2-0.8.7/kmymoney2/widgets'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SBo/kmymoney2-0.8.7/kmymoney2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/kmymoney2-0.8.7'
make: *** [all] Error 2
root@elfworks:/usr/local/src/kmymoney2#
Any thoughts on either one of these errors?

Also, firefox crashed about a dozen times last night when I unsuccessfully tried to post this. Half of the times, I got slammed back to the kdm login screen. That is not even addressing the constant kde errors ("The application _________ crashed and caused the signal 6 (SIGABRT)") What the @#$#@ is going on?

Last edited by pete_bogg; 07-25-2007 at 08:13 AM.
 
Old 07-25-2007, 07:13 AM   #2
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware
Posts: 573

Rep: Reputation: 59
Re fglrx

Do you still have the smp kernel and smp kernel modules, which you are not using installed? If so it might be a good idea to uninstall them, or recompile your kernel with the CONFIG_HEADERS_CHECK option, as the fglrx installer seems to get confused if you have more than one set of kernel modules installed. see this post.

I installed fglrx 8.39.4 last night without problems, so far anyway , but I did removepkg the kernels and kernel modules I wasn't using first.

No ideas about the Kmymoney. perhaps you could contact the slackbuilds.org guys on #slackbuilds on irc.freenode.net?

Last edited by Eternal_Newbie; 07-25-2007 at 07:16 AM.
 
Old 07-25-2007, 10:19 PM   #3
pete_bogg
Member
 
Registered: Aug 2003
Location: Kentucky
Distribution: Ubuntu 9.10
Posts: 153

Original Poster
Rep: Reputation: 31
I removed the unused stuff out of /boot and tried again to create the fglrx.ko module.

After 2 hours of backtracking through error messages, I found that /lib/modules/2.6.21.5/build/include/linux/utsrelease.h had to be modified to remove the 'smp' from the kernel name. (It seems that there is only kernel-headers-2.6.21.5_smp and not kernel-headers-2.6.21.5 on the install disks.

After making the modification above, I finally got the fglrx.ko module. When trying to modprobe it, I got an error stating that the module was in the wrong format.

I removed all the fglrx stuff and decided to try again. This time I used the ati-driver-installer-8.39.4-x86.x86_64.run --buildpkg Slackware/All option. I did an installpkg on the fglrx-module and fglrx packages. I tried again to modprobe fglrx and got the same wrong format error.

All and all, I spent approximately 3 hours trying to get a working fglrx.ko module modprobed. I am now at a loss. What am I doing wrong?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sw12: arts errors pete_bogg Slackware 3 07-24-2007 04:58 AM
FGLRX errors with Gentoo AMD64 trilog Linux - Desktop 0 03-15-2007 09:13 AM
dri and AIGLX errors with fglrx fifteen10e56 Linux - Software 0 02-08-2007 05:13 PM
Getting errors when installing fglrx driver Duukkis Debian 5 05-15-2004 08:49 PM
2.6.2 fglrx insmod errors zigmund555 Slackware 16 02-11-2004 10:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration