Cannot Find -lsndfile / Libsndfile In 32-bit Linux Platform

I am on a x86_64 platform in Ubuntu 14. However, I would like to build for a 32-bit linux platform. I run into the following issue when I try to build using make:

Code:
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../libsndfile.so when searching for -lsndfile
/usr/bin/ld: skipping incompatible /usr/local/lib/libsndfile.so when searching for -lsndfile
/usr/bin/ld: skipping incompatible /usr/local/lib/libsndfile.a when searching for -lsndfile
/usr/bin/ld: skipping incompatible /usr/lib/libsndfile.so when searching for -lsndfile
/usr/bin/ld: cannot find -lsndfile

It seems like I am getting this error because I don't have the 32-bit libraries. I could not find anywhere online where I could directly procure the 32-bit version of the library. I tried to follow the steps he
http://www.linuxfromscratch.org/blfs...ibsndfile.html

but instead specifying the build for the configure command:
Code:
./configure --build=i686-pc-linux-gnu --disable-static && make

But that didn't help either.

Has anyone encountered this issue before? Any pointers on what I could try? Would I have to create a subdirectory like /usr/lib32/ and move libraries around, perhaps?

I would be grateful for any tips you could provide me. Thanks!


Similar Content



How To Use Static Libraries? Please Help Lol

https://code.google.com/p/wavelet1d/...ar.gz&can=2&q=

The above link is where I downloaded *.cpp(s) and the libraries.

If you "untar" the package, in "examples" directory, there are some demonstration files. What I wanted to do was to make an executable file out of "wavedemo1.cpp".

I modified the code in "wavedemo1.cpp"; Code:
#include "wavelet2d.h"

to Code:
#include "wavelet2s.h"

, then placed the header file "wavelet2s.h" (from /wavelib/src/linuxstatic) and the modified "wavedemo1.cpp" into my working directory.

Inside the working directory, I ran the following command

Code:
gcc -L/home/mario/wavelet/wavelib/linuxstatic -lwavelet2s wavedemo1.cpp -o wavedemo1

Then I get the following error messages.

/usr/bin/ld: skipping incompatible /home/mario/wavelet/wavelib/linuxstatic/libwavelet2s.a when searching for -lwavelet2s
/usr/bin/ld: cannot find -lwavelet2s
collect2: error: ld returned 1 exit status

I'm not sure what went wrong with my approach. This is my first time trying to use libraries on linux and it's giving me really tough times.

I would appreciate your help, please let me know if you need more details to explain things.

Thanks.

Ubuntu Directories

Hi there. I have Ubuntu 14.04 installed. Actually I have been doing a lot of work in this OS for about a year. The thing I cannot still comprehend is how to find files I installed. In this particular case I need glut.h for g++ compiler. So I go here, do this command;

Code:
sudo apt-get install freeglut3-dev

And find out that I already have the newest version (which I have suspected since I recall installing it).

So, the next step is to find the glut.h file and reference it with #include command. I cannot find it anywhere. This website says it has to be he

Code:
/usr/lib/x86_64-linux-gnu/libglut*

Why's the asterisk? Is it a footnote or part of the code?

I don't seem to have /usr/ directory. I cannot find it anywhere.

How does Ubuntu directory work?

Thanks, - A.

CentOS 7 - Not Able To Open Vmplayer

I have CentOS 7 64 bit. I have installed open-vm-tools on it.
I have installed vmplayer using
Code:
./VMware-Player-6.0.1-1379776.x86_64.bundle

Now when I try to open vmplayer on it, it does not load 'Virtual Network Device'
and shows error in terminal
Code:
Failed to build vmnet.  Failed to execute the build command.

When I check status of vmware, it shows
Code:
Module vmnet not loaded

If I try to run
Code:
vmware-modconfig --console --install-all

