General :: How To Recover Source Overwritten By Bad Compile Command?

Oct 4, 2010

I had written a source code of C++ and complied it with the same name using the following command line.For example: c++ source-code.cpp -o source-code.cpp.Now my source code has been replaced by the executable program.Is there any way to retrieve my source-code.

View 9 Replies


ADVERTISEMENT

General :: Any Way To Recover Overwritten Files?

Apr 22, 2010

I was syncing my palm pilot but some setting must've been wrong: instead of putting the files from my hard disk to the palm pilot it took the blank files from the palm pilot and wrote them over my back-up. Anyway, I'm about sick of palm but I want to get this file back. Is there anyway I can restore to an earlier version of this file? I'm about to reboot with sys rescue cd.

View 1 Replies View Related

General :: Recover The File Which Has Been Overwritten?

Mar 15, 2011

Can I recover the file which has been overwritten.

View 7 Replies View Related

General :: Recover Files From Ext4 File System Overwritten By New Installation

Jul 3, 2011

My main hard disk died and I replaced it. After installing windows in a small partition in /dev/sda, I thought I will try linux mint and went for it. (I need windows to play AOE, but ubuntu is my primary OS)I didnt see the options properly or some distraction, I choose the "install alongside windows" option probably expecting it to install it in the unallocated partition next to the windows installation. I had completely forgotten my second internal drive /dev/sdb which has the backup data. Linux mint went and installed itself on that drive.

Is there a way to recover individual files from the second harddrive. Now if I boot or open it through live cd, all I see in the linux mint file systems. I want to aleast recover my CV/resume from the second drive. The second drive is a single ext4 file system The old drive is completely dead, it doesnt even get recognized when I attach it to SATA.

View 1 Replies View Related

Ubuntu :: How To Recover Overwritten Files?

Dec 6, 2010

By mistake I've overwritten some of my project files. Is there anyway in ubuntu to recover those files.

View 3 Replies View Related

Fedora :: LVM - Recover Contents From Overwritten Partition?

Apr 14, 2011

Accidentally, I deleted my '/etc' & '/bin' folder (i know, my fault). Then, I boot liveCD and tried to copy or fix this issue. And then when I can't figure nothing to fix it, I don't know why, I want install system on my existing system, and I thought that new installation don't touch and change my /home folder. And this step Was my biggest mistake, after this I get raw /home partition without my data. Now, I'm trying recovery my data from /home, and I don't know how do this. I'm using program testdisk but I don't know how it work with lvm and ext4. Can I recover content of '/home' or it's impossible?

View 2 Replies View Related

Ubuntu :: Windows Overwritten - Need To Recover Files

Jun 3, 2010

I overwrote windows with ubuntu netbook remix and lost pictures and videos. I need to recover them, they are from the last eight years and very important.

View 3 Replies View Related

Fedora :: Compile From Source - Install Buddi Budget Manager And The ./configure Command Doesn’t Work

Nov 24, 2009

Ive been using linux for a few months now and every now and again i come accross a program that doesnt have a rpm package but says that it can be installed on Fedora using source. I'm familiar with build essentials and the following commands:-

tar xzvf package.tar.gz
cd package
./configure
make
make install

but from what i have read fedora uses a differnet compiler. I'm trying to install Buddi budget manager and the ./configure command doesnt work, which im guessing is because it doesnt have a configure file? Can anyone confirm how to compile from source and whether there are any tutorials specific to fedora.

View 4 Replies View Related

General :: How To Compile Source For PowerPC

Apr 7, 2010

I have a linux source (linux-2.4.1) which is for intel. I am using powerpc compiler and I need to compile this linux source for powerpc. I did cross compilation, but it dint workout well. How to do it.

View 5 Replies View Related

General :: Not Able To Compile Source RPM File

Oct 15, 2010

I am trying to build a source rpm file through a source rpm package but while compiling I am getting the below errors as,

[root@nisserver tmp]# ls
gconfd-root mapping-root ssh-kvrIrp2633
keyring-fgwCIY nmap-5.21-1.src.rpm virtual-root.2hSYRa
keyring-vx1pvB orbit-root

