The following declaration is presenting a compilation problem using Xcode on OS X: ostringstream cmd; The error is as follow: Implicit instantiation of undefined template 'std::basic_ostringstream<char, std::char_traits<char>,std::allocator<char> >; The exact same code will compile and run on Linux - same imports and everything. What could be causing the issue?
I am having a problem trying to get my UPS (APC BACK-UPS ES 750) to be recognized (via USB) on my new CentOS 5.4 system. I had no trouble a while ago getting it to work on an old Fedora Core 3 system, and I don't think the problem is even with the apcupsd package because at the very least, I expect to see the device appear when I plug in the usb cable and use (from the APCUPSD User Manual):
my android phone doesn't seem to be recognized by the system and it's file system is vfat how did it occur while i've been using my phone as a storage device it still works yesterday but upon plugging it in the usb port it says "cannot mount volume".....
compiler problem (f77) which arises when I try to execute a bash script ("compile" see [1] below) running under Cygwin on WinXP. The script finds the correct file(s) but the compiler does not recognize them as fortran source files. If the script is executed sequentially from the command line then there is no problem.
The directory structure of flh971da contains two subdirectories flh971da/scripts and flh971da/source. The compile script [1] is shown (in part) below. The script changes directory to flh971da/source, and compiles source from subdirectories flh971da/source/n where n=a,b,c etc and places the object files in flh971da/source/nobj n=a,b,c... etc. The response to flh971da/scripts/compile script is given below [2]. It is clear that the compiler (f77) locates the correct source file [4] (flh971da/source/a/a00aaft.f) but does not recognize it as a fortran source file. All relevant files have been processed with d2u. I suspect the problem is with the script, but I have no idea how to fix it.
My application is developed using GCC and an binary executable created out of it which initializes successfully. By initialization, I meant all the threads in the application are created and I get the required response from the executable. There was a need to create a .so file out of my application instead of binary executable, as it needs to be integrated with another .so file to create a final patch. So we used -fPIC compiler option and created a .so and also an binary executable. But with -fPIC included, the executable fails to initialize at all. It executes some instructions in the main program, before finally haulting down with a " Program received signal SIGSEGV, Segmentation fault." error. And it always fails at the same faulty address which points to nothing in my application code. What is that -fPIC adds to the code, which makes my code fail with strange behaviour.
I installed centos 5.3. gcc and g++ versions are 4.1.2 20080704 (Red Hat 4.1.2-44).How to install a second compiler gcc and g++ of version 4.2 or higher so that both versions of gcc and g++ are available?
i have installed on my home PC CentOS 5.5, and downloaded Python 3.1.3 source, when I have tried to run the configuration file I have got
checking for --enable-universalsdk... no checking for --with-universal-archs... 32-bit checking MACHDEP... linux2 checking machine type as reported by uname -m... x86_64
[Code]....
I have tried downloading gcc and installing it, but got the same message. So, I can't find any C compiler, and I can't install one.
So for those of you who has built GCC from source would know that you can't install GCC without an existing GCC. So my question is, what would happen if all computers in the world suddenly just died, and all you had was the computer in front of you, and a copy of GCC 4.5. How would you install that?
I ask because I would like to install GCC 4.5 on my old powerbook G4 mac without installing a binary GCC provided by Tiger 10.4 disks. I would like to build GCC from source, without an existing GCC to complicate updating.
I have had a Supermicro X7DCL-3 motherboard based machine, running CentOS 5.2 x86_64, recently upgraded to 5.3.Strangely enough, although I must have installed the 5.2 using DVD disk, the running system does not show the DVD drive. The machine was not used very much so I noticed that only today, after the update. There is no trace of it in 'dmesg', thera are no /dev/cd* and/or /dev/dvd* devices. The IDE controller is IT8213 (as shown by 'lspci'). In 5.2 kernel (2.6.18-92.el5-x86_64) lspci says "unknown device". I have checked the /usr/src/kernels/*/.config files and both kernels (5.2 and 2.6.18-128.el5-x86_64 of 5.3) seam to have the support for that controller added into the kernel:CONFIG_BLK_DEV_IT821X=yAny idea why it is not working? The Supermicro has apparently noticed this also as their OS compatibility chart lists the IDE interface for that motherboard as supported up to RHEL 5.1 but not for 5.2.
I have an acer aspireone aod250, i putted an external cdrom and downloaded the ubuntu, tried to install it but it didn't recognize the hdd... i though it was the cd, i downloaded ubuntu netbook edition, it did the same. i thought maybe i could try another operative, i downloaded linux mint 9, did the same thing. then ordered a cd from ubuntu.com, got in today, and it doesn't recognize my hdd. btw, the hdd is a seagate momentus 5400.6 with 160gb. i already ran ubuntu with the cd rom and starts the instalation, but when it arrives to the partitioning part of the instalation, it doesn't detect my hdd. but the bios in the pc detects it.
i have an Acer Aspire laptop, 4GB of ram, with Vista and Kubuntu installed (dual boot). When checking my computer properties in Windows, it does say that i have 4GB, but Kubuntu's system monitor says that i have only 2.9GB.
I've been trying with this for a long time and I can't get it to work. Jack and aconnect doesn't see my keyboard. There is nothing in both of them. Yet, my computer does see it.
amidi -l Dir Device Name IO hw:2,0,0 Portable G MIDI 1
lsusb Bus 008 Device 002: ID 0930:6545 Toshiba Corp. Kingston DataTraveler 102/2.0 / HEMA Flash Drive 2 GB / PNY Attache 4GB Stick Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 006 Device 002: ID 046d:c313 Logitech, Inc. Internet 350 Keyboard
I have been using fedora 12 for quite some time. When i first installed Fedora on my new system i created 2 ntfs partitions on the hard disk using mkfs.ntfs and in the space at the end of the disk i have Fedora. recently i tried installing Win7 but it didnt recognise the partitions even tho they are NTFS. I had to format 1st partition from setup to install Win7. After boot i find that Win7 doesn't recognise the 2nd partition as welL. The partitions are working fine in Fedora.
I recently updated from Fedora 9 to Fedora 12. Everything else works fine, but the situation with Fedora automatically recognised new devices when plugged in has changed to the exact opposite. Under Fedora 9, all devices I plugged in were always automatically recognised, whether I liked it or not. Under Fedora 12, nothing is ever automatically recognised any more. Whenever I plug something in, the system just ignores it. If they devices turn up as block device descriptors in /dev, I can manually mount them and access them through the mount points. Otherwise, I can't do squat. Now I can only access my digital camera by manually mounting it and copying the files. This works, but is cumbersome. Under Fedora 9, I used to be able to use GPhoto to download the pictures via PTP. Not any more. GPhoto acts as if the camera wasn't even there. So does F-Spot. What has happened? Have I missed installing some kernel module or service or something?
I am having a problem installing Fedora from a CD.When I put the installation CD into the drive and restart the computer, the computer does not recognize the CD and boots automatically into my old version (version 8) of Fedora.I have already made sure that the CD drive comes before the HDD drive in my BIOS settings, and I have already tried using different CDs.
I've just installed openSUSE 11.2 (with Gnome). Everything works fine except the Ipod support in Banshee (Ver. 1.6 Beta 2).
When I connect my Ipod Video 30GB to my Computer it is recognised in openSUSE and also a new Nautilus windows with the Ipod content is opened. But in Banshee there is no Ipod button or anything else which allows me to sync my music with Ipod.
I've already tried to delete the /home/{user}/.config/banshee-1 folder and installed the banshee-1-dmp-ipod package. The Ipod plugin (Ver. 1.0) is also installed in Banshee.
Perhaps this is sheer ignorance, but i just cant figure out which wireless chipset i´ve got. Its irrelevant to say that my wireless conection doesn´t authenticate (repeating the process without end). So this is the output of lspci:
linux-wghx:~ # lspci 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 671MX 00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge)
just installed ubuntu but it doesn't recognise my wireless card. I'm running an emachines g720. Ive tried looking through some previous posts but the terminal thing frightens me to death really.I've tried looking through the idiots guide but i'm afraid i'm a better idiot than that.
I have a dual boot installation of ubuntu and windows vista. After upgrading to Karmic I haven't been able to access to the CD drive. How can I use it? The following error message is displayed when I click on Places --> cdrom0:"mount: special device /dev/scd0 does not exist"I am about reinstalling the whole OS, but for that I need the CD
No media player recognizes my Philips MP3 Player as such, I've put all my hopes into Rhythmbox, it seems to be the most likely one to work. Anyway, I have created the empty .is_audio_player file but still the player does not show up in RB. I can access the player just fine through Nautilus, and syncing it actually worked for a while, but now for some reason it has stopped.
I'm running Ubuntu 10.04 on my MSI-16362 laptop and it doesn't recognize my built-in webcam. last time I used Ubuntu (9.04 I think) it recognized the LT webcam w/o any problem. Does someone has any idea how to fix it?
I have an Ubuntu 10.04 installation that I have been using for about a month. However, just recently, at random times for about 5 seconds I can't use my mouse or keyboard.When it does that, the computer isn't frozen, I just can't type.About 5 seconds later, all the text that I was trying to type suddenly appears. I have 4GB or RAM, and even when I barely have any programs running and at 0% of resource usage, the problem still persists. This has just been happening for the past day or so.
I typed in a text file (Feb.txt) at work using the basic Microsoft Notepad text editor and emailed it home. When I tried to open it from the email using the default gedit I got an error message - Could not open the file /tmp/Feb.txt gedit has not been able to detect the character encoding. check that you are not trying to open a binary file. Select a character encoding from the menu and try again.The character encoding is set to 'automatically detected'.
How come it can't detect the encoding? I had to manually set the encoding to Western(ISO 8599-15) to load it. I can't remember this happening in the past, and it was OK loading one I sent earlier (Jan.txt) which presumably had the same encoding, as it was written in the same way.