LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-02-2004, 06:39 PM   #1
Frank_Drebin
Member
 
Registered: Feb 2004
Location: Atlanta, GA USA
Posts: 232

Rep: Reputation: 30
Problem getting anything to compile


Hello. I am having a problem getting anything to compile in Slackware 9.1. Yesterday I decided to clear out the HD and put a fresh Slackware 9.1 install on it. I Installed 9.1 with Gnome only and then upgraded all packages to current, installed nvidia and got everything up and running just fine. I then installed Dropline Gnome and it went just fine as well.

I decided that since I wanted to get K3b and cdbake oven that I would go ahead and install KDE as well so that I wouldn't have any problems with deps.

I installed KDE from the CD by installing all packages from the kde folder on CD2.

Ok, KDE now starts fine and Gnome runs fine too. But I found a new problem. I tried to compile Wine and cdbake oven and Pingus. All three give me the same error and I have no idea how to continue.

They configure fine when I run ./configure but give me the following error in make.
----------------------------------------->>>>>>>>>>>>>>>>>>>>>>>>>>>>>..


/usr/include/asm/byteorder.h:38: error: syntax error before `(' token
/usr/include/asm/byteorder.h:42: error: '__u64' is used as a type, but is not
defined as a type.
/usr/include/asm/byteorder.h:43: error: parse error before `}' token
/usr/include/asm/byteorder.h:44: error: syntax error before `.' token
/usr/include/asm/byteorder.h:50: error: syntax error before `.' token
/usr/include/asm/byteorder.h:51: error: syntax error before `.' token
/usr/include/asm/byteorder.h:52: error: parse error before `:' token
In file included from /usr/include/linux/byteorder/little_endian.h:11,
from /usr/include/asm/byteorder.h:65,
from /usr/include/linux/cdrom.h:14,
from CdboCDRom.cpp:34:
/usr/include/linux/byteorder/swab.h: In function `const __u32
__fswab24(unsigned int)':
/usr/include/linux/byteorder/swab.h:174: error: ISO C++ forbids braced-groups
within expressions
/usr/include/linux/byteorder/swab.h:174: error: ISO C++ forbids braced-groups
within expressions
/usr/include/linux/byteorder/swab.h: In function `__u32 __swab24p(__u32*)':
/usr/include/linux/byteorder/swab.h:178: error: ISO C++ forbids braced-groups
within expressions
/usr/include/linux/byteorder/swab.h:178: error: ISO C++ forbids braced-groups
within expressions
/usr/include/linux/byteorder/swab.h: In function `void __swab24s(__u32*)':
/usr/include/linux/byteorder/swab.h:182: error: ISO C++ forbids braced-groups
within expressions
/usr/include/linux/byteorder/swab.h:182: error: ISO C++ forbids braced-groups
within expressions
/usr/include/linux/byteorder/swab.h: At global scope:
/usr/include/linux/byteorder/swab.h:199: error: syntax error before `(' token
/usr/include/linux/byteorder/swab.h:209: error: syntax error before `(' token
/usr/include/linux/byteorder/swab.h:213: error: `__u64' was not declared in
this scope
/usr/include/linux/byteorder/swab.h:213: error: `addr' was not declared in this
scope
/usr/include/linux/byteorder/swab.h:214: error: variable or field `__swab64s'
declared void
/usr/include/linux/byteorder/swab.h:214: error: `__swab64s' declared as an
`inline' variable
/usr/include/linux/byteorder/swab.h:214: error: syntax error before `{' token
make[3]: *** [CdboCDRom.lo] Error 1
make[3]: Leaving directory `/home/jimmy/Downloads/cdbakeoven-2.0beta2/cdbakeoven/cdboshared'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jimmy/Downloads/cdbakeoven-2.0beta2/cdbakeoven'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jimmy/Downloads/cdbakeoven-2.0beta2'
make: *** [all] Error 2root@slackware:/home/jimmy/Downloads/cdbakeoven-2.0beta2#


--------------------------------------------------------------------------------------------->>

I went ahead and tried make install but it didn't work. I'm not sure where to go from here. I never had this problem before this fresh install. Did I miss something?

Any help would be appreciated.
 
Old 05-02-2004, 06:44 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
hmm.,,,,,/usr/include

looks like the kernel header files are out of whack........

did you happen to upgrade them to current also??
you might un-install them and put in the default version that came
with 9.1...........v.2.4.22
header files only, leave kernel and modules as they are now.

Last edited by 320mb; 05-02-2004 at 06:48 PM.
 
Old 05-02-2004, 07:55 PM   #3
Frank_Drebin
Member
 
Registered: Feb 2004
Location: Atlanta, GA USA
Posts: 232

Original Poster
Rep: Reputation: 30
Thanks for the quick reply. I tried what you said and it was a no-go. I see no differences. hmmmmm, this is odd.
 
Old 12-22-2004, 05:09 PM   #4
benvanderjagt
LQ Newbie
 
Registered: Dec 2004
Location: Winchester, VA
Distribution: Slackware, SuSE, Vector, from scratch
Posts: 9

Rep: Reputation: 0
I've scoured the web for a solution to this problem, and I've found lots of answers that just don't work. I run Slackware-current, and I compiled and installed 2.6.9-rc3-bk13. I can't get... *looks around the room, then whispers* ...libdvdcss-1.2.8 to compile.

my solution? I logged onto my server (SuSE 9.1 Pro) and snatched the /usr/include/linux/byteorder/little_endian.h file and replaced my existing one with it. everything seems to work fine.

if you want, you can download it from my server:

http://local.winchesterpc.com/pub/little_endian.h

please let me know if this works for you or if you have other results...
 
Old 01-13-2005, 08:12 AM   #5
ramen
Member
 
Registered: Nov 2002
Location: Yorkshire,England
Distribution: Slackware, Slamd64
Posts: 47

Rep: Reputation: 15
This has just happened too me also, i found a fix add ./configure --build=i686 and everything compiles again
 
  


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
Compile problem wmoti Programming 5 11-08-2005 07:23 AM
Problem to compile os2 Programming 4 05-03-2005 01:36 PM
C++ compile problem -- HELP !! aherrys Linux - Software 2 01-06-2005 03:29 AM
ntop compile/post-compile problem? tjb Linux - Software 3 12-28-2004 04:22 PM
Problem with compile noeffort Linux - Software 2 02-29-2004 01:02 PM

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

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