[root@nisserver tmp]# rpmbuild --rebuild nmap-5.21-1.src.rpm
Installing nmap-5.21-1.src.rpm
warning: user fyodor does not exist - using root
warning: group fyodor does not exist - using root
warning: user fyodor does not exist - using root
warning: group fyodor does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.49535 .....

RPM build errors:
user fyodor does not exist - using root
group fyodor does not exist - using root
user fyodor does not exist - using root
group fyodor does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.73783 (%build)

What next step need to be taken to install the rpm file from the source file.

View 6 Replies View Related

General :: How To Compile A Linphone 3.3.2 Source Code

Mar 13, 2011

I've created a GUI for my voip software wherein i'm using the source code of linphone 3.3.2 for video and all protcol stuffs . It is like i've got my own gtk GUI instead of the linphone's glade . Hope you get the picture of what i'm doing . I would like to know how to compile the source code since because i do not know about make files and stuffs . Kindly help me solve this .

View 2 Replies View Related

General :: Compile Firefox From Source With Debian 5.0?

Nov 13, 2009

I hope I'm in the right section, if I'm not, please forgive me, I just installed Debian 5.0, and I want to install firefox, and then install graphics drivers, etc, I downloaded firefox, but I don't know how to compile programs from source, I googled how to compile firefox but the results are very vague and some are very outdated. I downloaded FF from their site, the file name is firefox-3.5.5.tar.bz2, how do I compile this?

View 11 Replies View Related

General :: Compile Multiple Source Using Single Makefile In ECos?

Jun 3, 2010

I'm calling a function defined in "uart.c" from "main.c"

But on "make" using cygwin bash, it's giving an error:"Unreferenced function"...
Pls help me to overcome this problem.

If i'm putting the definition of that function in "main.c" itself, its working.

So pls tell me how to write the make file for it?

View 4 Replies View Related

General :: Use Eclipse To Compile And Debug Source Code On Ns-2 Simulator?

Dec 13, 2010

I want to use eclipse to compile and debug source code on ns-2 simulator.

1.how can i configure the parameter on eclipse.

2.how can i compile the source code *.cc

View 3 Replies View Related

General :: How Does Cp Command Determine Source And Destination Locations In Command?

Apr 14, 2011

When you run the following cp command in the BASH terminal, how does Linux know which files are the source and which are the destination when copying multiple files from one location to another?How does Linux know that the services, motd, fstab, and hosts files are the source and the /home/fred/my_dir is the destination?This question came up in a Linux class and I was not sure of the answer. I was thinking it is based on the source path entered ending with a file path and the destination being a directory, but was not sure.

View 4 Replies View Related

General :: Ubuntu - Recover A File Deleted Using Rm Command

Jul 9, 2010

How to recover a removed file under linux

Is there any free undelete software for the Mac?

I have accidentally deleted a very-very important file in my Linux (Ubuntu) machine using the command rm.

Is there any way to recover it?

View 6 Replies View Related

General :: Compile And Run A Cpp File Using Only One Command?

Jun 24, 2010

Recently I've started to learn cpp language on linux,and now I run a cpp file using following commands. g++ -o xxx xxx.cpp./xxxIs there a way to make it one line command such as compile-and-run xxx.cpp?

View 5 Replies View Related

General :: Compile And Install Application From Command Line?

Sep 21, 2010

I am going to compile and install my first linux application from the command line. The program is the port scanner program NMAP, and I am looking at the documentation to learn how to do it. I saw this thread [URL], and I just want to make sure I understand what it is I'm doing.

bzip2 -cd nmap-5.35DC1.tar.bz2 | tar xvf -
cd nmap-5.35DC1
./configure
make
su root
make install

"bzip2 -cd nmap-5.35DC1.tar.bz2 | tar xvf -"
Here I am calling the bzip2 program to work with a specified file. look for the file nmap-5.35DC1.tar.bz2 in the current diretory (-cd) and to pipe (redirect) something, this is where I get lost, I think. And I know what x & v mean but not f, or what that has to do with the previous commands.

