General :: Errors - After Editing Makefile In Line 880

Apr 6, 2010

I want to install pgplot on ubuntu 9.10 but I have some errors after editing makefile in line 880

replaced "pndriv.o : ./png.h ./pngconf.h ./zlib.h ./zconf.h" by
"pndriv.o : /usr/local/include/png.h /usr/local/include/pngconf.h /usr/local/include/zlib.h /usr/local/include/zconf.h"
and running code "make" I get this error :
No rule to make target `/usr/local/include/png.h', needed by `pndriv.o'. Stop.
also I tried to uncomment this line got another error :
make: *** [pndriv.o] Error 1
and also replace "pndriv.o : ./png.h ./pngconf.h ./zlib.h ./zconf.h" by "pndrive.o : "
what should I do ?

View 14 Replies


ADVERTISEMENT

General :: Using Makefile - 'Multiple Definition' Compile Errors

Mar 1, 2011

As part of an assignment, our class was given a small set of c++ classes which are compiled using a makefile. As part of the assignment, I have created a namespace and saved in it a .cpp file. The functions, constants and typedefs from the namespace are now used in one of the original files, and so I added an <#include MyFile.cpp> to the file I modified, in addition to a using MyNamespace;

When I try to use the original makefile, the compiler gives a lot of errors about multiple definitions of every function in the namespace. What do I need to do to resolve this? Do I need to change the makefile or one of the files themselves? I am new to Linux programming and makesfiles.

View 2 Replies View Related

General :: Minimal BASH-like Line Editing?

Jul 11, 2010

