Fedora :: Doubt In Syntax Of A Generic Make File?

Sep 15, 2010

I was learning to write a make file, I could understand most part of it of course with few exception I dint understand what does the below commands make(red font). I would like to understand what those syntax represent rather than mugging up without knowing what it means.

$(OBJECTS) :%.o :%.c
$(CC) -c $(CFLAGS) $(INCLUDES) $< -o $@

clean:

rm -f *.o $(TARGET) core

View 1 Replies


ADVERTISEMENT

General :: Getting Error : Make: *** /lib/modules/2.6.31-20-generic/build: No Such File Or Directory On 9.1?

May 9, 2010

When trying to install my WiFi card's driver on Ubuntu 9.1, I run the make command and get the following error:make: *** /lib/modules/2.6.31-20-generic/build: No such file or directory

View 1 Replies View Related

General :: Can't Open File/abcd/configFiles/vim/syntax/syntax.vim?

Mar 7, 2011

When ever i open vim, i get the error that the following error: E484: Can't open file/abcd/configFiles/vim/syntax/syntax.vim There was a .vimrc file in my home folder that i have removed.

Still i keep getting the same error. Presently in my home folder there is no .gvimrc or .vimrc file.

But still i keep getting the same error. I am not too sure where this file is mentioned.

Background info: The SHELL has been changed from tcsh to bash Earlier i had created a .vimrc file in tcsh, i have removed the .vimrc in bash SHELL.

View 1 Replies View Related

Fedora :: Getting Error Message - Can't Hit On Secret Mount Syntax - Make At Least To 1400x1050?

Nov 26, 2010

I am not ready to upgrade my Fedora 13 to 14 yet, but I wanted to test some things in 14. So, using the live CD, I installed Fedora 14 under Virtualbox. But some things are not working and the Virtualbox Help files aren't helping. I have added my Fedora 13 /home/jjj/ folder as a shared folder with the name Home_jjj. The instructions say that in Fedora 14 I must mount it with "mount -t vboxsf share mount_point." So (as root in Fedora 14). I used the command "mount -t ext3 vboxsf Home_jjj /media" but I got an error message. I tried varying the command different ways, but haven't hit on the secret mount syntax. I would really just like to add it to Fedora 14's fstab file to make it auto-mount. I have an external monitor, which Fedora 13 sees, but Fedora 14 cannot see it. The main display for Fedora 13 is 1680x1050. Fedora 14 installed itself with 1024x768 as the max. I tried changing it with xrandr -s, but the only resolutions xrandr will take are 1024x788, 800x600 and 640x480. How can I make it at least, say, 1400x1050?

View 6 Replies View Related

Fedora Security :: Iptables File Syntax?

Dec 19, 2009

Wondering if anyone knows what the range specification is meant to do for the colonHAIN at the top of the iptables file? e.g. what is the 1:76 range mean for :OUTPUT ACCEPT [1:76] ?

# Generated by iptables-save v1.4.1.1 on Sat Dec 19 12:28:00 2009
*filter
:INPUT ACCEPT [0:0]

[code]...

View 2 Replies View Related

Fedora :: Emacs: Set Syntax Highlighting For Unknown File Type

Mar 20, 2010

How can I tell emacs that a file type that it doesn't recognise should have the same syntax highlighting as one it does?

Xfig produces .pstex files which I want to be highlighted like .ps/.eps

View 2 Replies View Related

Slackware :: Setting Up Initrd - Generic Kernel In Grub2 - Can't Load Generic

Jan 4, 2011

I am trying to figure out how to load the generic kernel in Grub2.

I have run the /usr/hare/mkinitrd/mkinitrd_command_generator.sh and ran the output:

Code:

Why this will not load.

View 10 Replies View Related

Ubuntu Installation :: How To Load Kickstart Config File - Refuses To Load File / Launches Generic Install

May 6, 2010

I created an Ubuntu 10.4 iso with the kickstart cfg on it, trying to boot it with the ks=/cdrom/pathtoconfig (tried even ks=cdrom:/path) parameter in VirtualBox but it refuses to load the file and just launches the generic install.

View 1 Replies View Related

OpenSUSE Hardware :: LBP7200Cdn - Generic Driver For 11.1 - Or A Ppd File

Mar 30, 2010

I first went to canon's official support site but I found nothing relevant. So I wondered if there was a "generic" driver for the lbp familly I saw many entries in the list when configuring the printer but none of them were indicating things like lbp familly generic driver or something indicating it shoould handle the lbp7200.