cd nmap-5.35DC1
Chage to the named directory.
./configure
I assume this is a command?
make
Builds an executable
su root
make install
not sure what the difference is between this and the above.

View 7 Replies View Related

General :: Cross-compile "sudo" Source For Power-PC Platform Using Montavista Tool Chain?

Jan 30, 2010

I'm trying to cross-compile "sudo" source for Power-PC platform using Montavista tool chain. I'm getting the following error message during configuration: checking host system type... Invalid configuration `ppc_82xx': machine `ppc_82xx' not recognized It is clear that it has found the cross-compiler and configure knows that we are cross-compiling but it fails to recognize the machine. The complete dump follows:

[vhn@localhost sudo-1.7.2p2]$ ./configure --host=ppc_82xx
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
configure: Configuring Sudo version 1.7.2p2
checking whether to lecture users the first time they run sudo... yes
checking whether sudo should log via syslog or to a file by default... syslog

[Code]...

View 3 Replies View Related

General :: Create A Command In The Vim That Saves A Text Document And Also Compile It?

Feb 27, 2011

I would like to create a command in the vim that saves a text document and also compile it. Is it possible?

View 4 Replies View Related

Debian :: How To Compile From Source

Jun 1, 2015

I can't compile using the instructions on the package... the package in question is this: [URL] ....

Just trying to play with old and good windowmaker. When running make it just says "make: nothing to be done for 'all'.

View 5 Replies View Related

Fedora :: Can't Compile From C Source

Jun 4, 2011

I often like to use packages that have to be compiled from source. However, even after downloading gcc, I can't compile anything, because the configure script gives me a message about being unable to execute C programs. I gather that this is because of a "noexec" option in /proc/self/mounts. Problem is that the file apparently cannot even be edited by root. Perhaps there is an alternate type of fedora distribution I could use?

View 2 Replies View Related

Slackware :: How To Compile Tar.gz Source

Oct 25, 2010

How do you compile a tar.gz source on slackware?I am asking because I am about to download and install Slackware(x64), and I have some drivers that it may not have (Ubuntu didn't have them) and TrueCrypt source.

View 9 Replies View Related

CentOS 5 :: Compile VLC 1.0.0-rcX From Source?

Jun 22, 2009

Has anyone successfully compiled VLC 1.0.0-rcX (rc1, rc2 or rc3) from source on CentOS 5? I have a binary installation of VLC 0.9 but I would like VLC 1.0 as it has a new codec that I'd like to use. I've tried lots of ideas which I can post - I keep getting build errors due to wrong package versions - but I thought I'd ask to see if anybody has a HOWTO first.

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

Ubuntu :: Compile Apps From Source?

Dec 30, 2010

I'm wanting to setup a emulation PC running Ubuntu (or Lubuntu). I've installed 10.10 and am wanting to compile MAME from the most recent source.

I am compiling apps from source. What packages do I need to install to be able to compile?

View 7 Replies View Related

Ubuntu :: How To Compile Source Code

Jul 24, 2009

I downloaded wine from a windows laptop, but because you have to have a computer running Linux to download it as a .deb package, I had to download the source code as a tar. bz2.

Does anyone know how I compile it and make it executable?

View 6 Replies View Related

Software :: Use Tcc To Compile Source But Not Assemble?

Apr 22, 2010

I would like to use tcc to compile source, but not assemble. Like GCC's option: -S. Is this possible?

View 1 Replies View Related

General :: Execute A Command When Power Source Changes

May 20, 2010

My laptop has a dead battery. Even when it's fully charged, if the power cable is pulled out it only lasts for about 4 minutes before it dies. I'm running Ubuntu Lucid Lynx 32-Bit. What I want to do is create some sort of script or program that will immediately set my computer to go into hibernation once it detects that the power cable has gone dead. I'm willing to look into all ways of doing this. I can program in C, but I'm not familiar with the API used to manage Power Management in Linux.

[Code]...

View 5 Replies View Related

General :: Source Code For Free Command?

Dec 8, 2009

Where is the source implementation of the free command?

View 2 Replies View Related







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