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
ADVERTISEMENT
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
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
View Related
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
Apr 21, 2011
I have a 3dsp pci wifi card, and the last kernel it supports is Ubuntu 10.04 2.6.32-(21-24) I want to update but dont want to accidentally update the kernal.
View 3 Replies
View Related
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
Oct 14, 2010
Due to networking issues within 10.04, I can't connect to the internet to update to 10.10.
I've created an install CD, but want to confirm if I'm doing it right, or how to fix some issues I'm seeing.
First, I get the option to create besides my other OS (Vista and currently 10.04). I've tried to select this option, and it gives 3 options to install:
An SD card I've left in my computer
Sharing my Vista HD
Sharing with 10.04.
The issue is that when I got the computer, I partitioned my second HD (320GB) in half, one that is shared with Vista as a storage dump, the second half Ubuntu (160GB partition).
Currently, using this option forces me to split this half partition between Lucid and Maverick. For some reason, if I try and "use entire partition" the bar shows 2GB as the size of the partition. If I choose use entire HD, it shows the full 320GB. Using the slider can reduce the footprint of Lucid, but can't wipe it out.
Since I haven't screwed around with partitions too much in the last 3 years, I am not too comfortable with using the advanced option, but it seems like the only chance I have to erase 10.04 completely. This is reinforced by it asking about "device for boot loader"
View 7 Replies
View Related
Nov 12, 2010
Just wondering if there is a way to update all of my packets on Ubuntu server 10.10 all at once.
View 4 Replies
View Related
Jan 26, 2010
So I have given up on running slackware on my labtop, beacuse I lack the knowledge on many of the settings and configs in linux. So I have decided to install Ubuntu on my labtop. But I know that I have to install 7.10 beacuse of mye graphic card, ATI Radeon Xpress 1100. I have allready downloaded the driver install file for my graphic card.
The thing I am wondering on is this : I am thinking on installing the drivers right after I install 7.10 and after that I am thinking of uppgrading to 9.10 if its possible. And the thing is, will I keep my ATI drivers installed if i update?
View 7 Replies
View Related
Feb 10, 2010
I have uploaded a newer edition of WINE through a ppa to 'sysyem-admin-software sources', but would like to know how to update wine so that it utilises this ppa upgrade as i cannot get linux to recognise the update.
View 2 Replies
View Related
Mar 11, 2010
I recently re-installed Ubuntu Karmic on a new PC (about a month or so ago), and I just noticed that my PPAs are not updating when I run the update manager. I'm not a complete noob but I'm not all that hardcore or experienced. Is there something I am doing wrong?
When adding a PPA I open System>Administration> Software Sources and click on the "other software" tab. After clicking "add" I enter the APT line (*eg. ppa:banshee-team/paa)
and hit "add source". I hit close and let it reload and that's it.
This method worked fine for me before but now when I run Update Manager it never shows any updates for the PPAs I have added even though I know there is a newer version of the application available.
View 2 Replies
View Related
Mar 19, 2010
Ive just insalled Ubuntu 9.10 and installed Filezilla from the Ubuntu Software Centre, however this is only version 3.2.7.2. How do I update this to 3.3.2? Ive downloaded the tar.bz2 file and extracted it in Downloads but how I do install it from here?
View 9 Replies
View Related
Apr 16, 2010
I have installed ntp using Code: apt-get -y install ntp.Logging to /var/log/ntpstats has been enabled in /etc/ntp.conf however this directory is not getting populated with anything. I have also tried removing it with apt-get --purge remove ntp and reinstalling but to no avail.
View 9 Replies
View Related
Apr 18, 2010
I was just wondering once the 10.04 LTS is officially released will it be possible to just update the packages of 10.04 beta 2 to make it the official release or will you have to update, or will you have to actually do a reinstall?
View 1 Replies
View Related
Jul 13, 2010
I'm having some issues with Amarok not displaying songs in the "local collection" as well as not shutting down properly. I see that I am running 2.3.0. If I run apt-get upgrade amarok I get a message saying nothing was upgraded. But I see on their website that 2.3.1 is the current version. I'd like to try to update to the current version, but can't seem to find the right repository to add. Anyone know who I might be able to achieve this?
View 1 Replies
View Related
Sep 3, 2010
How do I get into safe mode of something of the sort? I thought all I had to do was tap F6 as the computer boots up, it was running perfectly untill I updated it, when I pressed restart it started to shut down and then it just got stuck in a black screen with a small white cursor flashing, and there it stayed I've restarted it a load of times and no luck, I was getting ready to reinstall it when I remembered that I have no other cd burner in the house other than the one on the machine that's just packed up and though I could use a flash drive neither of the 2 I have with me are big enough, the bigger ones are both at work along with my ubuntu instalation CD.
On a second probably unhelpful note I'm getting really fed up with ubuntu it's proving to be about as unreliable as windows, every other week for whatever reason it fancies it just packs up and more frustrating for me is that while I know my way around windows and can usually sort it out I haven't got a clue about how to sort Linux problems out and before anyone mentions it yes it was a relatively new instalation, all I had installed on it other than the OS was the updates up unlit now and XBMC and it all had been working flawlessly for 2 weeks or so!
View 1 Replies
View Related
Sep 12, 2010
I have just created a back up script that would backup my system into two (root and home) tar.bz2 file. that was good and well. The thing is though I also created one that I thought would update the tar.bz2 files using the "u" (update switch). it seems that it won't work though. I did a search on the matter and found a thread in the Linux Forums that was saying that "gzip" couldn't be updated.
Is this the same with bz2? Is there a way to get it working? it would be handier than creating new bz2 file every time as it takes so friggen long to run the full backup (and thats even after excluding what I don't need).
View 1 Replies
View Related
Sep 27, 2010
I had Ubuntu 8.04 & Windows Xp installed on by 80GB Hard Disk by giving 40GB each to Ubuntu & Xp. Due to some problem in Windows Xp (nothing new) i had to reinstall Windows Xp. I had taken backup of all data on Windows & Ubuntu fully knowing that Grub would go haywire.
Now i want to install Ubuntu 10.04 on the 40GB that was earlier occupied by Ubuntu 8.04 from CD.
I'm posting the output of sudo fdisk -l
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2611 20972826 7 HPFS/NTFS
/dev/sda2 2612 9729 57175335 f W95 Ext'd (LBA)
/dev/sda5 2612 3916 10482381 7 HPFS/NTFS
[Code].....
Should i delete all Linux partitions ? What and how many partitions (min.) should i make ? What partition should i use as mount ? Should i use ext3 or ext4 in all partitions ?
View 1 Replies
View Related
Oct 15, 2010
I am running 10.04 32-bit on my compaq nc6320 laptop and I am just wondering if there is an easy way to do the upgrade to 10.10 but upgrade to the 64-bit kernel.
View 2 Replies
View Related
Oct 27, 2010
I was using 9.10 because of my wifi not working in 10.4 (still does not but thats not the problem in this thread) well after getting my updates to update to 10.4 I run the package manager to update kernals and such, first it says theres an error failed to fetch CD then I reset my computer and it says my system is up to date but I do not have an option to upgrade to 10.10 and im sure theres updates my computer does not have..
View 4 Replies
View Related
Dec 5, 2010
A couple of days ago my girlfriend and I were using my laptop to watch Hulu on my tv. I've been able to do this in the past with some frustration because it is not exactly clear what settings to use so that the tv works and doesn't distort the picture. While we were using it, the update manager came up and I let the computer update while we were watching Hulu. It came time for the computer to request that I restart and I selected "Restart Later," which I didn't exactly do after we were done watching. I shut the computer down and the next day when we were about to turn the computer on to watch again, it turned itself off after selecting Ubuntu. I tried again and caught a message that it couldn't find the drive that Ubuntu was on. I haven't done anything else to the computer aside from updating it. I am running Vista 32 (shudders) as well as Ubuntu 10.04. I am currently on the Vista part of the computer and can see the folder for Ubuntu on the computer.
My question is: Is there any way that I can go into that folder and change something through Windows so that I can get Ubuntu back? Or do I have to reinstall Ubuntu, and how would I go about doing that?
Edit: I should clarify that I use the S-video out for watching tv - not sure that it matters.
View 3 Replies
View Related
Jan 26, 2011
My previous installation was old and cranky, so I reformatted and updated Ubuntu 10.10 last night. While installing RSSowl, I double checked the distribution name (by going to System > About Ubuntu) and it says 11.04 Natty Narwhal. I have no idea how that happened since all I did was do the suggested software and security updates.
Just an hour ago I did another reformat and reinstall. After everything was done, I double checked the version number upon my first login and it said 10.10. Then I go and click okay on the suggested updates and after it was maybe 75% complete, I checked the version # and it now says 11.04 again!
View 2 Replies
View Related
Feb 5, 2011
I just recently updated my Ubuntu's software on 10.04. I restarted my computer and everything was fine. The next day I tried to get into Ubuntu it just goes to a black screen and restarts.
I am currently dual booting with windowsXP/Ubuntu. Everything was working fine until just a few days ago. Now I am unsure what to do. When given the choice to boot between WindowsXP and Ubuntu only windows works. When I click on windows it loads up windows. When I click Ubuntu it just goes to a black screen and then restarts and prompts me again to select between them.
Please help. I am unsure what is wrong as I am still very new to Linux and using this type of OS. I am not sure if I need to re-install, but this would obvious be the last option.
View 4 Replies
View Related
Apr 30, 2011
i want my ubuntu 10.10 to be updated to the new version.But,before updating i would like to know few things such as should i need all my software's to be installed once when i upgrade to the new version.
I have oracle installed in this 10.10..So,will upgrading to the newer version needs the installation of Oracle again?
View 8 Replies
View Related
Sep 13, 2010
I just got a old Imac g3 [tray loader]It's running 8.6 mac os. I would like to put a more up to date os to bring this computer back to life and for better use for myself. I've been trying to put xubuntu on it because I heard it was a lighter version so I thought it would run it. I've tried setting it up to boot from the disk upon start-up but that has failed. It shows the disk on the desktop but that's all it does.
View 9 Replies
View Related
Aug 25, 2010
I just tried updating (upgrading?) to Ubuntu 10.0.4 (or something of the like)from Ubuntu 9.0.*, running on Gnome 2.22.3. Now when I start my computer, after login/password, all I get is terminal in front of me. What do I type?
I should note, that when I was upgrading, package manager asked me what settings I wanted for the .smb (?)configuration. I picked the wrong one (use old settings), and it gave me an error/warning about not being able to update some things properly.
View 2 Replies
View Related
Jan 23, 2010
I have a wifi card that has a generic driver through ubuntu that doesn't give it near the capabilities it has with another driver I found at another website. I compiled this driver myself and installed it, but after an update all effects of that driver seem to be gone.
View 5 Replies
View Related
Apr 22, 2010
When I tried to update my ubuntu, I received an error regarding the UUID not existing. When I updated, everything on the system was swell, but now I get the UUID does not exist. I reckon that ubuntu 10.04 does not need UUID. I can only run from the ubuntu shell with limited commands. I tried to edit the file /etc/default/Grub and it claimed to not exist. I have 2 separate versions of ubuntu on there, but it's using the grub installed from ubuntu 8.04. It says I'm using grub .97 beta. I am sure I have a brief idea of what to do. The problem is accessing the file necessary to do that. I will have to remove a line that says "LINUX_USE_UUID=true" or something like that. I don't know where that folder is. Apparently people say that its in /etc/default/grub. That doesn't exist for me.
View 1 Replies
View Related
May 10, 2010
After Updating to Ubuntu 10.04, I cann't enter into Windows XP, even there is a option for Windows XP in the Grub menu. I have tried the command " sudo grub-update", but it is useless. I just re-install my Windows XP. I can enter it again. However, I do a stupied thing again. I just update grub to a newer version, and then I cann#t enter XP again just like before.
View 8 Replies
View Related
May 11, 2010
I have installed the 10.04 ubuntu and all was good, but after doing the updates the shutdown button has gone from the corner near the clock and from the system menu.
if i go logoff the shutdown button is at the bottom but doesnt work.
I can shutdown in the terminal tho.
How can i fix this (put the buttons back)?
View 2 Replies
View Related