LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-10-2006, 02:31 PM   #1
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
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??
 
Old 05-10-2006, 03:01 PM   #2
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
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...
 
Old 05-10-2006, 03:10 PM   #3
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Original Poster
Rep: Reputation: 50
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...
 
Old 05-10-2006, 03:37 PM   #4
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
reinstall glibc.
 
Old 05-10-2006, 04:17 PM   #5
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Original Poster
Rep: Reputation: 50
thanks, but it didnt work :-(
 
Old 05-10-2006, 08:00 PM   #6
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,158

Rep: Reputation: 237Reputation: 237Reputation: 237
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?
 
Old 05-11-2006, 03:14 AM   #7
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Original Poster
Rep: Reputation: 50
kernel headers? no, i use my own kernel....
 
Old 05-11-2006, 03:47 AM   #8
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
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).
 
Old 05-11-2006, 08:00 PM   #9
theoffset
Member
 
Registered: Aug 2005
Location: Guadalajara, Jal, Mexico
Distribution: Slackware Linux
Posts: 211

Rep: Reputation: 31
Quote:
Originally Posted by satinet
also is slocate broken??
Well, it is working nice with me. Did you run
Code:
slocate -u
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.
 
Old 05-12-2006, 12:09 PM   #10
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Original Poster
Rep: Reputation: 50
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?
 
Old 05-12-2006, 07:33 PM   #11
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,158

Rep: Reputation: 237Reputation: 237Reputation: 237
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.
 
Old 05-13-2006, 07:43 AM   #12
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Original Poster
Rep: Reputation: 50
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.........
 
Old 05-13-2006, 06:35 PM   #13
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware, Arch
Posts: 386

Rep: Reputation: 41
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.
 
Old 05-13-2006, 10:50 PM   #14
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,796

Rep: Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884
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
 
Old 05-14-2006, 12:49 AM   #15
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware, Arch
Posts: 386

Rep: Reputation: 41
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
broken upgrade mbreith Linux - Software 2 02-08-2006 04:46 PM
Has the KDE 3.4 upgrade in Etch broken anything for you? vharishankar Debian 12 12-15-2005 09:33 PM
Broken X after upgrade barkers Debian 3 10-20-2005 10:36 AM
FC4 yum broken after upgrade Kabuso Fedora 4 06-26-2005 05:49 PM
gbde broken after upgrade. dica *BSD 0 11-30-2004 03:59 AM

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

All times are GMT -5. The time now is 09:24 PM.

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