SlackwareThis 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.
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.
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?
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.
Distribution: Slackware, SuSE, Vector, from scratch
Posts: 9
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.