General :: Can't Compile A Driver Without Header Files Present?

Jun 5, 2011

I'm working with a GuruPlug...maybe you've heard of them.I'm trying to get EasyCap DC60 drivers installed on it(easycap_dc60.0.9.tar.gz), but in the README file I see that the "header files" must be present.nfortunately they are not. This little wall wart runs Debian/Lenny, probably some server oriented build.uname -r reports:2.6.32-00007-g56678ecIt boots to RunLevel 2 and stays there, incidentally.I tried apt-get install linux-headers-$(uname -r) but I am told "file not found" or something similar

View 5 Replies


ADVERTISEMENT

General :: Program Consists Of Header Files, .cpp, .c, \ How To Compile And Run Them?

Aug 12, 2010

I have a program consists of header files, .cpp, .c, a Makefile and need to include the problem instances file (.tim).May i know how to compile and run them? From google, i have heard bout the command make.

View 6 Replies View Related

Programming :: Compile C++ Program Without Changing #include Line & Header Files Not System?

Apr 3, 2011

I have C++ source code(*.cpp) files that expects it's header files in System's include folder which is/usr/include.The cpp files has include lines like this:

Code:
#include <some.h>
#include <another.h>

[code]...

View 3 Replies View Related

OpenSUSE Hardware :: Lan Card Driver Installation / Kernel Header Files Not In Any Of Expected Locations?

Mar 21, 2011

