Ubuntu :: Library Type Cannot Be Detected?
Feb 3, 2011[I've posted this on the Opera forums as well....]
I'm running Ubuntu 10.10: Linux 2.6.35-25-generic #44-Ubuntu x86_64 GNU/Linux
Opera:Version information
Version 11.01
[code]....
[I've posted this on the Opera forums as well....]
I'm running Ubuntu 10.10: Linux 2.6.35-25-generic #44-Ubuntu x86_64 GNU/Linux
Opera:Version information
Version 11.01
[code]....
I'm tring to run AMDOverdriveCtrl, since they don't have an RPM file for Fedora i tried to compile from source i followed the instruction in the readme files run the make command
Code:
% make
g++ -mwindows -s -pthread -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8 -ldl -o./Release/AMDOverdriveCtrl ./src/CFanSpeedPanel.o ./src/COvdrSettingsPanel.o ./src/CFanControlPanel.o ./src/CColorTempPanel.o ./src/BezierMath.o ./src/Color.o
[code]....
and tried to run the application, and i get this error message
Code:
$ AMDOverdriveCtrl
Fatal Error: Mismatch between the program and library build versions detected.
The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.4,compatible with 2.6), and your program used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6).
OS: Fedora 12
Video card: ATI Radeon 9200 series
Monitor: ViewSonic 19"
I installed Fedora 12 configured Gnome automatically. Generally default settings. My monitor was connected directly to the video card and all was good. My video card was detected and my monitor was detected as ViewSonic Corporation 19" and I can set the screen resolution to 1280x1024. I had no xorg.conf file, as it seems that Fedora 12 does a great job of PnP to just set everything up.Now I go and complicate things by hooking up my monitor through a KVM switch. All of a sudden my monitor is "Unknown" and the best resolution I can achieve is 800x600.
Sure, I could go and reconnect without the KVM, but I want to be able use it.Is it possible to edit xorg.conf to tell it "Trust me, just use 1280x1024 at 60Hz even though you can't figure out what the monitor is"?
I tried a number of the posted suggestions to generate xorg.conf files but none of them get me what I need. A simple sample file listing that does the minimum is greatly appreciated (I can experiment from there once I get a basic setup working).And can someone explain if it is X or the ATI driver that is getting confused by the unknown monitor type. It helps to know what is actually going on in addition to a fix (so I can figure it out myself in the future). Thanks!
./configure script fails to configure libsf. Please check the following last few lines of configure script error.
But find command shows the following;
It seems the file libdb does exist. man dbopen displays man page for dbopen. I also tried to ln -s /usr/lib/libdb.a and libdb.so /lib dir but all were in vain.
I'm reading about shared, static, and dynamic libraries. What is SDL? Is it static, shared, or dynamic?
I always thought a library would be a lot of .h and .cpp files compiled separately into .o files and then if you compiled your own program you could use the -l parameter to link the library and it was all compiled together. Now I'm not so sure.
I don't even see any SDL .cpp files in my system anywhere. All I have are lots of SDL .h files in /usr/include/SDL and I don't really understand the code in them.
I'm making a wild guess here: SDL is a shared library. SDL itself is NOT compiled into my program, therefore SDL must be on any system my program tries to run on. When I compile and link SDL all it needs is the header files to know what SDL function and objects it can use. And then on every system it uses an already compiled SDL shared library thingy somewhere.
So... where is that part of SDL? All I can find are header files.
I'm thinking the advantage of shared libraries is that someone could say update SDL on their own system and take advantage of the new features without having to download new executables with the new version of SDL compiled into them for every program that uses SDL.
So if I'm making an editor and a game engine and they both use a lot of the same .cpp and .h files that I wrote and I'm tired of updating one and then the other and I need to turn them into a library, then a shared library might be kind of a silly solution. I could just make a static library. Right? Because it's not SDL. Nobody else is ever going to use this library.
In my system around 73gb(pc-desktop) i have,1 primary partition(windows)-25gb, 1-extended partition(remaining gb) 3 logical partitions were there in (under) extended partition in one of the logical partition is d:drive. in my hard disk d: drive is -/dev/sda5
previosly i was fat -file system , (d:drive-/dev/sda5), i remember i changed the d: drive(d:drive-/dev/sda5) file system to ext4file system ,with following command using terminal
After doing(changing the file system)this one ,i couldnt see the d:drive data
By doing that
1q) Did i reformatted the partition? i think the new filesystem(ext4) has no knowledge of the data that was on it when it had a FAT filesystem.
2q) How to do undo operation,i tried to change the filesystem type to fat/ntfs in terminal using command --sudo mkfs -t FAT /dev/sda5.
Result:its showing text message-'mkfs.FAT: No such file or directory'(not in single quote)
I had very imp data in d:drive
I just loaded octave. I ran through a few examples of how to implement a script file. Everything works until I get to "plot". When I run the "plot" command I get the following.
octave:2> test1.m
error: can't perform indexing operations for <unknown type> type
sh: gnuplot: not found
Just to double check my work, I ran the following code:
y=[1 2 3];
plot(y);
I am copying the file form one directory to another directory using shellscript.
Here i want to get the Mimetype/Content-type of the file.
How to i can get the MimeType.
I have a server hacked when i try to log in i type root but won't let me type a passwdthere are no services up, can't see page mail nothing
View 11 Replies View RelatedI'm trying to compile a program and it gives me the following:
I checked cmath-util.h:46 and cmath-util.h:48:
I'm not a C person, and the author is unavailable so far.
How can we convert a dynamic library (filename.so) to a static library (filename.a) using gnu gcc . Can we get a static library form a dynamic library . I saw a few post in which the conversion form a static library to a dynamic library is mentioned but, unfortunately, not the other way.
View 4 Replies View RelatedI think that the solution is very simple, but I cannot reach this solution. I'm trying to build an B.so that uses A.so.
A.so is compiled using C;
B.so is compiled using C++;
Inside "Aso.h" file I'had declared:
Code:
#ifdef __cplusplus
extern "C" {
#endif
[code]....
There's no error to compile that, this library seems to be compiled correctly, but using the "nm" command the Aso.so functions appear with "U" of undefined. Trying to build an executable using the Bso.so library, I got this error: /lib/../lib/libBso.so: undefined reference to `foo(int, int, int)' I think that to solve this problem it's only link the Aso.so with the .o files generated at the compilation phase of my Bso. Using the "ldd" command I'm able to see that Bso.so depends on Aso.so, so what am I missing?
I am trying to generic way to convert the string datatype to other primitive data type. To achieve, i used Template . But i getting error and couldn't resolve the issue and error reported is also clueless.
Code
====
#include <vector>
#include <iostream>
#include <string>
[Code].....
To create a static library, or to add additional objectiles to an existing static library, I can use a command like this:ar rcs my_library.a file1.o file2.oBut how to add an existing static library to my own static library. I have created my own static library using the command above and want to link against the library libuuid.a (placed in /usr/lib/).
View 6 Replies View RelatedI try to install simulation package Espresso. When I configure I have following error message.
checking for libtcl8.5... no
checking for libtcl8.4... no
checking for libtcl8.3... no
[code]....
I convinced our librarian to let me put Ubuntu on our public computers a year ago. However everyone is really upset as printing is a constant problem. Soon Ubuntu will go and windows will be back if I can't solve this soon. I have tried lots of tweaks with no luck. I am not a computer or Linux professional but am pretty knowledgeable on tech although a bit weak with command line tasks.Karmic can print test pages but rarely pdf, office, or web pages. I constantly uninstall and reinstall the printer. We use a print server and several laptops share the printer. All run Ubuntu 9.10 and all are up to date. When I check the print queue all jobs are being held even though I have it set to no hold.Occasionally something will print.I also have an XP machine and an Apple but have about given up on ever getting them to print though the printer does get found by both of them.We are lucky that they let me put Ubuntu on these machines but unless this is solved soon Ubuntu will be history here. What I really need is to talk to someone while I am at the library and see is this can be fixed in a step by step manner.
I am there Thurs by 1pm eastern time USA daylight savings time. Though I could be there by noon if that would help. We open at 3pm and after that it is really hard to get exclusive use of the computers.If anyone can call me there on Thurs we can set up a time. Also I could call out by Magic Jack phone if it would save someone a long distance call. The Magic Jack is quite unreliable.We are getting Charter with long distance in 2 weeks but everyone is on my case to get this fixed before that. I am a volunteer. Also if another day would work I could maybe schedule that but I do volunteer other places at set hours. research,and web searches trying to solve this with no luck.reinstalling the printer on all the machines will maybe make it work for a few documents but not even that works much.
I have one header file named CImg.h for C++.Now I don't know the exact location for including it in gcc path.so how to include it?
View 1 Replies View RelatedI have looked at heaps of the citation software and have settled on using Zotero for a few months to really get a feel for it. One major barrier is how to import my (large) pdf collection into it in one easy step.
Goal: have zotero import my PDF library in one batch. (ubuntu 9.04)
1. I have tried to do it 1 at a time. The sun will explode before I get that done.
2. I have tried this work around without success: Drag and drop from Konqueror (KDE 3.5, opensuse 11.1) fails for me, too. A workaround to allow drag N drop is to use Firefox as a file browser (enter "file://<location_to_file>" as the URL), and to drag and drop from there. [URL]
Firefox cant find the directory
3. I have tried drag and drop as suggested on the Zotero forums (largely for windows users). No luck.
4. I have searched the web, with no other suggestions that have worked.
I use g edit to write my C++ codes. How can I know the inbuilt library functions of C++?
View 4 Replies View Relatedwhile writing my codes in g-edit, how do I know the in built library functions? Like in turbo C we can see the library functions? Is there any such features?How can I do that?
View 1 Replies View RelatedI installed Qt SDK for Linux/X11 on my Lucid. But when I try to write a simple program, Qt Creator cannot recognize the c++ headers.
Exact message when I used #include <iostream> : "iostream:No such file or directory".
Seems it cannot find the C++ standard library headers. Also gives a similar error when I try to use the std namespace.
How can I resolve this? From where and how can I give the C++ headers to the Qt Creator.
how do i install GSL 1.14? i have downloaded the tar file from [URL] and it is now sitting in my Download folder. i do not really understand the instructions in the 'install' text file that came with it.
i tried the synaptic package manager, but the version in there is not updated.
how to install the ext2fs library?
View 9 Replies View RelatedI just signed up for a 30 day trial of Ubuntu One mobile. I have music all over the place and thought that this would help me sync it on my phone. I shared my Music folder on my laptop, but all it was upload the file structure (not the music) to the server. How do I get Ubuntu Music to sync my existing collection?
View 1 Replies View RelatedI built a shared library for some API functions (C files) and compiled them with gcc. Now I'm writing a c++ application (compiling with g++) and want to link my C API shared library and be able to use it from my application. Is this possible? At first instance, it's not quite working for me. I was able to link my shared lib just fine with a C application but got an "undefined reference to `apiFunction()'" error when attempting to do it with g++. Just want to see if anyone has any insight on this subject and make sure this mix is even is allowed.
View 1 Replies View RelatedI was trying to install sopcast today but it said i needed stdc++5 library.i was wondering how u install that?
View 4 Replies View RelatedI'm working on netbeans and I'm using the jsr82 apis to establish a bluetooth connection and send data from the computer to another device. When I try to execute the program it stops at the line:
local=LocalDevice.getLocalDevice();
The error is:
Native Library bluecove not available
I've already put all the bluecove libraries within the lib folder of the project. This program works on Windows but not on Ubuntu 9. I don't know what's wrong because the Bluetooth device works and I can use it.
I was have installed gcc and g++ both 4.4.3 Version They were working fine, but now they suddenly seem to have lost track. Both cant detect standard library files. not even iostream ,fstream. (i have already tried the .h variant) my /usr/local/include/ directory is empty, should not something be there.
View 9 Replies View RelatedI'm running Banshee 1.6.1 on an AMD64 machine and I am having problems re-scanning my library. Every time I select Tools -> Rescan Music Library (even after making substantial changes to my library) the status bar disappears after a few seconds. Has anyone else witnessed this phenomena before? I can re-import my library to update the banshee database, but it would nice if this feature functioned properly.
View 4 Replies View Relatediwant to install julius 3.5.2 on my system but i have an error after compiling the file configure the error is flex library is not found so what i have to do
View 3 Replies View Related