I just installed ubuntu today, and it asked me to install over 200 security updates. When I finished that, it asked me to restart the computer so that the updates will take effect. After Dell (it's a Dell computer) booted, I got a message reading:

"Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else, TAB lists possible device or file completions."

View 6 Replies View Related

General :: Cannot Boot, Stuck In GRUB Line-editing?

Sep 3, 2010

After my last update in my ubuntu, I had a problem. (As almost everytime that I update it)
When I select to boot ubuntu, it doesn't work.It shows something like:"GNU GRUB version 1.97"beta 4[ Minimal BASH-like line editing is supported.For the first word, TAB lists possible command completions.Anywhere else TAB lists possible device/file completions]
sh:grub> "And I don't know how to make it work.I tried to follow this tutorial:[URL]I got an error message saying that the file couldn't be found. And if I skip it, when I type "boot" the system reboots and comes to the same place I was before.
I've also tried to set another partitions like

View 11 Replies View Related

Programming :: 'makefile' \ Errors Are Mainly Due To Multiple Declarations Of The Functions?

Nov 24, 2010

This is the makefile....

Code:
animesh:main.o input.o bsort.o output.o
gcc -o animesh main.o input.o bsort.o output.o

[code]....

View 7 Replies View Related

Slackware :: Makefile:535: /usr/src/linux-2.6.33.4/arch/i486/Makefile: No Such File Or Directory

May 31, 2010

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

looks like the folder i486 doesn't exist

View 2 Replies View Related

Ubuntu :: Minimal Bash-like Line Editing Is Supported?

Feb 5, 2010

I installed Ubuntu on my laptop yesterday, and now it won't start up. It will ask me what OS I want (either Windows or Ubuntu) and then it goes to a black screen with the "minimal bash-line..." phrase on it. Before this happened, I had somehow managed to get into full screen terminal. I couldn't get out of it so I just hard restarted the computer, and this happened. What can I do to fix it? It doesn't get as far as asking which version of Ubuntu I want to load.

View 1 Replies View Related

Fedora :: Editing A Line In A Daemon.conf [read Only] File?

Mar 16, 2011

I need to edit a line in a file in gedit, but its read only. I need to change

; default-sample-rate = 44100
to
default-sample-rate=44800.

Would anyone know if there is an option to make a read only file editable? Judging by the responses to the thread I followed to enable my soundcard, it is possible, and perhaps there is some setting etc that needs changing

View 3 Replies View Related

Ubuntu :: 'Minimal BASH-Like Line Editing Is Supported' At Startup?

Aug 22, 2010

So I turn on my PC this morning, and it comes up with this telling me to use 'TAB' to see a bunch of options I can use, not knowing any idea on how to use them properly I type in 'boot', it returns with 'error: no kernel' and then I type 'exit', it just reboots.

I've scanned endless posts on the forum trying to find the most useful replies and tried to use 'find /grub/stage2' and 'find boot/grub/stage2' and it says 'find is not a command' so that failed. I then tried to find out the partition my installation is in, which is hd0,1 so I tried using 'setup (hd0,1) which returned with 'setup is not a command'. I even tried 'boot (hd0,1) but it returned with the first error 'error: no kernel'. Luckily, when I installed Ubuntu I dual-booted it with Windows so I'm still able to use the Internet but I would love Ubuntu back and I had a lot of important files on it. So does anyone know how to solve this?

By the way, the way I installed Ubuntu was through Windows using 'wibu', it's worked absolutely fine ever since this morning. Oh and I'm using Ubuntu 10.04 (Loopy Lynx or whatever it's called ;p)(Also, for more information this screen appears after I choose 'Ubuntu' from the Windows bootloader, it doesn't even get to the Ubuntu bootloader it just goes straight to that screen)

[Code]...

View 3 Replies View Related

Ubuntu :: GRUB: Minimal Bash-like Line Editing Supported?

Nov 3, 2010

I just installed a fresh copy of Ubuntu, dual booting with Windows 7 on one partition, but I'm having problems with Grub. I think I put it in the wrong place when I installed it. At first, it would just boot into Windows. But with SuperGrub I could boot into Ubuntu.

This was the result of the boot info script:

Code:
Boot Info Script 0.55 dated February 15th, 2010
Boot Info Summary:
=> No boot loader is installed in the MBR of /dev/sda
sda1:
File system: ntfs

[Code]...

View 2 Replies View Related

Ubuntu Multimedia :: Getting Any Command Line Audio Editing Tools?

Nov 15, 2010

Does anyone know of any good command line audio editing tools? I would like one that can take an mp3 file and crop everything but the first 30 seconds or so (possibly decompressing those 30 seconds as well).

View 2 Replies View Related

Ubuntu :: Whenever Try To Boot Up Minimal BASH-Like Line Editing Is Supported?

Mar 15, 2011

Ok now, whenever I try to boot up Ubuntu (I also have Windows 7 installed), this message pops up:

Code:
[ Minimal BASH-Like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a

[code]....

View 9 Replies View Related

Ubuntu :: Grub-Minimal BASH-like Line Editing Is Supported?

May 31, 2011

I had a dual boot with Ubuntu 11.04 and Windows vista. Upon upgrading to windows 7, i found my grub to be replaced, with windows boot loader. So i booted from a live USB with Ubuntu 11.04 and followed steps as follows.

1. Mounted the partition where i have ubuntu 11.04
2. mount | tail -1
3. sudo grub-install --root-directory=/media/0d104aff-ec8c-44c8-b811-92b993823444 /dev/sda
4. Reboot

On rebooting, I find grub to open in terminal mode, and does not allow me to log in either in windows or in Ubuntu! All i get is a grub terminal [ Minimal bash-like editing is supported. For the first word, TAB lists possible completions of a device/filename. ]

View 1 Replies View Related

Ubuntu :: Unusual Grub Minimal Bash-like Line Editing Is Supported?

Mar 21, 2011

Ubuntu didn't start up all of a sudden. It got error and stuck at : Minimal BASH-like line editing - Ubuntu Forums. I tried many ways suggested to go into menu mode but failed. I followed online solutions.. but none of them helped. I tried to list all partitions and I got this: ls

(memdisk), (hd0), (hd0,msdos), (fd0)
i tried
root (hd0)/boot , it said unknown filesystem
root (hd0,msdos)/boot, but it's a windows partition
root (f0)/boot, it said read error

The setup is dual boot with wubi, so i logged on to windows7 and installed partition magic, but i couldn't see the linux parittion, the whole harddisk is 500G, but only 2xxG is visible in NTFS. I used liveCD to boot the system, but when i run sudo fdisk -l, i didn't see anything. I have no idea why it happened, and the last successful log on was in Ubuntu, so i doubt it's due to windows update. I am going to try Solution #1 (10.04) in wubi megathread. Can anyone suggest what has actually gone wrong? WIll i able to recover the data in my linux parition given partition magic cannot see it?

View 6 Replies View Related

Red Hat / Fedora :: Unusual Grub In Minimal Bash Like Line Editing Mode

Jun 14, 2010

I have installed RHEL5, solved the problems around it and started to set up the GRUB. I have set the menu.lst with simple
rootnoverify (hd1,0)
mkeactive
chainloader +1

and tried to boot the Win7 on that partition. NO LOADER came up and since that moment
Grub is only in "Minimal BASH-like line editing" mode. I have tried all of I have googled, nothing have worked. There is a problem with even finding /boot/grub/stage2, or anything else, grub won't let me mount any partition. When I try to find any file, it says file not found. It is important to say that all I did to cause this was change in menu.lst
rootnoverify (hd1,1) to rootnoverify (hd1,0)m nothing else! There is no logic in this....

View 9 Replies View Related

SUSE / Novell :: Opensuse 11.2 KDE - Lock Errors At The Command Line

Dec 17, 2010

i tried to install java jdk, and vlc, but to my surprise everytime i wanted to install a single application, a massive 500MB update appeared along with the 2 applications i wanted to install, then i tried the command line to just install one program, and got rep. errors, and several .lock errors at the command line. after hours of googling i gave up , this distro was recommended because of great laptop support, but it's a hell of trying to install a single program, with fedora i just did su -c 'yum install vim' , or ubuntu sudo apt-get install vim or slackware: installpkg vim.tgz , but opensuse was so bloated whenever i wanted to install a program or two. it is a royal pain to install anything in opensuse how do you guys deal with dependency hell in opensuse?

View 2 Replies View Related

Ubuntu :: Getting Error "Minimal BASH-like Line Editing Is Supported" / Fix It?

May 1, 2011

I tried installing an update for ubuntu but I don't think it shut down properly and when I try to start it up, I get the error "Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions." The version is GNU GRUB version 1.98-1ubuntu9. I have tried looking into this issue and cannot seem to find a way to boot up ubuntu. I tried typing in "root (hd0, 1)" which it what it was on mine but it the message in the terminal returns "filesystem is ntfs". I'm not sure what to do and I don't want to lose files on my partition.

View 1 Replies View Related

Ubuntu :: Got Error "Minimal BASH-like Line Editing Is Supported" / Solve It?

Mar 2, 2011

I have a problem with the GRUB menu. When i open my computer it gives me error message " Minimal BASH-like line editing is supported.".I can't get passed that. So, it makes the computer unuseful. Windows 7 is not seen, neither Ubuntu. I am stuck at that screen. Before i was running dual-boot Windows 7 32-bit and Ubuntu 10.10.The GRUB version is GNU GRUB version 1.98+20100804-5ubuntu3I looked everywhere to get this fixed but i just cant seem to fix it!

View 4 Replies View Related

Ubuntu Installation :: Massage Arrived At My Screen:"GNU GRUB Version 1.99"rc1-13ubuntu3Minimal BASH-like Line Editing Is Supported?

Jun 1, 2011

I have a problem with booting my Ubuntu System.I have installed the new version of Ubuntu(11.04) next to Windows XP on my PC. When I restarted my PC I have selected "Ubuntu" from the boot menu. When I did that following massage arrived at my screen:"GNU GRUB version 1.99"rc1-13ubuntu3Minimal BASH-like line editing is supported. For the first word, TAB lists possible command complections. Anywhere else TAB lists possible device or file complectionsgrub> _"

View 7 Replies View Related

General :: Debugging A Makefile ?

Feb 24, 2011

Is it possible to debug a makefile? In a bash script I can use "set -x" so that all variables are shown with their values. I am looking for such feature in makefile to see the variables and their values.

View 2 Replies View Related

General :: What Is Purpose Of Makefile In Nis Server

Aug 17, 2010

can anybody tell the use of make file in Nis server.

View 1 Replies View Related

General :: Why Some Makefile Is Missing After ./configure

Sep 1, 2010

I have encountered some cases that the ./configure log says:

config.status: creating xxx/Makefile

but when make fails on:

...
make[2]: Entering directory xxx
make[2]: *** No rule to make target `all', Stop
...

and xxx/Makefile is absent in the disk. Why does it happened?

View 1 Replies View Related

General :: Can Source Filename Be Used In Makefile

May 7, 2010

in directory a_dir, have a file named a_file.i can type "source a_file" under directory a_dir and execute successfully.but if i write the command to a Makefile under directory b_dir, the "source" function can't be executed well. it will generate some error message like this:

./a_file: line 1: setenv: command not found
./a_file: line 2: setenv: command not found
./a_file: line 3: setenv: command not found
./a_file: line 5: setenv: command not found

View 3 Replies View Related

General :: How To Write Non Recursive Makefile

Dec 14, 2010

I want to write simple non recursive makefile, but I am not getting syntax of it. Please give me example with simple description. I had read docs, html's but I am not getting how that works please give simple example. consider I have following directory structure.

[Code]...

View 1 Replies View Related

General :: Writing Else If Condition In Makefile?

Mar 18, 2010

I need to write an else-if condition in a makefile, and though the format is posted on several websites, nothing seem to be working, andI get an error everytime. Could anybody please write a small example with an else-if conditional in a maekefile?

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

General :: Call Makefile From Shell Script

Apr 12, 2011

I can find all kinds of information on calling a script from a makefile but not the other way around.I'm writing a VERY basic shell script, and I need to call a makefile located in a directory lower than the shell script but can't seem to figure it out../dir/make and ./dir/makefile don't work.

View 2 Replies View Related

General :: Make Rules In A Makefile - Debug

Nov 17, 2009

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...

View 2 Replies View Related

General :: Compile Multiple File Using Makefile ?

Jun 1, 2011

How to compile single file in Linux environment using gcc. Now i dont know how to use make file to compile multiple file.

View 5 Replies View Related

General :: Set Runtime Library Path In Makefile?

Jun 9, 2010

I would like to set run time library path in my makefile, so that my exe should search run time libraries in that path when executed. How to set this in makefile?

View 3 Replies View Related







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