ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
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.
So, again, the distro is Slackware 13.1, but it's modified with a lot of custom packages. This means also the kernel is newer, new kernel headers and so on.
I think one of the packages does this... but which one I dont know.
I've also try to just rebuild the exact packages from Slackware 13.1 repository and fails with the same error.
So I suppose some headers, some place changed and they are not fully compatible with what parted needs... this is what I think, but as Im not a programmer, I have no idea what is screwing this up.
P.S. libc, gcc, make and so on is still Slackware 13.1.
Just tried on my Slackware64 with a 2.6.34 kernel and it compiles just fine.
I guess you've somehow mixed scsi.h provided by the kernel you're using with scsi.h provided by glibc
Ok if glibc contains some scsi files and the linux kernel does also... how do you know... which is good and which is bad!?! How does the guys from Slackware do this packages?!
I guess they are different because glibc headers are used to compile programs, while kernel headers are used when compiling device drivers
I think that it's you that have mixed them, because otherwise kernel headers are located in /usr/src/linux-<kernel-version>/include
Anyway glad to see it worked. You can mark the thread "solved" using the thread tools
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.