It gives me following error.
Code:
make: Leaving directory `/tmp/modconfig-2NfFeS/vmnet-only'
Unable to install all modules.

I am not able to open VMplayer, please help me to open it.

Thanks

--Kind Regards
Sam

How To Run An Application After The Boot ?

Hi, i know this could seems like a "simple" question but after a lot fo try i can't seems to make it works, i am stuck on this. I am working on a sbc6000x board, linux 2.6.24, an embedded system.

I am working on a pretty nice project which when called like this run perfectly :
Code:
cd /bin
./apps

(/bin/apps don't works, it must be ./apps from the directory)

After searching a little about the startup i learned about rc.local and created it in /etc/init.d, rc.local look like this :

Code:
#!bin/sh
# /etc/rc.d/rc.local: Local system initialization script.
#

cd /bin
./apps
cd

Sadly it seems it is never called. I was thinking about maybe add cd /bin, /.apps to the end of the etc/profile but i don't know if profile can run command aside from simple scripts call.

Does anyone has an idea on why this don't work or on how i could do this ?

About The Installation Of Awstats

I follow the below URL to install awstats .

Code:
http://thelinuxfaq.com/90-how-to-install-and-configure-awstats-in-centos-fedora-rhel

everything seems works fine , the second last step works fine.
Code:
From data in log file "/var/log/httpd/access_log"...
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
Phase 2 : Now process new records (Flush history on disk after 20000 hosts)...
Jumped lines in file: 0
Parsed lines in file: 77
 Found 0 dropped records,
 Found 0 comments,
 Found 0 blank records,
 Found 0 corrupted records,
 Found 0 old records,
 Found 77 new qualified records.

then I tried the below URL , it shows nothing , would advise what is the possible reason ? how can I do the trouble shooting ? thanks
Code:
http://mydomain.com/awstats/awstats.pl?config=mydomain.com

Make[1]: O: Command Not Found

Hi.

Running Suse 10.1 on an x86_64 machine. Trying to install a program and having some difficulty. The program is codeco 3.3. It's a format conversion program used for converting seismic waveforms such that they can be analysed by different analysis packages.

http://www.seismo.ethz.ch/products/s...3/codeco3.html

My debugging skills aren't up to much and I'm hoping someone might be able to help me out with the error. The steps involved in the installation of the package a

1. Download, gunzip and untar.

2. make config
> jp@linux:/usr/local/codeco> make config
(cd src; ./conf.csh)
found system Linux
found compiler

...this is ok, but

3. make
>jp@linux:/usr/local/codeco> make
(cd src; make)
make[1]: Entering directory `/usr/local/codeco/src'
o ../bin/codeco codecomain.f gse_io.f codecoutil.f compdecomp.f sacsub.f sac_io.f mseed_io.f css_io. today.f utmepo.f epoutm.f
make[1]: o: Command not found
make[1]: [codeco] Error 127 (ignored)
make[1]: Leaving directory `/usr/local/codeco/src'

The src code itself is written in fortran and I'm using the Intel fortran compiler version 9.0.031.

I'm at a loss as to the meaning of the above error...my knowledge of linux and software installation still not very good!

Thanks

Unable To Run VMware Player 10 On Fedora 21???

When I start the VMware Player on Fedora 21, I am unable to execute the VMware Player 10. It is throwing errors at me.
Here is the error message log when I run the VMware Player GUI startup.

Any help is appreciated. Thanks

Code:
2015-04-16T07:14:16.917-08:00| vthread-3| I120: Log for VMware Workstation pid=4108 version=10.0.4 build=build-2249910 option=Release
2015-04-16T07:14:16.917-08:00| vthread-3| I120: The process is 64-bit.
2015-04-16T07:14:16.917-08:00| vthread-3| I120: Host codepage=UTF-8 encoding=UTF-8
2015-04-16T07:14:16.917-08:00| vthread-3| I120: Host is Linux 3.19.3-200.fc21.x86_64 Fedora release 21 (Twenty One)
2015-04-16T07:14:16.917-08:00| vthread-3| I120: Msg_Reset:
2015-04-16T07:14:16.917-08:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2015-04-16T07:14:16.917-08:00| vthread-3| I120: ----------------------------------------
2015-04-16T07:14:16.917-08:00| vthread-3| I120: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2015-04-16T07:14:16.917-08:00| vthread-3| I120: Msg_Reset:
2015-04-16T07:14:16.917-08:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/home/asif2k/.vmware/config": No such file or directory.
2015-04-16T07:14:16.917-08:00| vthread-3| I120: ----------------------------------------
2015-04-16T07:14:16.917-08:00| vthread-3| I120: PREF Optional preferences file not found at /home/asif2k/.vmware/config. Using default values.
2015-04-16T07:14:16.917-08:00| vthread-3| W110: Logging to /tmp/vmware-root/vmware-modconfig-4108.log
2015-04-16T07:14:16.928-08:00| vthread-3| I120: Obtaining info using the running kernel.
2015-04-16T07:14:16.928-08:00| vthread-3| I120: Created new pathsHash.
2015-04-16T07:14:16.928-08:00| vthread-3| I120: Setting header path for 3.19.3-200.fc21.x86_64 to "/lib/modules/3.19.3-200.fc21.x86_64/build/include".
2015-04-16T07:14:16.928-08:00| vthread-3| I120: Validating path "/lib/modules/3.19.3-200.fc21.x86_64/build/include" for kernel release "3.19.3-200.fc21.x86_64".
2015-04-16T07:14:16.929-08:00| vthread-3| I120: Failed to find /lib/modules/3.19.3-200.fc21.x86_64/build/include/linux/version.h
2015-04-16T07:14:16.929-08:00| vthread-3| I120: /lib/modules/3.19.3-200.fc21.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2015-04-16T07:14:16.929-08:00| vthread-3| I120: using /usr/bin/gcc for preprocess check
2015-04-16T07:14:16.938-08:00| vthread-3| I120: Preprocessed UTS_RELEASE, got value "3.19.3-200.fc21.x86_64".
2015-04-16T07:14:16.938-08:00| vthread-3| I120: The header path "/lib/modules/3.19.3-200.fc21.x86_64/build/include" for the kernel "3.19.3-200.fc21.x86_64" is valid.  Whoohoo!
2015-04-16T07:14:17.122-08:00| vthread-3| I120: Reading in info for the vmmon module.
2015-04-16T07:14:17.122-08:00| vthread-3| I120: Reading in info for the vmnet module.
2015-04-16T07:14:17.122-08:00| vthread-3| I120: Reading in info for the vmblock module.
2015-04-16T07:14:17.122-08:00| vthread-3| I120: Reading in info for the vmci module.
2015-04-16T07:14:17.122-08:00| vthread-3| I120: Reading in info for the vsock module.
2015-04-16T07:14:17.122-08:00| vthread-3| I120: Setting vsock to depend on vmci.
2015-04-16T07:14:17.122-08:00| vthread-3| I120: Invoking modinfo on "vmmon".
2015-04-16T07:14:17.125-08:00| vthread-3| I120: "/sbin/modinfo" exited with status 0.
2015-04-16T07:14:17.125-08:00| vthread-3| I120: Invoking modinfo on "vmnet".
2015-04-16T07:14:17.128-08:00| vthread-3| I120: "/sbin/modinfo" exited with status 256.
2015-04-16T07:14:17.128-08:00| vthread-3| I120: Invoking modinfo on "vmblock".
2015-04-16T07:14:17.132-08:00| vthread-3| I120: "/sbin/modinfo" exited with status 256.
2015-04-16T07:14:17.132-08:00| vthread-3| I120: Invoking modinfo on "vmci".
2015-04-16T07:14:17.135-08:00| vthread-3| I120: "/sbin/modinfo" exited with status 256.
2015-04-16T07:14:17.135-08:00| vthread-3| I120: Invoking modinfo on "vsock".
2015-04-16T07:14:17.139-08:00| vthread-3| I120: "/sbin/modinfo" exited with status 0.
2015-04-16T07:14:17.154-08:00| vthread-3| I120: to be installed: vmnet status: 0
2015-04-16T07:14:17.154-08:00| vthread-3| I120: to be installed: vmci status: 0
2015-04-16T07:14:17.172-08:00| vthread-3| I120: Obtaining info using the running kernel.
2015-04-16T07:14:17.172-08:00| vthread-3| I120: Setting header path for 3.19.3-200.fc21.x86_64 to "/lib/modules/3.19.3-200.fc21.x86_64/build/include".
2015-04-16T07:14:17.172-08:00| vthread-3| I120: Validating path "/lib/modules/3.19.3-200.fc21.x86_64/build/include" for kernel release "3.19.3-200.fc21.x86_64".
2015-04-16T07:14:17.172-08:00| vthread-3| I120: Failed to find /lib/modules/3.19.3-200.fc21.x86_64/build/include/linux/version.h
2015-04-16T07:14:17.172-08:00| vthread-3| I120: /lib/modules/3.19.3-200.fc21.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2015-04-16T07:14:17.172-08:00| vthread-3| I120: using /usr/bin/gcc for preprocess check
2015-04-16T07:14:17.182-08:00| vthread-3| I120: Preprocessed UTS_RELEASE, got value "3.19.3-200.fc21.x86_64".
2015-04-16T07:14:17.182-08:00| vthread-3| I120: The header path "/lib/modules/3.19.3-200.fc21.x86_64/build/include" for the kernel "3.19.3-200.fc21.x86_64" is valid.  Whoohoo!
2015-04-16T07:14:17.364-08:00| vthread-3| I120: Kernel header path retrieved from FileEntry: /lib/modules/3.19.3-200.fc21.x86_64/build/include
2015-04-16T07:14:17.364-08:00| vthread-3| I120: Update kernel header path to /lib/modules/3.19.3-200.fc21.x86_64/build/include
2015-04-16T07:14:17.364-08:00| vthread-3| I120: Validating path "/lib/modules/3.19.3-200.fc21.x86_64/build/include" for kernel release "3.19.3-200.fc21.x86_64".
2015-04-16T07:14:17.364-08:00| vthread-3| I120: Failed to find /lib/modules/3.19.3-200.fc21.x86_64/build/include/linux/version.h
2015-04-16T07:14:17.364-08:00| vthread-3| I120: /lib/modules/3.19.3-200.fc21.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2015-04-16T07:14:17.364-08:00| vthread-3| I120: using /usr/bin/gcc for preprocess check
2015-04-16T07:14:17.374-08:00| vthread-3| I120: Preprocessed UTS_RELEASE, got value "3.19.3-200.fc21.x86_64".
2015-04-16T07:14:17.374-08:00| vthread-3| I120: The header path "/lib/modules/3.19.3-200.fc21.x86_64/build/include" for the kernel "3.19.3-200.fc21.x86_64" is valid.  Whoohoo!
2015-04-16T07:14:17.375-08:00| vthread-3| I120: Found compiler at "/usr/bin/gcc"
2015-04-16T07:14:17.380-08:00| vthread-3| I120: Got gcc version "4.9.2".
2015-04-16T07:14:17.380-08:00| vthread-3| I120: The GCC version matches the kernel GCC minor version like a glove.
2015-04-16T07:14:17.380-08:00| vthread-3| I120: Using user supplied compiler "/usr/bin/gcc".
2015-04-16T07:14:17.384-08:00| vthread-3| I120: Got gcc version "4.9.2".
2015-04-16T07:14:17.385-08:00| vthread-3| I120: The GCC version matches the kernel GCC minor version like a glove.
2015-04-16T07:14:17.390-08:00| vthread-3| I120: Trying to find a suitable PBM set for kernel "3.19.3-200.fc21.x86_64".
2015-04-16T07:14:17.390-08:00| vthread-3| I120: No matching PBM set was found for kernel "3.19.3-200.fc21.x86_64".
2015-04-16T07:14:17.390-08:00| vthread-3| I120: The GCC version matches the kernel GCC minor version like a glove.
2015-04-16T07:14:17.390-08:00| vthread-3| I120: Validating path "/lib/modules/3.19.3-200.fc21.x86_64/build/include" for kernel release "3.19.3-200.fc21.x86_64".
2015-04-16T07:14:17.390-08:00| vthread-3| I120: Failed to find /lib/modules/3.19.3-200.fc21.x86_64/build/include/linux/version.h
2015-04-16T07:14:17.390-08:00| vthread-3| I120: /lib/modules/3.19.3-200.fc21.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2015-04-16T07:14:17.390-08:00| vthread-3| I120: using /usr/bin/gcc for preprocess check
2015-04-16T07:14:17.400-08:00| vthread-3| I120: Preprocessed UTS_RELEASE, got value "3.19.3-200.fc21.x86_64".
2015-04-16T07:14:17.400-08:00| vthread-3| I120: The header path "/lib/modules/3.19.3-200.fc21.x86_64/build/include" for the kernel "3.19.3-200.fc21.x86_64" is valid.  Whoohoo!
2015-04-16T07:14:17.401-08:00| vthread-3| I120: The GCC version matches the kernel GCC minor version like a glove.
2015-04-16T07:14:17.401-08:00| vthread-3| I120: Validating path "/lib/modules/3.19.3-200.fc21.x86_64/build/include" for kernel release "3.19.3-200.fc21.x86_64".
2015-04-16T07:14:17.401-08:00| vthread-3| I120: Failed to find /lib/modules/3.19.3-200.fc21.x86_64/build/include/linux/version.h
2015-04-16T07:14:17.401-08:00| vthread-3| I120: /lib/modules/3.19.3-200.fc21.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2015-04-16T07:14:17.401-08:00| vthread-3| I120: using /usr/bin/gcc for preprocess check
2015-04-16T07:14:17.411-08:00| vthread-3| I120: Preprocessed UTS_RELEASE, got value "3.19.3-200.fc21.x86_64".
2015-04-16T07:14:17.411-08:00| vthread-3| I120: The header path "/lib/modules/3.19.3-200.fc21.x86_64/build/include" for the kernel "3.19.3-200.fc21.x86_64" is valid.  Whoohoo!
2015-04-16T07:14:17.411-08:00| vthread-3| I120: Using temp dir "/tmp".
2015-04-16T07:14:17.412-08:00| vthread-3| I120: Obtaining info using the running kernel.
2015-04-16T07:14:17.412-08:00| vthread-3| I120: Setting header path for 3.19.3-200.fc21.x86_64 to "/lib/modules/3.19.3-200.fc21.x86_64/build/include".
2015-04-16T07:14:17.412-08:00| vthread-3| I120: Validating path "/lib/modules/3.19.3-200.fc21.x86_64/build/include" for kernel release "3.19.3-200.fc21.x86_64".
2015-04-16T07:14:17.412-08:00| vthread-3| I120: Failed to find /lib/modules/3.19.3-200.fc21.x86_64/build/include/linux/version.h
2015-04-16T07:14:17.412-08:00| vthread-3| I120: /lib/modules/3.19.3-200.fc21.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2015-04-16T07:14:17.412-08:00| vthread-3| I120: using /usr/bin/gcc for preprocess check
2015-04-16T07:14:17.421-08:00| vthread-3| I120: Preprocessed UTS_RELEASE, got value "3.19.3-200.fc21.x86_64".
2015-04-16T07:14:17.422-08:00| vthread-3| I120: The header path "/lib/modules/3.19.3-200.fc21.x86_64/build/include" for the kernel "3.19.3-200.fc21.x86_64" is valid.  Whoohoo!
2015-04-16T07:14:17.601-08:00| vthread-3| I120: Invoking modinfo on "vmnet".
2015-04-16T07:14:17.605-08:00| vthread-3| I120: "/sbin/modinfo" exited with status 256.
2015-04-16T07:14:17.605-08:00| vthread-3| I120: Invoking modinfo on "vmci".
2015-04-16T07:14:17.609-08:00| vthread-3| I120: "/sbin/modinfo" exited with status 256.
2015-04-16T07:14:17.661-08:00| vthread-3| I120: Setting destination path for vmnet to "/lib/modules/3.19.3-200.fc21.x86_64/misc/vmnet.ko".
2015-04-16T07:14:17.661-08:00| vthread-3| I120: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
2015-04-16T07:14:17.667-08:00| vthread-3| I120: Successfully extracted the vmnet source.
2015-04-16T07:14:17.667-08:00| vthread-3| I120: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-g1ZENn/vmnet-only auto-build HEADER_DIR=/lib/modules/3.19.3-200.fc21.x86_64/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2015-04-16T07:14:19.833-08:00| vthread-3| W110: Failed to build vmnet.  Failed to execute the build command.
2015-04-16T07:14:19.836-08:00| vthread-3| I120: Setting destination path for vmci to "/lib/modules/3.19.3-200.fc21.x86_64/misc/vmci.ko".
2015-04-16T07:14:19.836-08:00| vthread-3| I120: Extracting the vmci source from "/usr/lib/vmware/modules/source/vmci.tar".
2015-04-16T07:14:19.844-08:00| vthread-3| I120: Successfully extracted the vmci source.
2015-04-16T07:14:19.844-08:00| vthread-3| I120: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-g1ZENn/vmci-only auto-build HEADER_DIR=/lib/modules/3.19.3-200.fc21.x86_64/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2015-04-16T07:14:21.915-08:00| vthread-3| W110: Failed to build vmci.  Failed to execute the build command.


Thanks

Regarding Cross Compilation Of Ntp

hi all,
I am new to cross compilation .I am trying to cross compile ntp for arm based zync soc board. so i have downloaded ntp source code version ntp-4.2.8-p2

i gave options for confiure file like this ./configure --host=arm-xilinix-linux-gnueabi --build=x86_64-pc-linux-gnu --prefix=/home/sntp CC=arm-xilinx-linux-gnueabi-gcc -with-yeilding-select=yes
configuration is succesful but when i am going for make it is throwing an error like this

cd ./html && \
../scripts/build/checkHtmlFileDates
cd . && \
./scripts/build/checkChangeLog
make all-recursive
make[1]: Entering directory `/home/SNTP/ntp-4.2.8p2'
Making all in sntp
make[2]: Entering directory `/home/SNTP/ntp-4.2.8p2/sntp'
[ ! -r ./../COPYRIGHT ] \
|| [ check-COPYRIGHT-submake -nt ./../COPYRIGHT ] \
|| make check-COPYRIGHT-submake
cd ../libntp && make libntp.a
make[3]: Entering directory `/home/sumanth/SNTP/ntp-4.2.8p2/libntp'
CC systime.o
In file included from ../include/ntp.h:14:0,
from systime.c:9:
../include/ntp_crypto.h:27:25: fatal error: openssl/evp.h: No such file or directory
#include "openssl/evp.h"
^
compilation terminated.
make[3]: *** [systime.o] Error 1
make[3]: Leaving directory `/home/sumanth/SNTP/ntp-4.2.8p2/libntp'
make[2]: *** [../libntp/libntp.a] Error 2
make[2]: Leaving directory `/home/sumanth/SNTP/ntp-4.2.8p2/sntp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sumanth/SNTP/ntp-4.2.8p2'
make: *** [all] Error 2

