General :: Clean Makefiles After Calling ./configure

Aug 17, 2010

how can you remove all the makefiles and whatnot and basically restore the source package to its original form after you've called "./configure" or even "make" ?

for instance you changed the source code then you ran ./configure then make then make install ....etc you checked the software and it functioned as you expected it does , now you want to remove all the makefiles and all that other jizz that you don't need or want anymore in the source (obviously in order to package it for distribution)

what is the "standard" method for doing so?

View 5 Replies


ADVERTISEMENT

Ubuntu :: Updating Makefiles For AMD 64?

Nov 19, 2010

I'm trying to get the driver for my wireless USB adapter working on my recently acquired AMD system. I had no issues on my i386 systems, just compile the driver and insmod it into the kernel. When I try compiling the same driver on the AMD machine I get the following errors:
Code:
/tmp/rtl/driver/rtl/hal/rtl8192c/usb/usb_ops_linux.c:928: warning: assignment makes pointer from integer without a cast
/tmp/rtl/driver/rtl/include/wifi.h:362: warning: cast to pointer from integer of different size

I get one of these errors for every file the driver attempts to touch when compiling the driver. I have a feeling it has something to with this - I'm not sure if x86_64 is the correct 'ARCH':
Code:
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/2.6.35-22-generic/build M=/tmp/rtl/driver/rtl modules

View 1 Replies View Related

Programming :: How To Write Makefiles

Mar 31, 2009

I've been working at learning how to write makefiles and I'm a bit stuck.

I've got a fairly simple project that will eventually be a framework for TCP/IP Communications in evolutionary algorithms that I've been using Eclipse to develop.

For personal development I want to learn how to write makefiles by hand but have gotten kind of stuck

Here is the makefile as it stands now:

Code:

Port and Mailbox are a virtual class and a template class respectively.

I get these errors when I run make:

Code:

So for some reason every single function in the Connection class has been defined multiple times. I assume because it's included as a dependency for multiple targets, but I've seen this in numerous examples that apparently work.

Everything in libpthread is undefined because I'm not linking in the library. I've tried adding the library options to the LDFLAGS variable but that doesn't seem to work either.

View 3 Replies View Related

CentOS 5 Hardware :: Configure Soundcard In Centos 5.5 Clean Install?

Aug 10, 2010

How do I know what sound system my Centos 5.5 install is using and how would I configure which soundcard output to use? I want to use the digital coax output from my M-Audio PCI soundcard, which appears to be detected and loaded. When I launch MPD, it autodetects an alsa sound system, but programs like alsamixer don't exist and I can't hear any sound out of the digital coax output. I haven't checked the 3.5mm stereo out yet.A little confused as to which documentation to be looking at at this point.

View 9 Replies View Related

Slackware :: Slackware64 /usr/lib /usr/lib64 / Continue Patching All These Makefiles That Have Libdir=/usr/lib Hard Coded To Keep A Sane System?

May 21, 2009

I've never used a 64bit system set up this way. They've been pure 64bit with everything simply in /usr/lib with no /usr/lib64. IIRC That's how Arch used to do it.

My question is, should I continue patching all these makefiles that have libdir=/usr/lib hard coded to keep a sane system? What are the side effects of not putting all the libs in /usr/lib64? These are for the sources that don't use or follow --libdir= and LDFLAGS="-L/usr/lib64".

Can I rm -rf /usr/lib then ln -s /usr/lib64 /usr/lib and still have things work. There are a couple of files in /usr/lib now {codecs/ crda/ libsyslinux.a rpm/ sendmail siconv/ syslinux/ terminfo/ trn/} which came from a stock install.

There are not any 32bit programs I need to run. If I did, that's what KVM is for

PS. I want some Slackware64 Swag!

View 14 Replies View Related

Fedora :: 14 - Printer HP Deskjet D1460 And - Paper As Was Clean So Clean And Remains

Dec 18, 2010

I have problem with my printer HP Deskjet D1460. My printer is configured and works. When I send a file on the print, the printer clings a sheet of paper and starts to print, but a paper as was clean so clean and remains, after printing.

View 2 Replies View Related

OpenSUSE Install :: Configured Cron To Clean /tmp Directory - Add Other Locations To Clean And Especially /var/tmp?

Oct 11, 2010

I configured cron to clean my /tmp directory, should I also add other locations to clean and especially /var/tmp.

View 4 Replies View Related

General :: Calling URL From Shells Script

Jun 13, 2011

I have to call URL from shell script. E.g.: www.google.com. How can I call URL from the shell script.

View 6 Replies View Related

General :: Arguments When Calling A Script ?

May 13, 2011

Suddenly, i have problems when i call a script when i use some arguments/variables

Here is my code:

Code:

This is my output:

Code:

View 3 Replies View Related

General :: Calling Application From Char Driver?

Oct 13, 2010

I want to call a application file in user space through a character driver running in kernel space.

