Ubuntu :: Meaning And Need For Creating Make File

Feb 9, 2011

i'm using ubuntu10.10 maverick.im programming in systemc..i dunno how to compile and run my program (*.cpp). where should i save my program and where to create makefile???what is this makefile and how should i create it..got completely no idea and i'm new to ubuntu..so please someone explain clearly the concept.

View 1 Replies


ADVERTISEMENT

Ubuntu Servers :: How To Understand Log File Meaning?

Apr 13, 2010

a lot of log file store in location /var/log/ but how to understand what the meaning in side the log file recorded down? how to find out the problem from the log file?

View 2 Replies View Related

General :: Meaning Of File Command Output?

Feb 27, 2010

I used the following command

Code:
file /usr/bin/mawk
Output is

[code]...

View 4 Replies View Related

General :: Concept Of File System - Meaning Of Arrows

Feb 25, 2011

I've several questions to ask: Why do some files have black arrows pointed outward in my file system? Why are some files in compressed form, e.g. initrd.img?? How are such files used by the system??

View 2 Replies View Related

General :: What Is Meaning That File Is Named Pipe (FIFO)?

Jul 12, 2011

What is a pipe? and why a file is a named pipe? I am just learning linux.

View 2 Replies View Related

Software :: Meaning Of Traffic And IT File Generated After Simulation In CRCN

Mar 2, 2011

How to analyse the IT and Traffic file generated in CRCN simulation? What they represent i.e what is the format?

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

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

Fedora :: Fedora 13 File Permission Notation - Dot Meaning?

Jul 11, 2010

I may not have noticed in other Fed releases, but in Fed 13 I am seeing a dot at the end of all file permissions. Example:

[pjs@linux ~]$ ls -ld Documents
drwxr-xr-x. 62 pjs pjs 4096 Jul 11 09:53 Documents

Even on files I create myself:

[pjs@linux ~]$ touch foo
[pjs@linux ~]$ ls -l foo
-rw-rw-r--. 1 pjs pjs 0 Jul 11 10:46 foo

It is the same throughout the fs. I have disabled as much of SELinux as I can. What does the dot mean?

View 1 Replies View Related

OpenSUSE Install :: Creating ISO-file From Burnt ISO-file On CD-R Gives Different File Length

Jul 25, 2010

I downloaded three iso-images, 1 dvd-image and 2 cd-images:

openSUSE-11.3-DVD-i586.iso
openSUSE-11.3-GNOME-LiveCD-i686.iso
openSUSE-11.3-KDE4-LiveCD-i686.iso

Being paranoid, I created iso-files from the burnt DVD-R and the two burnt CD-R to verify integrity.

The iso-file of the DVD-R was identical to the downloaded image. Both iso-files created from the CD-R were different in size.

The original size of openSUSE-11.3-KDE4-LiveCD-i686.iso is 719.323.136 Bytes.

I only got 718.938.112 Bytes when recreating an ISO-file from my CD-R.

The CD-R is from Sony. When the length of my ISO-file doesn't correspond to the downloaded one, the checksum file verification doesn't work.

View 3 Replies View Related

General :: Open Local File Error When Creating File Descriptor?

Sep 14, 2009

error message when I ran my program that I couldn't open my local file. I have two files first one is called client, second one is called server I am using named pipes to sent a message from client to the other file called server in client I used mknod() to create the two named pipes,one for read,one for write and created new thread in client using fork() spawned a child process that executed the server file both named pipes are opened the client file got the message from the user and sent it through the named pipes to the server file when the server receives the message , it needs to verfify it is correct in the server file, a local file descriptor is created to read and send this verifing message when it is not correct but I am getting an OPEN() error when I tried to open this shared local array buff and attach it to a file descriptor where the message is kept why do I get this error in server file