suggest me how to fix this?

Regards
sumanth

Error: Libtool Configure Failed

Hi,
After extracting mysql-3.23.40.tar.gz
cd mysql-3.23.40/

Then
mysql-3.23.40]# ./configure --prefix=~/MySQL --with-mysqld-user=generic_user
loading cache ./config.cache
checking host system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

checking target system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

checking build system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for gawk... (cached) gawk
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
ltconfig: you must specify a host type if you use `--no-verify'
Try `ltconfig --help' for more information.
configu error: libtool configure failed

Help!!!!!!!!

Unable To Install Driver

Hi, I am trying to install a smartcard reader driver onto my ubuntu machine. I am not able run the make file.

The output of makefile is as follows:
Code:
amit@ubuntu:~/Downloads/Linux Driver/rts_pstor$ sudo make
sed "s/RTSX_MK_TIME/`date +%y.%m.%d.%H.%M`/" timestamp.in > timestamp.h
cp -f ./define.release ./define.h
make -C /lib/modules/3.16.0-36-generic/build SUBDIRS=/home/amit/Downloads/Linux Driver/rts_pstor modules
make[1]: Entering directory `/usr/src/linux-headers-3.16.0-36-generic'
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.
make[1]: Leaving directory `/usr/src/linux-headers-3.16.0-36-generic'
make: *** [default] Error 2
amit@ubuntu:~/Downloads/Linux Driver/rts_pstor$

The make file for this driver is as follows:

Code:
TARGET_MODULE := rts_pstor

EXTRA_CFLAGS := -Idrivers/scsi 

obj-m += $(TARGET_MODULE).o

$(TARGET_MODULE)-objs := rtsx.o rtsx_chip.o rtsx_transport.o rtsx_scsi.o rtsx_card.o \
			 general.o sd.o xd.o ms.o spi.o

default:
	sed "s/RTSX_MK_TIME/`date +%y.%m.%d.%H.%M`/" timestamp.in > timestamp.h
	cp -f ./define.release ./define.h
	make -C /lib/modules/$(shell uname -r)/build SUBDIRS=$(shell pwd) modules
debug:
	sed "s/RTSX_MK_TIME/`date +%y.%m.%d.%H.%M`/" timestamp.in > timestamp.h
	cp -f ./define.debug ./define.h
	make -C /lib/modules/$(shell uname -r)/build SUBDIRS=$(shell pwd) modules
install:
	cp $(TARGET_MODULE).ko /lib/modules/$(shell uname -r)/kernel/drivers/scsi -f
clean:
	rm -f *.o *.ko
	rm -f $(TARGET_MODULE).mod.c

Please let me know any of your comments.

Thanks,
Amit