View 1 Replies View Related

General :: Calling A Script And Giving It A Variable?

Apr 22, 2011

I have a script1.sh (see code below) which calls another script (which is a sort of template -> template.sh). But when i call template.sh i need to send an argument with it.

Code:

#!/bin/sh
VAR=`./template.sh -d $dirpath`
exitstatus=`echo $VAR`

[code]....

echo "$VAR files which are older than 1 hour in folder $dirpath" exit $exitstatus I geuss the command should look like something like this command

Code:

./script1.sh -d /

You don't have to look at the code of template.sh, thats not important. I just need to know how i get this to work I don't think it's that hard, but i just can't see it ...

View 2 Replies View Related

General :: How To Exit Out Of The Calling Shell Script

Aug 18, 2009

I have 2 shell scripts, script1.sh and script2.sh. I call script2.sh from within script1.sh ( by simple ./script2.sh command). Based on some condition, i use exit 0 to exit out of script2.sh. I was trying to find if i can exit out of script1.sh as well at once. below is the example

script1.sh
#!/bin/bash
echo "Before ..."

[code]....

When i execute below is the output

Before ...
There was problem file is empty
The Script will Exit. Please fix the issue and run again...
After ...

I am trying to exit out of script1.sh as well so that i dont print "After ..."

View 3 Replies View Related

General :: Determine The Value Of The 'irq' Argument Before Calling Function?

Oct 27, 2010

I read somewhere that you should not be reading config space to determine the irq value to pass as the first argument to request_irq(). What is the proper way to determine the value of the 'irq' argument before calling this function? Hope this is the correct forum. I don't see one for drivers.

View 1 Replies View Related

Ubuntu :: Difference Between Apt-get Clean And Aptitude Clean

Feb 4, 2010

Is there any difference between apt-get clean and aptitude clean? Do they both remove the same caches? Should I know any other commands for cleaning up wasted space on my ubuntu laptop?

View 1 Replies View Related

General :: Calling A Shell Script To Make Few Builds

Jul 27, 2011

I am setting up a cron job, where i am calling a shell script to make few builds. I got struck at a point, need some expert inputs to proceed further. The script is categorized in 5 parts and in the last part while building software it asks for few questions like:-

1. Build mode choice
2. normal build
3. Copy Images
4. Arch

User manually has to input ans for these questions:-
1
yes
n
64

The ans's are fixed and this won't change. How shall i hard-code them or do something in the script so as when script flow reaches to this point it automatically take's these value. So far the cron job is not getting completed as it's waiting for user to key in these values manually. I had faced similar issue while building kernel modules but there it was easier as i had to take default values always:-

View 2 Replies View Related

General :: Error While Calling Capget Function (EINVAL)?

Apr 27, 2011

Error while calling capget function (EINVAL)

View 1 Replies View Related

General :: Calling All FreeNX - Cannot Connect The Macbook's NX Client To The Server

May 2, 2010

I am trying (desperately) to setup freeNX so that I can access my Mandriva box from my Macbook over my network. I have great need to be able to do this. Here's the necessary info for you: Mandriva PC: running Mandriva 2010.0 with freeNX installed from the Mandriva repos Macbook: running OS 10.4 with the Nomachine NX Client installed Now, I have followed the setup from the Mandriva wiki as well as the freenx wiki to no avail. I simply cannot connect the Macbook's NX client to the server. I get an authentication failed message. However, I can ssh from the Macbook to the server just fine (that's how I'm getting most of this work done).

[Code]...

View 3 Replies View Related

General :: Calling Gurus And Noobs - Review Filesystem Hierarchy Explanation?

Jun 10, 2010

Back when I was first learning Linux, one of the questions that I kept wondering about was "what are all these files and directories for?" I couldn't find a resource that would explain them in a digestible manner. Specifically, I was looking for one that would allow me to look at a Linux filesystem interactively, collapsing and expanding folders to look at just the ones I was interested in at the moment. So later, when I got the opportunity, I wrote it.

But despite a ton of research, I'm still not totally knowledgeable on the subject. The most important thing I'm looking for right now is for experienced Linux/Unix people to tell me where I got stuff wrong, and for newbies to tell me how useful it is to them and which things need clarification. I'm also interested in technical and graphical ways to improve usability, like better icons, layout, etc. I know I need to be able to collapse long descriptions, but what would you like to see? The Works Cited list and a full introduction are still on the way as of this writing.

Without further ado: Linux Filesystem Hierarchy Explanation. You'll need a fairly recent browser that can handle XSLT; the actual info is stored as XML, and transformed into HTML with an XSLT stylesheet. This is still a work in progress, and I'll be updating it as the thread progresses.

Finally, would people be interested in collaborating with me on this, as an open-source project? I've never done anything like that, and I'm not sure how much time I'll be able to give it in the future, but I really think this should be continued and expanded.