Is someone as ever configured this type of printer ? How he/she did to create the printer queue ?

View 6 Replies View Related

Ubuntu :: Make With Make File Yields Error - /usr/bin/javac: Cannot Execute Binary File

Nov 17, 2010

When I try to compile some Java code on Ubuntu 10.10 (kernel 2.6+) using make and a Makefile.

I get an error indicating that the make utility cannot execute the java compile command (javac).

The error reads: /bin/bash: line 6: .: /usr/local/jdk1.5.0_18/bin/javac: cannot execute binary file

I am executing make as root. I have enabled permissions on all directories in the path /usr/local/jdk1.5.0_18/bin/javac and on javac itself.

I get this error whether using a jdk installed via ubuntu apt-get, or whether I install the jdk myself. And I get it using either Java 1.5 or 1.6

My machine has an 80386 processor. I notice the make utility is built for i686-pc-linux-gnu

However, I can manually compile using javac.

I can compile calling javac from within a bash script.

I can compile using the java compiler gcj from the command line: gcj --main=HelloWorld HelloWorld.java -o HelloWorld.exe

But I cannot compile java code from the makefile. Any reasons why I might be getting this error?

View 4 Replies View Related

Fedora :: Make A Script In Which Drag A File (with Spaces In File Name )?

Aug 2, 2011

i am trying to make a script in which i can drag a file (with spaces in file name ) and it will scp the file to another computermy code is

Code:
echo "--------------------------------------------"
echo "drag file now"

[code]....

View 7 Replies View Related

General :: Make And Sh Commands - Make A File Called File Roller For Ubuntu 9.10

Apr 6, 2010

I want to make a file called file roller for Ubuntu 9.10. The folder has a file called install.sh and some others that are make.

I figure first I need to make a file and then run install.sh to install. But I don't know how to do this.

View 2 Replies View Related

Programming :: Validate XML File For Its Syntax?

Jan 25, 2011

I am having an XML file,i want to verify the file for its syntax,

View 14 Replies View Related

General :: Send A File Using The Sftp Syntax

Mar 24, 2011

I understand how to get a file from an another computer using the sftp syntax

So i can get the file abc from comp2 to comp1

But how can I send a file cba from comp1 to comp2 using the sftp(I am still using comp1)

View 2 Replies View Related

General :: Sudoers File: Syntax Error?

Jul 11, 2010

Recently I edited sudoers file and did typing error. Now neither I can do sudo nor change it.

Code:
sudo visudo -c
>>> sudoers file: syntax error, line 8 <<<
How I can get correct the sudoers file?

View 5 Replies View Related

Ubuntu :: Grub2 Persistent Partition Don't Have The Right File Or Syntax?

Jan 4, 2011

I've read and read & am still no smarter. I've tried to make a persistent partition(one that mounts whenever I boot/login). Either I don't have the right file or syntax, I've given up and need help. Please tell me exactly which file to edit and the proper syntax to put there. The partition on my machine I want to do this for is "sdb2" uuid "02f5852a-c3e2-47e8-b1dd-93592f1f87ee" label "archives"

View 5 Replies View Related

General :: Configuration File For Vi Or Vim Editor For Syntax Highlighting?

Sep 10, 2010

On this Red Hat Box that I am using there is no .vimrc file for the user root. So, I created one and entered only one line to highlight syntax with colors when I am writing scripts in PHP and Bash. But it is not working.

Code:
[root@localhost ~]# cat ~/.vimrc
syntax on

[code]....

View 6 Replies View Related

