LinuxQuestions.org
Help answer threads with 0 replies.
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 04-27-2006, 06:22 AM   #1
zefo
Member
 
Registered: Mar 2003
Posts: 71

Rep: Reputation: 15
Unhappy cannot compile programs in -current w/ 2.6.x


hello,

first i installed slackware 10.2. then because of missing pcmcia support for my old acer notebook i installed 2.6.x kernel from testing/ (-current). i ommited kernel headers as was recommended in warning file. a day after i upgraded the rest packages to -current. now the current status is that i cannot compile any program since all of them complain about missing .h files (linux.h for example). interestingly enough the files actually *are* present on the system. tried reinstalling 2.4.x kernel headers w/ no luck at all.

please, help me if you can.

thanks. cheers, joe
 
Old 04-27-2006, 06:33 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Did you install the "kernel-source" package?
You were correct not installing the "kernel-headers" package btw.

Eric
 
Old 04-27-2006, 06:36 AM   #3
zefo
Member
 
Registered: Mar 2003
Posts: 71

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Alien Bob
Did you install the "kernel-source" package?
You were correct not installing the "kernel-headers" package btw.

Eric
no, i did not. but do i really need it? the programs i intend to compile does nothing w/ the kernel (console mp3 player, xmms plugin).
 
Old 04-27-2006, 01:13 PM   #4
dennisk
Member
 
Registered: May 2004
Location: Southwestern USA
Distribution: CentOS
Posts: 279

Rep: Reputation: 30
Highmem causes a reduction in performance?!

Quote:
Highmem causes a reduction in performance
Under what conditions?

Dennisk
 
Old 04-27-2006, 02:07 PM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by zefo
all of them complain about missing .h files (linux.h for example).
By the way, the only "linux.h" file on my box belongs to the "parted" package, so that can hardly count as an important system file. Maybe you can post more precise error messages...

Eric
 
Old 04-27-2006, 04:10 PM   #6
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
what packages were upgraded?
did you read and follow UPGRADE.TXT?
 
Old 04-28-2006, 02:40 AM   #7
zefo
Member
 
Registered: Mar 2003
Posts: 71

Original Poster
Rep: Reputation: 15
Post

Quote:
Originally Posted by kodon
what packages were upgraded?
did you read and follow UPGRADE.TXT?
i upgraded ALL packages on my somewhat stripped Slackware box. as for the UPGRADE.TXT: yes I read it and followed it step by step.
here come more details about what i am trying to do and what error messages i am getting. invoking make on dd_rescue 1.11 sources.
Code:
/usr/include/asm/signal.h:27: error: conflicting types for 'sigset_t'
/usr/include/sys/select.h:38: error: previous declaration of 'sigset_t' was here
the signal.h file (5197 B) comes from kernel-headers-2.4.32-i386-1, the other one (4156 B) from glibc-2.3.6-i486-3. now, i'll try to run moc (moc.daper.net).
Code:
checking fcntl.h presence... yes
configure: WARNING: fcntl.h: present but cannot be compiled
configure: WARNING: fcntl.h:     check for missing prerequisite headers?
configure: WARNING: fcntl.h: see the Autoconf documentation
configure: WARNING: fcntl.h:     section "Present But Cannot Be Compiled"
configure: WARNING: fcntl.h: proceeding with the preprocessor's result
configure: WARNING: fcntl.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------ ##
configure: WARNING:     ## Report this to daper@daper.net ##
configure: WARNING:     ## ------------------------------ ##
checking for fcntl.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/param.h usability... no
checking sys/param.h presence... no
checking for sys/param.h... no
configure: error: Can't find required header files.
strange cause /usr/include/sys/param.h does exist (in glibc-2.3.6-i486-3). let's try some luck w/ xmms-crossfade:
Code:
checking for glib-config... /usr/bin/glib-config
checking for GLIB - version >= 1.2.7... no
*** Could not run GLIB test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding GLIB or finding the wrong
*** version of GLIB. If it is not finding GLIB, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
***
*** If you have a RedHat 5.0 system, you should remove the GTK package that
*** came with the system with the command
***
***    rpm --erase --nodeps gtk gtk-devel
configure: error: *** GLIB >= 1.2.7 not installed - please install first ***
oh no, no way. and what does glib-config --version get me? 1.2.10 ..
now i don't get all this. thanks for the hints.
 
Old 04-29-2006, 03:32 AM   #8
zefo
Member
 
Registered: Mar 2003
Posts: 71

Original Poster
Rep: Reputation: 15
Cool problem resolved

from an unknown reason files from glibc and kernel-headers package were not upgrade even when the packages were located in /var/log/packages. reinstalled, now works fine. thanks to everybody for the suggestions.
 
  


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
Slackware-Current & Custom Compile slaxnoob Slackware 2 01-12-2010 01:40 PM
Swaret: --current upgrade broke some programs deadlikeoscar Slackware 30 05-16-2006 09:35 AM
Sylpheed-Claws compile error on Slackware-current jaakkop Linux - Software 3 02-12-2006 10:31 AM
Start programs at startup and get rid of current saved session Shwiing Linux - Software 2 08-04-2005 01:14 AM
ImageMagick Won't compile with Kismet (Slack-Current) xannix Linux - Wireless Networking 0 05-31-2004 04:49 PM

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

All times are GMT -5. The time now is 05:55 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