I`m trying to install Intel EXPI9402PT PRO/1000 PT Dual Port Server Adapter on my machine. I download the drivers for this card from intel web page, but I can`t make it work. I`m running OpenSuse 11.3 version. When I tried to install it for the first time I got this message:

Makefile:71: *** Kernel header files not in any of the expected locations.
Makefile:72: *** Install the appropriate kernel development package, e.g.
Makefile:73: *** kernel-devel, for building kernel modules and try again. Stop

Then I install the kernel-source package and I got this one:

Makefile:107: *** Linux kernel source not configured - missing version header file. Stop.

I also installed kernel-devel package, but I get the same message.

View 9 Replies View Related

Ubuntu :: New System Cannot Compile Anything Even Though Make Is Present

Aug 14, 2011

I just installed a new Ubuntu Studio 11.04 system at home yesterday. It was relatively painless at first but now I'm trying to compile some of the programs that I built the system for and

Code:
./make

simply is not working (returns command not found error). A makefile is present in both of the directories I'm working on.

Code:
man make

works perfectly fine. apt-get install insists that make is present, it also insists that gcc and build-essential are present. Just for the heck of it I reinstalled build-essential but nothing changed. I hesitate to uninstall it or or uninstall make as I have several packages which depend on these and several more which recommend them.

I first got into Linux with Ubuntu Server 10.04 and I remember not being able to compile then but that was because I didn't have gcc or build-essential installed. Once I installed those packages everything was happy. Every google search I perform leads me either to "install build-essentiall / gcc" or to nothing at all. Thoughts on where I can go from here?

View 3 Replies View Related

General :: Add Header And Footer To Many Files

Aug 27, 2010

I'm trying to add a header to many .cpp files in a directory (or directory tree).

My attempt was:

Code:

If I put part of the command inside quotes the substitution occurs, but then I get other errors like:

Code:

cat:

No such file or directory

I could just write a small program to do it.

View 3 Replies View Related

General :: Location Of C Header Files ?

Jan 30, 2011

I'm trying to install vmware tools in mint.

All goes well until I get to this -

What is the location of the directory of C header files that match your running kernel? [usr/src/linux/include]

When installing the vmware tools it says to just hit enter and the default will be used.

Hitting enter just keeps giving me the error message- The path "usr/src/linux/include" is not an existing directory.

View 14 Replies View Related

General :: Installing Kernel Header Files ?

Feb 13, 2010

I am using Ubuntu 9.04 with kernel version 2.6.28-11-generic.I want to compile the foll. file but i get <linux/slab.h> no such file or directory.

The kernel headers are installed in my system at /usr/src/linux-headers-2.6.28-11-generic/ directory. During compilation i specified as follows:

Why gcc is unable to find the linux/slab.h header file?

View 1 Replies View Related

General :: Ubuntu - Configure Virtual Header Files For VMWare?

Nov 23, 2010

I am trying to configure VMWare tools to work with the linux-virtual kernel, but every time I supply the headers path to vmware-config-tools, it rejects it. What should I do to configure it?I am using the path:/lib/modules/2.6.35-23-virtual/build/includeBut I get the rejection message:The path "/lib/modules/2.6.35-23-virtual/build/include" is not valid.It works with the generic version, so what am I doing wrong?

View 2 Replies View Related

General :: Compile An Application And An Driver File For ARM Platform?

Apr 22, 2010

I am new to the embedded domain.I am learning about cross compilation. Just i want to compile an application and an driver file for ARM platform. I have downloaded the toolchain binaries from [URL]..

View 3 Replies View Related

General :: Install / Compile Driver In Ubuntu Kernel?

Apr 5, 2011

How can I install or compile this driver in ubuntu kernel.

View 5 Replies View Related

General :: Get Socket.h Header File / Copy Pasting This Header File In 'incl' Directory Allow To Use It In The Program?

Apr 22, 2011

where can i get socket.h header file? will copy pasting this header file in 'incl' directory allow me to use it in the my program?

View 1 Replies View Related

Ubuntu :: Checking For Xgl: Not Present (display Driver : Via Chrom )

Dec 1, 2010

i tired to get work compiz , in terminal whene i type : compiz i get the folowing errors :

compiz

Code:

Checking for Xgl: not present.
No whitelisted driver found
aborting and using fallback: /usr/bin/kwin
kwin(12206) KLocalePrivate::initEncoding: Cannot resolve system encoding, defaulting to ISO 8859-1.

[code]....

View 1 Replies View Related

Ubuntu Installation :: The Disk Driver / Is Not Ready Yet Or Not Present?

May 20, 2011

I was upgrading to Ubuntu 11.04 and the laptop turned off.Once I rebooted, I got this Message :Code:The disk driver for / is not ready yet or not present continue to wait; or press S to skip mounting or M for manual recovery.My laptop Model: Toshiba Satellite A200.

View 3 Replies View Related

Programming :: C Header Files And Object Files ?

Sep 18, 2010

When is it good to use separate translation units and object files and link them into the main C program, and when is it good to include the header files in the main C program? I don't understand if most people include header files or if most people just link in object files and use their contents in the main program. It's sort of a simple question, but it's confusing to me and that's why I need help with it. I sort of don't understand the difference, or if there's really no difference other than the way the final result is achieved, which way is better or preferred, etc...

For example:

Code:

or:

Code:

Simple explanation of the difference? or which one is preferred or better? I've read a little on the ELF format... so is there no difference in the end result? It's just a matter of preference or necessity, and where the information is to begin with?

View 9 Replies View Related

General :: Compile The .cpp Files And .h Files?

Nov 18, 2010

I am trying to compile the .cpp files and .h files to be able to run a program called PALS. I have like 30 files in a directory (both .cpp and .h) and I do not know if I should just try to compile them all with g++ command.

View 3 Replies View Related

General :: Install Compile And Run Library .a Or .so Files?

Dec 23, 2010

i know how to install software but i don't know

1: how to install library .a or .so files

i: how to install tar.gz i use the method like ./configure. make make install but most of the time i got the message nothing to make .in lots of tar.gz there is no installation document no make file no .configure file that make me quite confused how to install them or run them.now i got sample source code of cuda i got them in tar.gz form when i extract them i found a folder in folder i found folder like c ,doc,shared etc when i open each folder i found more folder n file like that src, doc common ,lib, in these folder i found source code file header files libraries file make files .i don't know how to run this kind of project can the be installed on the system .how to run them they don't have .run file or script they don't have configure file .how to compile them ,how to run them & how to install them

View 1 Replies View Related

Ubuntu :: G++ Header Files?

Apr 12, 2011

I tried to update the header files manually in the include folder, because I thought that I needed to have windows.h etc, but now nothing compiles and I get a good 80 errors for even hello world. I have tried removing g++ and all related packages, deleting the header files folder and reinstalling, but it reinstalls the broken files. Any way of restoring the originals without reinstalling ubuntu?

View 1 Replies View Related

Software :: Join 2 Text Files Based On First Number Present In Every Line Of The 2 Text Files?

Jan 22, 2010

I have 2 text files : file1.txt and file2.txt

cat file1.txt

15 this is a sentence containing various words and spaces
34 this is a another sentence containing various words and spaces

cat file2.txt

2 this is sentence1file2
6 this is sentence2file2
54 this is sentence3file2

I would like to join these 2 files. The result should look as follows :

cat joinedfile.txt

2 this is sentence1file2
6 this is sentence2file2
15 this is a sentence containing various words and spaces
34 this is a another sentence containing various words and spaces
54 this is sentence3file2

==> so the joined file must be sorted on the first number. Any ideas how this can be achieved ?

View 4 Replies View Related

Red Hat / Fedora :: How To List Only Files Present In Directory In Red Hat?

Jun 12, 2010

How can we list only files present in a directory in Redhat linux.The LS commands lists both the files and the directories. What command can be used for the above purpose.

View 1 Replies View Related

Ubuntu :: No Thumbnail For Flv File Though Present For Mp / Avi & Mp4 Files

Oct 13, 2009

I have ubuntu 9.04x64 edition.i have installed gstreamer0.10-plugins-bad,gstreamer0.10-plugins-ugly,gstreamer0.10-ffmpeg so all video & audio files are played by totem.But why there is no thumbnail for flv files though in nautilus preview I have set always & file size upto 4GB.

View 7 Replies View Related

Fedora :: Vmware And C Header Files ?

Dec 28, 2009

I've installed Fedora 12 (KDE version) on VMware workstation running under Windows 7.

I've been able to configure the VMware tools fine up until this point:

Code:

What is the location of the directory of C header files that match your running kernel? After some searching online I deduced I should install all of the latest updates and kernel-devel.

I then nuked the previous VMware tools install and started over with it again, but alas, no directory I try works (i.e. /usr/src/kernels/, /usr/src/kernels/2.6.31.5-127.fc12.i686/ and so forth).

View 8 Replies View Related

Ubuntu :: Adding New Header Files

Jan 26, 2010

I am new to linux. I want to use a header file asm/msr.h. But the /usr/include does not contain the header file that I want. Can I just copy the whole asm directory into the directory /usr/include, and overwrite the old one?

View 2 Replies View Related

Slackware :: Huge.s No Header Files ?

Feb 12, 2011

I've started using the huge.s kernel and when i try to compile packages slackware complains about kernel headers but all i see is the smp header files on the slackware discs ?

View 2 Replies View Related

CentOS 5 :: How To Get Missing Mod And Header Files

Jan 10, 2010

i was trying to install iftop using make installso when i ran /configureit told me that some header files are missing and some modules aaare also missingis there a way to search for the missing header files on the internet and missing modules n the internet

View 1 Replies View Related

General :: Downgrade Gcc-version To Compile Mex-files For Matlab - Permission Denied

Feb 22, 2010

I am trying to run matlab 7.7 (R2008b) on my ubuntu 9.10 distribution..the thing is that I am totally new with both matlab and linux and I get the following error message from matlab when I try to run an example mex-function:

>> mex yprime.c
/home/margareta/Desktop/matlab/bin/mex: 1572: gcc: Permission denied

Warning: You are using gcc version "". The earliest gcc version supported with mex is "4.0.0". The latest version tested for use with mex is "4.2.0". To download a different version of gcc, visit [URL] eval: 1: gcc: Permission denied mex: compile of ' "yprime.c"' failed. Error using ==> mex at 213 Unable to complete successfully.

I had gcc-4.4 as default on my pc, so after this error I downloaded an older version (gcc-4.1) and removed with rm the symbolic link in /usr/bin pointing to gcc-4.4 and created a new one pointing to gcc-4.1. Now when I type gcc -v in the terminal it says that gcc is in the packages gcc and pentium-builder, to do an apt-get install. I tried that but than it says that gcc-4.1 is already the newest version. It seems that I have multiple versions of gcc installed but neither the terminal nor matlab can find them.

View 10 Replies View Related

Software :: Files Are Present In Gnome But Not There From The Command Line?

May 12, 2011

I have an Acer Aspire 5100 with Ubuntu 10.04 running. Recently I loaded from a storage drive all of my music library which happens to be in its orignal wav format. I was going to convert it to mp3 using lame or some other program. I worked with the files using the command line with some success. The files were there when I did this. No problem. I came back to the computer after several days absence and when I got to a commandline I entered "ls -l" no files. Yes I went to the right directory. I logged in as Root no help. The files are not there according to the command line as far as I can tell.Using Gnome the files are available and playable via the desktop. Are the files there or not?

View 12 Replies View Related

Fedora :: C Header Files Which Match Currently Used Kernel

Jan 13, 2011

I need to install some module which needs to be interated into OS's.

It asks me: "What is the location of the directory of C header files that match your running kernel? "

I know that I need kernel-devel package and I installed this yum install kernel-devel after that I have this /usr/src/kernels/2.6.32.26-175.fc12.i686/include/

Now when I run configuration it does not work

Does it mean that I need to update the kernel so that it matches to the kernel-devel module available in the net?

View 4 Replies View Related

Programming :: Cannot Find Header Files To Use Kmalloc()

Jun 16, 2010

I want to use kmalloc() to allocate contiguous memory on ram. But I can not seem to find the required header file(s) like linux/slab.h. I suppose I do not have the required library and I certainly do not know what and where to look.

View 14 Replies View Related

Programming :: How To Attach New C Header Files And Libraries

Mar 10, 2010

I have been a predominant Windows user for a long time but shifted to Ubuntu recently. I was just trying out a few basic C functions when i realized that the "conio.h" header file isn't included in the libraries and therefore i was unable to use the "clrscr()" function.

I downloaded a tarball which contained the necessary library and header files including conio.h. Once extracted, i specified the location and included in the program as " #include "path to the header file" ".

I still didn't call the "clrscr()" function, and it compiled successfully. Next i edited the program to call that function and it gave the following error...

How i can add new libraries in the future?

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved