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


ADVERTISEMENT

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 View Related

Server :: Make A C Function Present In The Library To Execute In Php?

Apr 10, 2011

how to make a c function present in the library to execute in php and should be able to pass a any new argument back to the c library from php

View 2 Replies View Related

General :: Recover Partition-Table Still Present In Running System?

Dec 1, 2010

I accidentially overwrote the first 1M of my harddisk on linux (using dd). So, the partition-table is gone. I can still access all partition (except the first one) using /dev/sda2 (and so on), so the data is still there. I only need the partition boundaries to restore the table. How can I do this? The Linux-Kernel must still know them because all mount-points still work. fdisk -l /dev/sda doesn't work because it acctualy reads the partition table.

View 2 Replies View Related

Ubuntu :: Compile The Cpp File By Make?

Feb 3, 2011

how to compile the cpp file by make?

make -w file -> does not work!
make -f file -> does not work!

View 4 Replies View Related

Software :: Rebuilt RAID Array With Old Mount Points Present - File System Check Fails On Boot

Dec 2, 2009

I have one hard disk for my root partition and a disk array on a separate mount point. I rebuilt my disk array, but I didn't delete my original mount points beforehand because I was hoping it would just "pick up". So now when I boot up, the OS tells me that the filesytem check fails because it can't find the array to map to the mount point. I know that I need to edit my /etc/fstab and remove the line that defines my mount point on the disk array. But it appears to be read only filesystem when I am in repair mode. I can't force the write with vi.

View 3 Replies View Related

Ubuntu Networking :: How To Make/compile The Driver For A Wireless Card

Feb 16, 2011

I've been trying to make/compile the driver for a wireless card. The card is usb, it's titled Micronext MN-WD550M and seems to use the rtl8712 driver.Firstly, though I did this once two years ago I seem to have completely forgotten how to install a driver in ubuntu.

Secondly, I'm not sure I have the right driver anyway since in the notes in the readme it says it is for i386 (I run amd 64). The driver is here [URL] Thirdly, after clicking through various readmes and documentation without feeling any more intelligent, I then tried using ndiswrapper to install a windows driver and ubuntu would crash if the usb wireless card was plugged in. Blarg.I feel like this should be so simple I'm going to make a clean installation of ubuntu 10.10 shortly (for various unrelated reasons) so anything I messed up with ndiswrapper should be back to normal.

View 1 Replies View Related

General :: Use Make And Makefile To Compile And Link Some .cpp/.h

Sep 20, 2009

I've been trying to figure out how to use make and makefile to compile and link some .cpp/.h. All i seem to find on google says to read the README for the software. But this is my own created c++ project. Im just looking for a simple makefile for my own .cpp/.h files( about 20 total).

I have tried using 2 different makefile "examples" as a template, but neither worked. I am getting error saying "file1.cpp: no newline character at end of file". or something to that degree.

View 5 Replies View Related

Debian :: Can't Compile A Driver From Source (make Cmd Fails)

Nov 14, 2010

I'm trying to compile the D-Link netcard driver from the official source, and when I first ran "make," I got an error that "make" couldn't be found. So I installed "apt-get install make," then make told me that it needed gcc, I installed "apt-get install gcc." Now make says: make: *** /lib/modules/2.6.32-5-amd64/build: No such file or directory.  Stop. make: *** [LINUX] Error 2 and exits.

I suspect that I need to install some package group which will handle the make and make install (rather than manually trying to fix one hole after another)

View 7 Replies View Related

Fedora :: Compile OLSRd On 15 But 'make' Throws Error

Jul 7, 2011

I am trying to compile OLSRd on Fedora 15 but 'make' throws Error 1. Here is the output:

Code:
[x@localhost olsrd-0.6.0]$ make
/usr/bin/ccache gcc -Wall -Wextra -Wold-style-definition -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wsign-compare -Waggregate-return -Wmissing-noreturn -Wmissing-format-attribute

[Code].....

View 7 Replies View Related

Software :: Make G++ Compile In Floating Point Support?

Apr 14, 2011

One of those odd things I learned the hard way is that if you are writing a shared object (library/.so) and any programs that will link to that library uses floating point numbers, the library must be compiled as if it uses floating point numbers. What that really means is, you need to declare at least one float in the source for the library or when the caller connects and tries to run code in the library, the process aborts.I end up putting a float pi (3.1415); in the code and getting an unused variable warning all the time. There has to be a simpler way, some flag to pass to g++ that says, "include floating point support even if you don't really need to."

p.s. Gosh I hope I remembered this correctly. I encountered this problem doing a multi-platform build for Windows and Linux. This COULD be a VC++ problem that I just carried into Linux by using the same source.

View 1 Replies View Related

Programming :: Make A Simple Vector Test But Can't Compile It?

Jun 6, 2010

I am trying to make a simple vector test program, but i can't compile it. Here is the code:

Code:
import java.util.*;
class Vec {
public static void main(String args [ ]) {

[Code]....

View 2 Replies View Related

General :: Cross Compile GNU Make For Alpha Architecture On I686 PC?

Dec 22, 2010

I'm trying to cross compile the GNU make for Alpha Architecture on my i686 PC and the GNU make i compiled would be placed in my virtual hard disk which is a Alpha based linux simulated system. My question is now , I'm able to cross compile the GNU make on my i686 real PC machine , but when i let the make program run in my virtual machine , it pops out the error ..

make: /lib/libc.so.6.1: version `GLIBC_2.4' not found (required by make)

After that, I try another alternative , and I read through the file "INSTALL" on the GNU make directory that I downloaded from the internet . In this case , I downloaded make-3.81. On the sub section "Compiling For Multiple Architectures" It says that

"You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you must use a version of `make' that supports the `VPATH' variable, such as GNU `make'. `cd' to the
directory where you want the object files and executables to go and run the `configure' script.`configure' automatically checks for the
source code in the directory that `configure' is in and in `..'. If you have to use a `make' that does not support the `VPATH'
variable, you have to compile the package for one architecture at a time in the source code directory. After you have installed the
package for one architecture, use `make distclean' before reconfiguring for another architecture." And I do not understand the line "by placing the object files for each architecture in their own directory" . What object files that I should put ?

View 3 Replies View Related

Software :: Unable To Compile The Assembly Code With Make Tools

Dec 29, 2010

/tmp/cctiuwxL.s: Assembler messages:
/tmp/cctiuwxL.s:3534: Error: unknown opcode
/tmp/cctiuwxL.s:3534: Error: unknown opcode
/tmp/cctiuwxL.s:3602: Error: unknown opcode

[code]....

This is the make step error./tmp/cctiuwxL.s is the make temporary dirictory which is distroyed after the make process finises . The problem is how can I hold the /tmp/cctiuwxL.s dirictory .Then I can check it and find out the proiblem.

View 1 Replies View Related

Slackware :: Make 3.82 Can't Compile Newest Kernel With Firmware Built-in

Jul 30, 2010

after upgrading to make 3.82, I can not compile the newest kernel: 2.6.35-rc6-git5,it failed with:

GEN /home/aaa/tools/kernel/output/35/Makefile
CHK include/linux/version.h
CHK include/generated/utsrelease.h

[code].....

Maybe 3.82 has some backward-incompatibility that breaks kernel compilation.

[URL]

View 5 Replies View Related

General :: MAKE BZIMAGE Doesn't Work When Compile And Install New Kernel?

Jul 19, 2010

whenever i'm in the process of compiling and installing a new kernel in ubuntu lucid lynx i get an error message when i get to the make bzimage part is there some sort of program that i needed to install first or is there an alternative to doing this.

View 8 Replies View Related

Programming :: New MPICH2 Installation - Interfering - With -make - Cant Compile Fortran Programs

Jul 28, 2011

Actually I had a folder called Lib, in which I had a few libraries installed and configured.(MPI, PETSc, SLEPc) I accidently deleted (by rm) the contents of that folder.

Then I reinstalled MPI,PETSC,SLEPC using the same tarballs as earlier(thus, the version etc. is the same).

I already had a fortran program with many modules and subroutine files, and the corresponding makefile which used to compile and run fine. But now when I type "make" in the same directory as before, I get this: (shortened, many similar errors)

Code:

Firstly, why is mpif90 compiling my program when I didnt tell it to? In my makefile, I have specified gfortran as my compiler....nowhere have I even mentioned mpif90. Such a thing never used to occur before.

Also, if I rename file_variable.f to file_variable.f90, these errors dissappear (I understand why, but that is not the problem), but a new error comes:

Why is the new MPI installation interfering with make ? I want to go back to how things were before I stupidly broke all installations. The errors themselves are not the problem, the problem is why the new mpi installation is interfering with make.

It seems as if mpif90 has taken over make and gfortran. I suppose I didnt install it correctly, or probably I didnt uninstall the earlier one correctly.

Everything that worked earlier doesnt work suddenly. I use ubuntu 11.04 MPICH2-1.3.2

View 1 Replies View Related

Fedora :: Kernel Compile Error : No Rule To Make Target `missing-syscalls'?

Dec 13, 2009

I am trying to compile a kernel in the following directory:/usr/src/kernels/2.6.30.9-102.fc11.x86_64

Note I am not trying to build an rpm but just do a simple make. After configuring with make menuconfig I issue the make command and get the following error:

Code:
[root@compaq 2.6.30.9-102.fc11.x86_64]# make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
make[1]: *** No rule to make target `missing-syscalls'. Stop.
make: *** [prepare0] Error 2

how to resolve this error? It seems to be fedora-centric.

View 4 Replies View Related

General :: Compile C++ Class In System?

May 25, 2010

I am new in c++ progreming .
i have written lot of classes and main class of c++ in one file and compile successfully but now i have written all classes in different and main class in different file like this.code...

now how to compile and run these classes

View 1 Replies View Related

Debian Installation :: Compile A NIC Card Driver On A New System?

Jul 23, 2011

I have a new machine with an Intel 82579lm network card (needs an e1000e driver, I believe). I got Debian installed, but it doesn't have access to the Internet, because it needs a driver for that card. So, I managed to download the card driver on another computer and transfer it to this computer. Problem is that when I run 'make install' for the card driver, it turns out that my Debian install doesn't have 'make'.

I could compile the card source on another computer with Debian. Problem is that computer has a different architecture (old amd 32 bit machine vs. new intel i7 64 bit) than the machine with the problem card. Am guessing that the compiled driver module won't work on a different kind of machine.

Another possibility is to check in synaptic on my old 32-bit machine and use "Generate package download script" to determine where synaptic is getting the 'make' package from and all its dependencies. I also would need to modify the downloads to get the packages for the 64bit machine. *Assuming* that a) the dependencies in Synaptic on the old 32-bit machine will be the same as for a 64bit machine and b) I correctly identify all necessary packages and their proper names for the amd64 architecture, I should be able to move the files to the new machine and compile what I need to compile.

View 10 Replies View Related

Fedora :: Kernel Compile With Encrypted File System?

Dec 9, 2009

I am trying to replace just the kernel (no modules) for my default kernel on FC 11. I use the default .config file and just change a few things and then run the make command. After I replace the kernel and reboot the system the password comes up for the encrypted filesystem and it does not take my password for some reason. what I need to do to get this working?

View 1 Replies View Related

Ubuntu :: Compile And Install A Minecraft Mapper With The Program "make"?

Nov 19, 2010

Today, I was trying to compile and install a minecraft mapper with the program "make". I navigated to the directory in terminal and ran make. It found the make file and begins to work, then spits an error and stops. To be specific, this was the error:

Code:
cats4gold@computer:~/Downloads/cartograph-linux$ make
make -C src/
make[1]: Entering directory `/home/cats4gold/Downloads/cartograph-linux/src'
g++ -c -pipe -O2 -Wall main.cpp -o main.o
In file included from main.cpp:16:

[Code]...

View 9 Replies View Related

General :: Command To Compile And Execute Fortran Program On System Machine?

Apr 8, 2010

Command to compile n execute a Fortran program on a Linux machine

View 6 Replies View Related

Software :: MPICH2 Software Installation - Execute The Compile Command 'make' To Generate The Binary Codes Of MPI?

Jul 21, 2011

I'm new to linux, and I've been following a paper [URL] to build a linux cluster using RedHat 5. I'm up to part VII step 5, installing the message-passing software MPICH2-1.4, and I'm not quite sure how to "execute the compile command 'make' to generate the binary codes of MPI."

View 13 Replies View Related

Fedora :: Compile A Program To Make It Capable To Use >4GB Memory On 32-bit Fedora?

Apr 11, 2011

The whole code is written in C, C++, and Fortran. Is it possible to make it to use more than 4GB memory. Now it is always crashed when it reaches 3GB memory. If it is possible, how to set up the compiling options (or configure flags)? We can use gcc, g++, ...or intel compilers our OS: Fedora 12 x32

[code]....

View 2 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

Fedora Servers :: Make PHP Pages - Shows An Internal Error 500 Page But Doesn't Show On What Line And Compile Error Encountered

Feb 1, 2011

I'm trying to make some pages. For this I try to host them locally. However, when I have an error in my PHP code, the server shows an internal error 500 page and doesn't show on what line and what compile error it encountered. There is no such information in the error log either. What should I do about it, it's not really nice to comment all the lines and then try to uncomment them one by one. I've been googling for a while, but didn't find anything.. I forgot to mention, I;m using Fedora :P, the apache that came with it and mysql and php from the repository...

View 3 Replies View Related

Slackware :: Compile 2.6.37 Kernel Patched With The Autogroup Patch On A Slackware 13.1 System?

Jan 13, 2011

it's possible to compile the 2.6.37 kernel patched with the autogroup patch on a Slackware 13.1 system running 2.6.33.4-smp with 2.6.33.4 headers? I just compiled and installed the 2.6.37-autogroup kernel from AUR on my ARCH setup and I like it especially when using firefox with lots of tabs open and other background apps also running. I did notice a speed and smothness difference in my ARCH testing setup with this kernel patch and I can get same results in 13.1??

View 1 Replies View Related

OpenSUSE Wireless :: Ndiswrapper 1.55 Won't Compile - "The Program 'kernel-headers' Is Missing On Your System"

Jan 24, 2010

I am using Opensuse 11.2 on an HP Pavilion laptop. The internal wireless (Broadcom device) quit on me - It is no longer detected at boot so I assume it is dead. No problem since I have a D_Link USB adaptor (DWL-G132). To get it working however I need ndiswrapper. I then installed ndiswrapper 1.55 and the user interface supplied with Opensuse. Problem1- The interface says "The program 'kernel-headers' is missing on your system".

I have checked with Yast and the kernel-headers are installed. Problem2- I have downloaded ndiswrapper 1.55 from Sourceforge.net to attempt the traditional installation method. The 'make' command returns the following message: "Cannot find kernel version in /lib/modules/2.6.31.8-0.1-desktop/build, is it configured?."

View 9 Replies View Related

Ubuntu :: Software To Make System Faster?

Mar 24, 2010

After installing ubuntu 9.10. It's now been a month or so from a fresh reinstall.

Currently for some reason at times my computer slows down where typing starts to lag.

Is there any software that would speed up the linux os. Like for windows there is softwares that would check the registery for errors and shortcut errors etc and fix them.

I use free software like that for windows and works well. I just would like to know if I can get something like that for linux. I know linux dosen't use a regsiter but just saying software that checks the linux system for any errors that could cause the computer to slow down.

View 3 Replies View Related







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