I'm trying to install a intel e1000 ethernet card driver on ubuntu 12.04 LTS.
When i type
make install
The following error occur:
Makefile:111: * Linux kernel source not configured - missing
version.h. Stop.
in the README file thy say:
When trying to compile the driver by running make install, the
following error may occur:
"Linux kernel source not configured - missing version.h"
To solve this issue, create the version.h file by going to the Linux
source tree and entering:
make include/linux/version.h.
I try to run this command in the /usr/src/linux******* folder but no results
(
i have linux-headers-3.8.0-29 linux-headers-3.8.0-32
linux-headers-3.8.0-29-generic linux-headers-3.8.0-32-generic
)
any suggestions to fix the problem?
Some people just like to compile. Searching this error pointed me here.
As it turns out the compiler is looking at the wrong kernel version, and the headers for this are not installed on the OS.
Best solved editing the specfile.
Install build-essential using terminal or synaptic.
Restart computer, it will work.
Thank you.
Related
The path I took was using sh .conf.macos. After that, I tried sudo make and I get an error
../bochs.h:75:12: fatal error: 'types.h' file not found
#include <types.h>
using ./configure didn't help much because when I would make, I get a whole bunch of errors generated from carbon.cc. If I understand correctly, carbon.cc is deprecated but how do I deal with this?
I've tried this with both Bochs 2.6.8 and the latest SVN dated April 2, 2018.
I had similar problems while compiling bochs on MacOs. I saw lots of header not found problems. I tried with brew and it works.
Please use:
brew install bochs
I have build a website with Erlang and Cowboy with ErlyDTL on a Linux OS.
Now I want that my website can run on Windows and want to use the Erlang.mk with Relx build tool.
When I give the make command it gives me the error:
Unable to detect platform. Please open a ticket with the output of
uname -a.
uname -a output:
MINGW32_NT-6.2 LENOVO-... 2012-11-21 22:34 i686 Msys
How can I fix this problem in a easy way with explanation because I don't know much of makefiles ;).
Specs:
I have Windows 8.1 64 bit OS.
My Erlang.mk is version 1.2.0-634-g2f69190.
I installed MinGW with msys so I can run make and make distclean.
I have the following extra packages installed during this intallation:
mingw-developer-toolkit
mingw32-base
mingw32-gcc-g++
msys-base
So the PATH to MinGW is c:\MinGW.
With CMD I started C:\MinGW\msys\1.0\msys.bat
Then with the bash shell I ran de postinstall script pi.sh. This gave me no errors.
Then I have installed some extra packages for MinGW with success:
mingw-get install msys-rxvt
mingw-get install msys-unzip
mingw-get install msys-zip
mingw-get install msys-wget
I have red https://github.com/ninenines/erlang.mk/issues/294 but I couldn't understand what I have to do because the lack of explanation.
So is there a solution? If yes what is it and please give some explanation with it so I can fix my problem and understand what I'm doing.
Thanks in advance
For my second year we need to learn how to use linux (at a beginner level) and our professor told us to use Ubuntu, or ArchLinux if we wanted to learn more. I installed ubuntu and the required tools (he gave us a short list) but Archlinux freeze completly when I try to install clang and I have to recreate a new Virtual machine (I am on a Mac using VMWare) each time
here is the list of tool needed:
emacs
clang (>=3.4)
gcc (>= 4.8)
make
xterm
For each one it works but for clang
Here is the error I get:
image http://img11.hostingpics.net/pics/876673ScreenShot20140906at182459.png
and it doesn't respond anymore so I have to forcequit my VM and reinstall a new one. Has anybody already encountered this error ? Does anybody know what it means ? I tried pacman -Syu but it has not done anything...
Thank you
First It looks like a error that your VM hard drive is broken.
But it just 'maybe'.
Try to reboot it and try install commands again.
If it still can't work try to add -o $(pidof mount.ntfs-3g) to kill_all_wait() in /etc/rc.d/functions and reboot it.
I installed gdb 7.2 via macports on osx 10.6. However when I run it, I get
unable to read unknown load command 0x1a
Segmentation fault
I also tried compiling it manually but I still get the same error.
Any help would be greatly appreciated,
Thanks,
--Sid
Try these:
sudo chgrp procmod /opt/local/bin/fsf-gdb
sudo chmod g+s /opt/local/bin/fsf-gdb
Of course change "/opt/local/bin/" to reflect your path to gbd and change "fsf-gdb" to the name of the compiled gdb. I assumed "standard" path and name given by macports.
GDB is not actively maintained on Mac OS. Your best bet is to open a bug in GDB bugzilla.
Hi i downloaded souce for unix version 6, i want to study it and test it. I am running Snow Leopard on a macbook pro.
1)Is there a way to compile it in mac. If i comile using make or gmake i am getting the following error.
*** Error: Couldn't find an i386-*-elf version of GCC/binutils.
*** Is the directory with i386-jos-elf-gcc in your PATH?
*** If your i386-*-elf toolchain is installed with a command
*** prefix other than 'i386-jos-elf-', set your GCCPREFIX
*** environment variable to that prefix and run 'make' again.
*** To turn off this error, run 'gmake GCCPREFIX= ...'.
2)I also want to run it in a virtual machine,I have VMWare installed on my machine. I don't know how to do that.
Download tarballs for gcc and binutils, expand them, then:
$ cd binutils-2.15
$ ./configure --target=i386-jos-elf
$ make
$ make install
$ cd ../gcc-3.4.1
$ ./configure --target=i386-jos-elf
$ make
$ make install
You will of course need to update the paths. (I got these instructions from MIT's OpenCourseWare.)
You'll have to go through the process of creating a new virtual machine and formatting and installing the OS onto its disk. I've used VirtualBox with some success, but I have no experience with VMWare; you're on your own there.
You might look into macports.org. It has several packages that look useful, notably "i386-elf-binutils". It installs into /opt/local/*, so you may need to make sure /opt/local/bin/ is in your path. (Although I believe it takes care of that by default.)
EDIT: Or maybe not. After a little more research, I wonder if these instructions and downloads are what you're looking for.
EDIT again: Corrected the download link. Sorry about that!
The build system you are using seems to require an ELF tool chain (used by Linux).
You could try to figure out if that can be changed, but since you have VMWare, try to compile it under a virtualized Linux (minimal Debian is quite light-weight).
As an alternative you may compile bournesh on Mac OS X.
http://freshmeat.net/projects/bournesh/