int main()
{
/*both named pipes are open*/
rfd=open(IFIO1,0);
wfd=open(IFIO2,1);

[code]....

View 1 Replies View Related

Ubuntu :: Contex Menu [Make Link] Make Same File Size?

Dec 17, 2010

I notice that when you try to Make link to any file or folder form context menu, It just copy the same file size? even when i tried to copy the link to external storage disk..

View 1 Replies View Related

Ubuntu :: Error Creating File System: Helper Exited With Exit Code 1: Cannot Open /dev/mmcblk0p1: Read-only File System

May 2, 2010

I bought a new SD card which I intend to put some MP3s on - except that I can't write to it because it tells me the destination is Read Only. No-probs thinks I: I'll just reformat it.

"Error creating file system: helper exited with exit code 1: cannot open /dev/mmcblk0p1: Read-only file system"

Various chmod commands all result in Read-only file system. I tried umount then mount commands, but it couldn't find it to mount once I'd unmounted it using the same /media/ file path (I assume it's the only one).

View 9 Replies View Related

CentOS 5 :: Creating RPM File From Tar File?

Jul 14, 2009

I can't locate any PHP 5.3 rpms but before I compile it from source, is there a way to create my installation option and save it into a RPM? I have a handful of servers I would like to install PHP on, but it would be so much easier if I could just do an "rpm -ivh"

I google and found instructions on how to build from tar.gz files but what about the options I set on the CLI?

View 1 Replies View Related

Ubuntu :: What Is The Meaning Of 'tty'

Jul 6, 2011

I started my computer with a problem that all of the windows without title bars. I tried to logout my laptop, and the problem was solved. I opened one terminal window, type 'who', founded that i was login the system as 'tty8'. That was really funny, I know that if i login the system normally i may login the system as 'tty7'. why i login as 'tty8' when logout one time? My edition is ubuntu 10.04.

View 2 Replies View Related

Ubuntu :: Creating Pdf \ End Up With A Post Script File Not A Pdf?

May 19, 2010

I'm running karmic koala 9.10I installed cups-pdf and it now shows as the default in my printer list, but when I choose the file type drop down from the printer dialog box it only has ps as an option so when I save it I end up with a post script file not a pdf.

View 3 Replies View Related

Ubuntu :: Creating TGZ File - Error Not Recoverable

Jan 17, 2011

Code:
#!/bin/sh
DATE=$(date +%m/%d/%y)
tar zvcf /home/mark/Minecraft/worldbackups/world.$DATE.tgz /home/mark/Minecraft/Public

This give the output of
Code:
mark@kalle-desktop:~/Minecraft/Exec$ sh save.sh
tar: Removing leading '/' from member names
/home/mark/Minecraft/Public/
/home/mark/Minecraft/Public/default.html
/home/mark/Minecraft/Public/world.png
tar: /home/mark/Minecraft/worldbackups/world.01/17/11.tgz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

View 4 Replies View Related

Ubuntu :: Creating A Folder For Each File In A Directory

Jun 4, 2011

I need to create a folder for every single file in a directory, possibly making the folder have the same name as the file that it will be containing. Is it possible to do via terminal?

View 9 Replies View Related

General :: Osx - Creating An OS X PKG File?

Jul 1, 2011

I have Debian / Ubuntu / Xubuntu. I'm trying to distribute and run a Python file with the least number of clicks for the end user. How do I create a PKG file for Mac OS X on Linux?

View 1 Replies View Related

Ubuntu Networking :: Pppoeconf Not Creating Dsl-provider File?

Oct 21, 2010

Why is pppoeconf not creating dsl-provider file in /etc/ppp/peers/ directory.I just re-installed Lucid and now facing above prob. I cannot even copy an dummy file to the above path (even using sudo)It does not give any error,but then file is also not copied. I observed after re-installing,old kernels are also visble and i can login in low graphics mode I expected that after fesh install,there would be only kernel..default one..

View 2 Replies View Related

Ubuntu :: Creating Link To A .java File With Parameters

Oct 24, 2010

I have a Java program (minecraft server) that needs to be run from the command line. The code is:

Code:
java -Xmx512M -Xms512M -jar minecraft_server.jar nogui

To make life easy (i've got the java file in a folder on the desktop) I want to have a shortcut (or similar) sitting on the desktop. I've tried

Code:
ln 'java -Xmx512M -Xms512M -jar minecraft_server.jar nogui' ./../minesraftserver

with single and double quotes but my unix command line skills are pretty basic and this is obviously incorrect.

View 2 Replies View Related

Ubuntu Networking :: Creating A Home File Server?

Jan 16, 2011

I would like to use an unused desktop running Ubuntu desktop edition as sort of a file server for my house. I don't need to do much other than use it as a networked drive. All of the computers in the house are running either Windows or linux (and a google tv if possible). What programs do I need to use it for this purpose? I've heard something about apache and samba. What else do I need?

View 6 Replies View Related

Ubuntu Installation :: Creating Custom LiveCD/USB Iso File?

Apr 30, 2011

Having spent weeks perfecting my Ubuntu the way I like it, I was wondering if there is a way of preserving it as a either a liveCD or USB flash drive, with a view of using it on other PC's activated upon start up?

Possibly (under the USB option) with the option of launching from the flash drive itself, or installing onto a PC's hard drive.So, in essence, it would be a liveCD but custom made to reflect the way my Ubuntu looks and feels now? Is there any easy-to-use software available to perform such a task?

View 1 Replies View Related

Ubuntu :: Permission Denied While Creating Output File

Jun 3, 2011

I tried to run this: ls * -lag > test1.txt
And it gives me a 'Permission denied' for text1.txt (a new file to be created.)

Now I have admin privileges (in fact I'm the only one set up on it) and I can't figure out why I'm getting this 'Permission denied'. Do I have to create the file first and chmod so I can read/write/delete the file?

View 4 Replies View Related

Red Hat / Fedora :: Steps Or Example Of Creating A Map File?

Feb 25, 2010

I would like to add some restrictions to my postfix configuration such as this:

"smtpd_sender_restriction = check_sender_access maptype:mapname"

give me detailed instruction on how to create this maptype:mapname file...

make it a detailed one since I am still a novice with linux.

View 1 Replies View Related

General :: Creating A .txt File In A Specified Directory?

Apr 26, 2011

I have create a perl script, which create a text file, and it works well. But i want this to create in a specified directory.

THe scrip is:

Code:
#!/usr/bin/perl
use POSIX;
#Directory where the text file will be created.
$directory = '/space/data';

[Code]....

View 14 Replies View Related

Software :: Creating Threads Via A Cfg File?

Jan 11, 2010

I'm trying to create n number of threads, but I would like to read a cfg file at run time, I've been experimenting with ifstream but Im not having any luck.

View 1 Replies View Related

Ubuntu :: Meaning Of Kubuntu Trinity?

Jan 25, 2011

What is kubuntu trinity? I google but did not get a specific website for it. I saw it in a download website: [URL]....

View 8 Replies View Related

Ubuntu Servers :: Folder Permissions Automatically Set When Creating File

Apr 27, 2010

I have a little problem: I have a share folder on Ubuntu server: - Dump That folder is share with SAMBA and everyone can put files on it
My problem is the following: When someone create a folder, the folder permissions are automatically set with:
(let's take my username: Yann)

Owner: Yann
Group: Yann

Clearly that's wrong.. I want the Group to be auto set has "users" so everyone can access the folders on that share. Anyone know how to change this ? chmod and chown is getting a bit boring

View 2 Replies View Related

Ubuntu :: Creating Readable File From Multiple Html Files

Oct 2, 2010

Here is the deal: my school purchased a test prep which they distributed to us, the only problem is that it is for windows. When I try to run the exe in wine the program windows pops up but the screen is blank (i can see the menu bar and and the title bar). It appears that most of the information is located in a folder as html files (separated into chapters for each section) with links to all the figures/tables/questions
(also html files). This morning I have been trying to find a way to compile the html files into a format that I can read without having to hunt for each individual html file. I tried navigating with firefox but had to change each individual link before I could do that (very time consuming), I tried using doxygen (the GUI front end) to convert it to Latex/rtf/html/xml (all the formats) but did not have any success (It could be that I am using the app wrong). I tried opening some java applications found within the application data folder in hopes that it would bring up the navigator without success. And even tried installing java in wine (unsuccessfully) to see if that was the missing key to run the program in wine.

My question is, do I just have to fork out the $500+ that it would cost me to purchase the books instead of using the school provided program (free to us)? or is there a relatively simple way to compile these files into a format that could be readable.

tl;dr - have multiple html files for a windows native program that won't run on wine that I would like to convert to a more easily readable format (i.e. chm, pdf, etc), is it possible?the program was legally acquired through my school, I did not download or pirate it. I am not looking to distribute it, just looking to use it for my own studying purposes without spending $500+ or buying a windows license/computer.

View 2 Replies View Related







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