Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
05-10-2006, 02:31 PM
|
#1
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491
Rep:
|
slackware upgrade - make broken
Hi,
I've upgrade to slackware current (gcc 3.4.6). I want to recompike my kernel because the nvidia driver wont compile as the gcc version i used to compile the kernel is not the same one that is being used to compile the nvidia module.
when i go to my linux source in /usr/src and type make, this happens:
Code:
root@blue:/usr/src/linux-2.6.16.15# make
CHK include/linux/version.h
HOSTCC scripts/basic/fixdep
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:144,
from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/limits.h:122,
from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/syslimits.h:7,
from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/limits.h:11,
from scripts/basic/fixdep.c:113:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:115:
/usr/include/bits/socket.h:304:24: asm/socket.h: No such file or directory
scripts/basic/fixdep.c: In function `use_config':
scripts/basic/fixdep.c:214: error: `PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:214: error: (Each undeclared identifier is reported only once
scripts/basic/fixdep.c:214: error: for each function it appears in.)
scripts/basic/fixdep.c:214: warning: unused variable `s'
scripts/basic/fixdep.c: In function `parse_dep_file':
scripts/basic/fixdep.c:310: error: `PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:310: warning: unused variable `s'
make[2]: *** [scripts/basic/fixdep] Error 1
make[1]: *** [scripts_basic] Error 2
make: *** [include/linux/autoconf.h] Error 2
sorry for the dump.
Any ideas.
also is slocate broken??
|
|
|
05-10-2006, 03:01 PM
|
#2
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
My slocate is working fine, but I never 'upgraded', I just installed current fresh...
My guess is the libs for glib, etc need to be upgraded too. So many dependencies...
|
|
|
05-10-2006, 03:10 PM
|
#3
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491
Original Poster
Rep:
|
yeah i upgraded everything.... bit silly, but it's fun fixing it..... when it's time for slackware 11 i might do a clean install...
|
|
|
05-10-2006, 03:37 PM
|
#4
|
Member
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795
Rep:
|
reinstall glibc.
|
|
|
05-10-2006, 04:17 PM
|
#5
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491
Original Poster
Rep:
|
thanks, but it didnt work :-(
|
|
|
05-10-2006, 08:00 PM
|
#6
|
Senior Member
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,158
|
Quote:
Originally Posted by satinet
Code:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
...
/usr/include/bits/socket.h:304:24: asm/socket.h: No such file or directory
|
Are you sure that you didn't remove some header files while doing the upgrade?
|
|
|
05-11-2006, 03:14 AM
|
#7
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491
Original Poster
Rep:
|
kernel headers? no, i use my own kernel....
|
|
|
05-11-2006, 03:47 AM
|
#8
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
For better compability and avoid compiling errors, mantain the kernel headers of the version glibc was compiled against. Those errors as Ilgar stated are because they're looking for files from kernel headers (and it won't look in your kernel sources for them).
|
|
|
05-11-2006, 08:00 PM
|
#9
|
Member
Registered: Aug 2005
Location: Guadalajara, Jal, Mexico
Distribution: Slackware Linux
Posts: 211
Rep:
|
Quote:
Originally Posted by satinet
also is slocate broken??
|
Well, it is working nice with me. Did you run after upgrading to slocate-3.1.
From the ChangeLog:
Quote:
a/slocate-3.1-i486-1.tgz: Upgraded to slocate-3.1.
This uses a new database format, so you'll have to wait for the cron job or
run "updatedb -c /etc/updatedb.conf" as root. Thanks to Piotr Simon and
Erik Jan Tromp for pointing out that the docs for the previous package were
installed with incorrect permissions.
|
|
|
|
05-12-2006, 12:09 PM
|
#10
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491
Original Poster
Rep:
|
Thanks,
installing the old kernel headers has fixed make and i am now writing from a machine with a 2.6.16.15 kernel...
also slocate -u has worked.... i guess that was a bit silly! thanks
gdm and gnome are still broken......... seems to be libgsf that's causing the problem.
any ideas?
|
|
|
05-12-2006, 07:33 PM
|
#11
|
Senior Member
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,158
|
Quote:
Originally Posted by satinet
gdm and gnome are still broken......... seems to be libgsf that's causing the problem.
any ideas?
|
Glad that you've fixed the two issues. I see that your gdm is broken like mine. I switched to kdm temporarily. I wasn't able to track the problem to the origin, though. How did you conclude that libgsf is the trouble? I checked the libraries gdm was linked against but none of them were in the -current upgrade that broke my gdm, and libgsf doesn't seem to be linked. Btw, my Gnome works OK.
|
|
|
05-13-2006, 07:43 AM
|
#12
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491
Original Poster
Rep:
|
well, when i start gnome i get that error message on the screen when i log out (in slackware run level 3).
gnome doesnt work for me - no desktop background and you cannot log out without doing cntr alt backspace. The error message also mentions that nautilus is not working in some way, which i suspect is the problem.........
|
|
|
05-13-2006, 06:35 PM
|
#13
|
Member
Registered: May 2005
Location: München, Germany
Distribution: Slackware, Arch
Posts: 386
Rep:
|
Well in my case gdm broke after upgrading to -current. Wouldn't load, just a blank screen, and no error messages..
Any ideas?
-A
Last edited by Ahmed; 05-13-2006 at 06:37 PM.
|
|
|
05-13-2006, 10:50 PM
|
#14
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,796
|
me too, but i use KDM instead of GDM
I asked Pat about this and he said that it is working in his computer, but he uses the "nv" driver. Strange
|
|
|
05-14-2006, 12:49 AM
|
#15
|
Member
Registered: May 2005
Location: München, Germany
Distribution: Slackware, Arch
Posts: 386
Rep:
|
Well upgrading everything to current also means upgrading from kernel 2.4.31 to 2.4.32, where the nvidia driver will be void anyway and I'll have to switch back to nv. If I don't, X won't start in the first place. I managed to get Windowmaker to work, but it's not my desktop of choice..
-A
|
|
|
All times are GMT -5. The time now is 09:24 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|