Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!

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.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

arch/x86/Makefile:136: CONFIG_X86_X32 enabled but no binutils support
Makefile:652: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
make[1]: *** No rule to make target `Driver/rts_pstor'. Stop

did you already run /.config ?
do you have installed binutils?
you can check it if you write: binutils -v or binutils -version

are you sure compiling from source is the right way to go about this? on ubuntu???
are you absolutely sure that support for this device cannot be obtained otherwise? e.g. by loading an already existing module, or installing something from the repos?

you don't give us info about the device, or what the actual problem is and what you want to achieve, so all i can see right now is an xy-problem.

First, I'm willing to bet you are running on a 64 bit system; and that means that a 32 bit driver is useless. It would also explain why there is no 32 bit support in binutils (which is a package name, not an application - it includes 64 bit libraries and utilities, and if the compiling environment is included, it also means 64 bit assembler, 64 bit compilers... so no, it won't work).

And if CONFIG_X86_X32 is in a configuration file somewhere (likely), you have to recreate the configuration file AT A MINIMUM. Now, if the driver has never been built for 64 bit support you may also have to port the driver... But I'm assuming it tried to stay at least close to the Linux form, so it may only need that reconfiguration.

My initial guess is that the file define.h (copied from debug.h) has configuration options you will have to check.