General :: Syntax Error Near Unexpected Token `for File In

Jan 19, 2011

I have been trying to get the following code to run.


Code:

However I am getting the following error:

Is there something that I am missing in the script? I have it as a unix file and tried to make sure that I did not have any extra characters.

View 7 Replies View Related

Ubuntu :: Installation Doubt Due To Splashtop?

Mar 20, 2010

I saw this new HP laptop at our hostel that has this wonderful splashtop that shows as soon as the power button is pressed(unlike sony which requires you to press a button for booting up the splashtop).this screen has options for internet skype music etc and a boot into windows options.how could i possibly install ubuntu in this...... will grub replace this splashtop........

View 2 Replies View Related

Debian :: Doubt About Apt-show-versions

Apr 25, 2011

I use Debian Squeeze.

Quote:

But if I go to [url] I'll find:

Quote:

So, why the message "newer than version in archive"?

View 1 Replies View Related

General :: Doubt Regarding 389 Server Client

Jan 5, 2010

I have a doubt regarding the 389 Server Client Architecture. Say, I have 389 Server working and I have few Linux Clients. Now you say that if 389 client is configured it will login through credentials which is configured in Server. So what about the local Users on that Client.How will normal users in the Client login?

View 1 Replies View Related

General :: Doubt Regarding Kernel Installation?

Jun 10, 2010

Is "make modules" step needed to install a new kernel ? I want to install the general setup configuration. I don't want to add any modules of my own.

View 4 Replies View Related

Ubuntu Multimedia :: Ffmpeg : Avi To Mp4 - Syntax And Reduction In File Size?

Mar 14, 2011

I'm using a basic ffmpeg command to convert some avis into mp4 : file01.avi - 544x416, 368MB

Code:
$ ffmpeg -i file01.avi -vb 750k -s 432x336 file01.vb750.432x336.mp4

After conversion :
file01.vb750.432x336.mp4 - 432x336, 302Mb.

If I alter the output file dimensions to 352x272 I then get a file size of 301MB, which is just 1MB less than the file of dimensions 432x336 ? I had expected size to be 30-40MB lower. I do not want to compromise quality by reducing the bitrate to below 750 kb/s so how can I alter the ffmpeg command syntax to get a considerably smaller file size with video dimensions 352x272 ? I would like to use the default codecs and avoid x264 for the mean time.

View 9 Replies View Related

Slackware :: /usr/bin/pgm2txt: Line 179: Syntax Error: Unexpected End Of File

Oct 4, 2010

I have compiled both gocr and subtitleripper from [URL] and I am running into a problem with one of the scripts run from subtitleripper: pgm2txt. The error is:

Code:

andrew@skamandros~/Desktop/Labyrinth/subtitles$ pgm2txt -f en fauno
/usr/bin/pgm2txt: line 165: unexpected EOF while looking for matching `"'
/usr/bin/pgm2txt: line 179: syntax error: unexpected end of file

Support for this program is not available and development has ceased a while ago so I have had a look at the script itself and I cannot see the error in syntax.

View 3 Replies View Related

Ubuntu Multimedia :: Generic Vesa Driver Xorg.conf File That Will Work With Most Any 1024x768 Monitor

Feb 12, 2010

I am looking for a generic vesa driver xorg.conf file that will work with most any 1024x768 monitor.

This is for a network appliance and our field people have many different type of monitors.

This product will mostly be used "headless" but sometimes our field people will plug in a monitor.

The intel driver will not even start x without a monitor plugged in so I found it necessary to go to the vesa driver.

Code:

View 1 Replies View Related

Ubuntu :: Grub2--script Command Doubt?

Feb 23, 2010

I am on my way to coustomize grub2 n believe me i am trying very hard.....I found out about writing our own scriptslike

cat<<EOF
menuentry "Reboot"
{

[code]....

View 9 Replies View Related

Ubuntu :: Shell Scripting Command Doubt?

Jan 1, 2011

How do i find out if a particular item is a file or a folder through the terminal ls -la gives 'd' before the permissions for every folder and '-' before every fileLike i want to write a script that backup data if it is a folder and deletes if it is a file

View 2 Replies View Related

Programming :: Pointer As Function Return Doubt?

Jul 15, 2010

I'm getting some information about C language and this session of a C book (follow the above link) is using a bad example for me. When I'm trying this example of function returning a pointer, my compiler is stating a warning that I return a pointer to a local variable. I realized that it is error prone after all this variable may be override before the function has done his execution. And the author is fooling me saying that this example is "perfectly safe". I'm wrong? There is something that I don't got yet? Sorry but this site is preventing me to post the link of book cause I'm a newbie, so a need the hack it. Just strip out the question signs:

{LINK}
?w?w?w
?cs.cf.ac.uk?

[code]....

View 6 Replies View Related

General :: Doubt In Echo A For Beeping An Alert?

Feb 6, 2010

Below is the shell script that I am writing to beep an alert but listen to nothing.

Code:
#!/bin/bash
echo Listen to the alert!
echo -e "a"
echo listened ?

View 2 Replies View Related

Programming :: C++ Dynamic Array Of Struc Doubt?

Nov 28, 2008

I'm studing and making my first real life program in C++. I've got a doubt related with including a string type into a struct when I'm managing memory allocationdynamically.Bellow I copy the test program I did which works ok. But if I try to use string type instead of "const char *" into the struct I receive a "segment violation" error when I run the program. No error messages when compilling it.Does anybody knows if I'm doing something wrong?

#include <iostream>
using namespace std;
struct Datos {

[code]...

View 4 Replies View Related







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