Edit: Works Cited and decent intro are now in place.

View 3 Replies View Related

General :: Error Calling Get_folders: Launch Helper Exited With Unknown Return Code 1

Jul 18, 2010

hi..
I'm using ubuntu 10.04 and whenever i start nautilus from command line it shows error:

Code:
root@aduait-laptop:~/Desktop# nautilus
Initializing nautilus-gdu extension
** (nautilus:9990): WARNING **: Error calling get_folders: Launch helper exited with unknown return code 1
** (nautilus:9990): WARNING **: Error calling get_folders: Launch helper exited with unknown return code 1
** (nautilus:9990): WARNING **: Error calling get_folders: Launch helper exited with unknown return code 1
** (nautilus:9990): WARNING **: Error calling get_folders: Launch helper exited with unknown return code 1
** (nautilus:9990): WARNING **: Error calling get_folders: Launch helper exited with unknown return code 1

View 5 Replies View Related

Programming :: Magazines Covering Topics Like "Static/Dynamic Lib", "Makefiles"?

Oct 12, 2010

I have seen some Linux magazines covering topics like "Static/Dynamic Lib", "Makefiles", advanced concepts of "C/C++" etc. I would like to have some subscriptions of magazines dedicated to concepts like above.

View 2 Replies View Related

General :: Calling User Space Callback Function From Kernel Space?

Sep 22, 2009

I am writing device driver in which i have to call callback function from kernel space, which are saving my data. But the callback functions are in userspace. While accessing them i am getting segmentation fault.

View 1 Replies View Related

General :: How To Clean Dish Space

Feb 4, 2009

I have a basic question regarding how to clean up linux disk space. I use "df" to check my disk and found out usage is 100%. SO I use "du -b | sort -r -n > tmp.txt" and found out that /var/spoon/clientmqueue/ has taken the biggest disk space. I deleted the file in that directory using "rm". But after that, I run "df" again, still got 100% usage.

View 2 Replies View Related

General :: How To Clean Linuk Out & Re-install

Nov 15, 2010

I bought a linuk netbook some months ago, & a friend tried to put windows in it.... Well now i cant get either on it, clean it out & re-install linuk,it does't have a a disk drive in it.

View 14 Replies View Related

General :: Not Clean Volume According To Tune2fs?

Jun 24, 2010

I did a tune2fs -l on some volumes of mine, and a few say "not clean" as the filesystem state. But how do I tell what's causing it to be not clean, or how severe it is, so i know how soon i need to schedule downtime to run a e2fsck on that volume?

View 10 Replies View Related

General :: Using Awk To Clean Up Nmap Output?

Jan 13, 2011

Wondering how to use awk to take nmap's output "Discovered open port 23/tcp on 192.168.0.4" and create a output of "192.168.0.4:23"?

View 9 Replies View Related

General :: Backup Prior To Clean Install

Sep 13, 2010

I'm about to wipe my linux installation and start fresh (switching to Arch). Before doing so I'm trying to think ahead of everything I'm going to want to backup before doing so. Here's what I've got so far:

[Code]...

View 1 Replies View Related

General :: Manually Marking A Filesystem As Clean

Dec 24, 2010

I run Linux Slackware 13.1. I have a hard drive with a ext2 filesystem, and I would like to mark the filesystem as Clean without running FSCK on it. I think I can do that with the debugfs command, but in the help there seem to be only a command to mark the filesystem as Dirty?? Is there a way to manually mark a ext2/ext3/ext4 filesystem as Clean?

View 2 Replies View Related

General :: Clean Confidential Data From Harddisk?

Jan 21, 2010

As i said in title, we need to erase all datas from harddisk before distroy our old servers.

Quote:

dd if=/dev/zero of=/dev/hda bs=1M

Quote:

shred -fzuv -n 100 /dev/hda

1. Which is the best practice to erase data, dd or shred?

2. How can i execute these commands in running server, do i need to re-boot the servers as RESCUE mode using bootable cd?

View 9 Replies View Related

General :: Clean /var Storage On Dedicated Server?

Feb 4, 2010

The /var directory is 97% full on my dedicated server:

I would like to know if it is safe to clear it and how to clear it (assuming it will not disrupt/kill server services to do so).

I have Matrix control panel so i can view the storage etc but it does not have an way of clearing the /Var directory.

I have Putty Access to root but do not know which command to use.

I found a few threads but the information is not clear to me as there seems to be an assumption of basic knowledge I don't yet have.

My linux/ubuntu support that usually does this kind of thing for me is away and not contactable and my server is grinding to a halt and unable to store/send email.

I have only a very basic understanding of command line but really need to get this sorted ASAP.

View 3 Replies View Related

General :: How To Launch Clean Bash Session

Apr 25, 2011

how to launch a non-login bash session that doesn't inherit its parents environmental variables, and doesn't source /etc/bashrc?

View 2 Replies View Related







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