Fedora :: Eclipse Auto-Created Makefile Crashes Make
Dec 11, 2009
I'm just learning to use Eclipse (have previously been a vim+make developer). I created the standard Hello World project following the tutorial. The program compiles fine, but if I build it again without cleaning the project, make aborts with a glibc double free message (pasted below). The same thing happens if I run make in the Debug directory outside eclipse. I don't know make well enough to figure out what the problem is, and to my mind Eclipse shouldn't be generating a buggy makefile anyway.
I've attached a tarfile of the project directory. Download the file and the following sequence of commands should show you the problem:
tar xvzf HelloWorld.tar.gz && cd HelloWorld/Debug && make && make
Also, if you think it would be worthwhile submitting a bugreport to the Fedora Eclipse dev team, let me know where I can do that and I'll be happy to.
I am new to Linux and I am trying to install a C program from source using Makefile. So I 've created a "hello world" program and then a Makefile to install it. Then I logged in as root and used make install
The following error occurs: make: execvp: /usr/bin: Permission denied make: *** [install] Error 127
Here is the Makefile: CC=gcc CFLAGS=-c -Wall PROGS = hello INSTDIR = $(prefix)/usr/bin/ INSTMODE = 0755 INSTOWNER = root INSTGROUP = root
all: $(PROGS) $(PROGS): main.o $(CC) main.o main.o: main.c $(CC) $(CFLAGS) main.c install:$(PROGS) $(INSTALL) $(INSTDIR) $(INSTALL) $(INSTMODE) $(INSTOWNER) -o $(INSTGROUP) $(PROGS) $(INSTDIR) clean: rm -rf $(PROGS) *o $(PROGS) So, where are the errors
It builds fine when I build from the command line ( make -f sample.mk).
However, it does not build when building from eclipse (which essentially calling the same makefile). The make output shows exactly the same as what I got from the command line build, except the last line showing
I want to gave much details as possible. working directory (~/a1/shell) in the shell directory i have Makefile. also in the shell directory i have subdirectory's (obj, src, include)
My current Makefile
Quote:
#What needs to be built to make all files and dependencies
clean:
# End of Makefile
I wanted it so: all .o files are created in the obj subdirectory, and my application, sshell, is created in the shell directory.
I am getting this error when i run the make run: No rule to make target 'shell.h', needed by 'shutil.o'. stop
I got an error : ./eclipse The program 'Eclipse' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAlloc (insufficient resources for operation)'. (Details: serial 163951 error_code 11 request_code 53 minor_code 0) Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.)
I googled and found some solutions by downgrading xulrunner, but no dice.
I've just installed openSUSE 11.4 64bit Gnome and after that I downloaded eclipse-cpp-helios-SR2-linux-gtk-x86_64.tar.gz (CDT version for eclipse). I downloaded the linuxtools and tried to write some lines and I got a crash. I have the Oracle Java installed on the system. I restarted eclipse but seems that I cannot get rid of this crash. Did you experince something like this?
This is the output from cli: # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f48a3a2a89b, pid=16354, tid=139949755737856 # # JRE version: 6.0_24-b07
I'm having a problem with eclipse, it keeps crashing while I'm working working with it, running from the terminal i found this:
# A fatal error has been detected by the Java Runtime Environment code...
i have googled and i found a ubuntu forum where a guy had the same problem, his solution was disabling the php browser, so i try to do it and go to window>preferences>General>Web browser... as soon as i click "web browser" it just crashes with the same error above, so i guess the "browser" is the problem, i didn't find the "php browser" option so that's why i click on "web browser"
if anybody has a solution for this please help me, i would be awesome to solve this.
I use Slackware 13.1 and eclipse 3.6 (Helios). When I do some programming the eclipse is always crashing. E.g.: class c, c.gwtC(); when I write the "." and the autocomplete is activated the eclipse crashes.
I recently switched over to Fedora 13 but I'm having a bit of trouble. I've tried writing simple programs in Emacs and Eclipse but neither will compile. It always gives the error, "make: *** No targets specified and no makefile found. Stop."
I've looked around at a couple of forums, but people with the same issue can't install software, but I can. I got Fedora from the Fedora website so I know its complete, but I have the sneaking suspicion that I'm just missing a file or something.
I am facing a problem with Eclipse after I installed it today. It keeps closing [unexpectedly] after I click a choice like closing one of the pop-up windows that shows after I choose an option from the menus in the top. With no errors returned or shows up! As an example, when I choose to create new project, and fill in the project information [Name, type, path] and when I click FINISH all Eclipse closes, and I need to re-open it again [I find the project that I created there].
I'm a heavy user of Eclipse. It's my workhorse. Today, the thing started crashing on me. So, I started the thing from the console to see what the last message is before crashing, but...nothing. It crashes whenever I hover over something that is supposed to give a pop-up (you know, the yellow-ish popup with a help text).
Any clues to what I can do to remedy this? As I noted, there are no return messages, so, that's all I have here...
I've created a live cd with wubuntu.iso on it and am having trouble getting it to deploy on another laptop. Is there another file in the remastersys folder that needs to be added so it will auto deploy? This is part of remastersys creation for cloning your system to deploy on another laptop/pc.
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.
Does anyone know if it is possible to make rules in a Makefile that would work like this:
> make debug module or > make module debug
where module can be any module that has a specific rule in the Makefile.
The thing I have is a Makefile with different rules that I compile like this:
> make module
What I would like is to add an option so I can compile whichever module with debug-information just by adding a debug to the make command. The debug-information I know how to do, the problem is how to make the Makefile work...
im trying to install Squid clamav with squid(fedora11, 386MB, 2.6kernel)..i configured clamd and is working fine,(squid wrking fine) then i tried to install squidclamav via (yum -y install curl-devel).then i downloaded squidclamav-4.0.tar.gz and extracted.. then i run ./configure and then make.but make install command wont work; it shows an error.
I have a number of projects, say test1, test2, test3,. I want to make and install all of them in exactly the same way; so I would like to say make test2 make install test2 with the same Makefile.
In other words, I would like to pass the argument test2 (or just 2) to the Makefile, so this is taken as the target for make or make install. This must be a common wish; but I don't see any appropriate option with "man make" on my Fedora-12 system.
I'm trying to make recursive makefile work but it's giving me two problems. I have a top folder with the main Makefile and one Makefile for each sub folder 'one' and 'two'. Makefile in subfolder 'one' and 'two' are identical. The top Makefile (still a bit messy) looking like this:
Code: # Directories CC = gcc CFLAGS = -Wall -Wextra TARGET_DIR = bin MAIN_FILE = one.c
I was tried to compile the brl-cad for my IA32 machine. I install all the GNU auto series (autoconf, automake, libtool). Then I run sh autogen.sh asnstructed by the installation guide. But after the preparation finish, I check my directory. The make script does not exist. And everything broke down here. When I tried to run "make", I got this feed back: make: *** No targets specified and no makefile found. Stop.(of course, there is no make file)I had run every step by using root account. Hence, there should not be any restriction on operation.
Trying to build a driver for a TV tuner card. When I enter 'make menuconfig', I get this error:
make[2]: Entering directory `/usr/src/linux-headers-2.6.32-5-amd64' /lib/modules/2.6.32-5-amd64/source/scripts/Makefile.build:44: /lib/modules/2.6.32-5-amd64/source/scripts/basic/Makefile: No such file or directory make[3]: *** No rule to make target `/lib/modules/2.6.32-5-amd64/source/scripts/basic/Makefile'. Stop. make[2]: *** [scripts_basic] Error 2
Suspect I need another package in addition to linux-headers. Running Squeeze, amd64, KDE.
I have an issue that my BACKUP drive is listed twice. (internal FAT) I am running F12 32b. I have it listed in FSTAB so it will automount & set the permissions. I did this in the earlier versions I upgraded from. I would like to either get rid of the other entry or, if easier, make it auto & set permissions but I don't know where it is.
I needed an open source alternative to after effects so i went for jahshaka but after following the instructions, i type in 'make' and hit return and it says "make: *** No targets specified and no makefile found. Stop." am i missing something obvious? i have looked around the web, but no-one has this problem that i can find i am using ubuntu 10.04.
I just downloaded slackware 13.1(x86) and i'm trying to compile ndiswrapper-1.56 using the slackbuild from slackbuils.org and i'm getting this error:
Code:
Makefile:535: /usr/src/linux-2.6.33.4/arch/i486/Makefile: No such file or directory make[2]: *** No rule to make target `/usr/src/linux-2.6.33.4/arch/i486/Makefile'. Stop. make[1]: *** [modules] Error 2 make: *** [all] Error 2
i have installed mouse trap by the Ubuntu "easy peasy" software center ,but for some reason it didn't work so i uninstalled it and start to install the mouse trap from herehttp://live.gnome.org/MouseTrap/Installationbut when did the "make" step it gave me that error:make: *** No targets specified and no makefile found. Stop.so how i fix thatand another problem that i have is when i go to a live radio on the net to listen it dose not work how do i change it to work like i changed to the "vlc player" to be the first program that opens
I am new to Fedora (I have always used ubuntu in the past), and I am trying to download eclipse. Unfortunately, "sudo yum install eclipse" is returning "no package eclipse available". I think this means that I am missing the correct repo, but I'm not sure which is the right one and don't know how to add it to my repo list for this version. My version of fedora is centos5 based, and my current repo list is the following:
I've installed eclipse and android manually at /opt. How do I make /opt/android writable by eclipse ? I don't want to chmod it to 777. Specifically I need to know the group eclipse belongs to.
I read this guide: [URL].. but I still don't understand how to make objects created with new garbage-collected. Could someone explain how or find a link to an explanation?