General :: -fPIC Compiler Option Doesn't Let Application Initialize
Sep 22, 2010
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.
View 2 Replies
ADVERTISEMENT
Jan 12, 2011
What is the best commercial C++ compiler on Linux. Best in the sense of runtime performance.
View 3 Replies
View Related
Jun 22, 2011
I have a platform independent compiler. so, i created the common api's and platform api's using my complier. so i have this library files named cmn_api.a & platform_api.a in my auto/linjtag/lib.(they will be created when we run the makefile of the compiler).
The problem is when i'm trying to run the console application of my compiler. i have a menu.c from which i choose different modes and i operated on that.
When i tried to open one of the executable i'm getting this error:
View 4 Replies
View Related
Apr 22, 2010
CNR is installed with my fresspire, but it never initializes. I can't log in and I'm wondering if this is somehow related to the fact that I have not set up the email application that came with freespire.
View 1 Replies
View Related
Feb 12, 2010
i just installed MATLAB but while i can load it from shell by typing matlab, when i make a panel application launcher and inform it with the path /usr/share/matlab/bin/matlab it does not start.
View 2 Replies
View Related
Jul 29, 2010
I cannot install g++ on my ubuntu...i can't find the option foe the G++ compiler in the Ubuntu Software centre...and while typing G++ in the terminal I get a message that tells me to add some pentium...
View 1 Replies
View Related
Jul 24, 2009
how do I create a rule which makes the startup of an application to start CentOS?
View 1 Replies
View Related
Sep 23, 2010
I am working for a product which was evolved over a decade. There I have some combination of C style coding and C++ coding in same libraries. I am landing on some instances where C style function is expecting forward declarations for some other function for which I can not declare (due to design and architecture). Is there any g++ compiler option that directs the g++ to look whole preprocessed file (because definition is there down in the preprocessed file) than only forward in the preprocessed file. All these years this code is working as we are using CC compiler and that looks entire preprocessed file than only in the forward direction.
<Sample Code
Header1.h file
Function1()
{
[code]....
if I can not include Header2.h first then Header1.h. I have to include Header1.h and Header2.h because on the design hierarchy in this product. Also the function definitions are in header files as they are either template functions or functions expanded through macros.
View 6 Replies
View Related
Oct 7, 2010
I'm relatively new to Linux and had a question regarding the GCC compiler.I realize that I can write an application and compile it using the GCC complier.I can even sell it (or not) . My question is do I have to make my source code public available also ?
View 5 Replies
View Related
Apr 18, 2011
I am looking to install a c++ compiler. I run 11.4, and was told to look in the Software Manager for easy installation. I have no repositories installed, as the repositories in the Application sticky only applied to Suse installations through 11.3. I found the package "gcc45-c++" (Version Number 4.5.1_20...208-9.8) when I searched the Software Manager. I proceeded to install it, and had no problems, but when I looked in "applications", the compiler was not there. I'm aware that I may be revealing some great ignorance here, so I'll ask, should gcc appear? If not, how do I execute the program?
View 9 Replies
View Related
Apr 7, 2011
I am trying to compile a program that uses ostringstream. I have included the following
#include <iostream>;
#include <sstream>;
#include <string>
as well as a bunch of other header files, but the rest of my program compiles nicely so I'll omit those for now. I have already tried
yum install gcc gcc-c++ kernel-devel
but everything is up to date. When I compile my program, I get this error:
GRASPv0.cpp:451: error: ostringstream was not declared in this scope
View 8 Replies
View Related
May 31, 2011
installing swi-prolog on RHEL 5.4 64bit. during the make it returns the error
[code]...
From what I understand -fPIC is something that is only a concern on 64bit operating systems. I tried this on RHEL 5.4 32bit and it worked fine. How do I get past this error? I've tried disabling SElinux as recommended on the swi-prolog website, but that had no effect. I also tried compiling with "CFLAGS=-fPIC" but still the same issue. This happens on all my RHEL 5.4 64bit machines.
View 2 Replies
View Related
Mar 19, 2011
I've run into a problem that the combination ALT+F2 doesn't launch Run Application I have Linux Mint 10, the key combination is assigned all right in 'Keyboard shortcuts' and in gconf-editor.
View 4 Replies
View Related
Dec 14, 2010
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.
View 6 Replies
View Related
Jan 1, 2011
I have no idea what happened to my OS(ubuntu10.04).it doesn't give me any option to enter my login name & passwd.i just get a blank(default) login screen.last time when it worked,i was trying to install GTK+2.8,but due to my mistake i deleted glib using cmd (sudo apt-get purge glib)and after that i even tried to launch terminal but it failed to launch.also tried to play media files using vlc but it didn't work.so i tried to restart my os and finally got stuck in the problem.i have no idea what to do,please help.Is there any cmd to see what problem occurred or which package is missing.
View 14 Replies
View Related
Nov 30, 2010
1. Is there a command option to launch an application minimized?
i.e. in terminal
firefox -minimized [URL]
That opens firefox but does not minimize...
2. Also, is there a command option to add the application to the system tray?
View 3 Replies
View Related
Nov 15, 2010
Hello guys, I've just ran 'apt-get dselect-upgrade' to upgrade some packages, there're few packages I want to keep.
However it changed a lot my customized environment like the login screen and the wallpapers.
I really like the previous login screen but how can I change it back?
The option 'Application > Administration > Login screen' is not enabled.
View 1 Replies
View Related
Jan 22, 2011
I am trying to understand these two examples for setting up user-callback option in back in time application. I am trying to modify this to suit my needs, Back in time homepage has some basic info, but very terse, same with the man page. The following two examples are the only references I could find. first one from here - [URL] I don't want email to be sent, just an update to the log file will be fine.
[Code]....
View 1 Replies
View Related
Sep 12, 2010
I want to create a small simple application that will let me change the Output of the Sounds option to go from speakers to my headphones. I can do this easily enough through System --> Preferences --> Sound, but I'd like to create a GUI front end for me to do this. This is more as a learning exercise than anything else.What is the best language for me to build the windows to do this? Also, how do I find the commands to let me toggle the sound settings? Where are they documented? I'm using Ubuntu 10.04.
View 2 Replies
View Related
Jan 28, 2010
Newbie with 1.4 Ghz Athlon and a 320 Gig HD.
Have Windows XP installed and decided to go with Ubuntu 9.10. Installed fine but I have had frequent problems resulting from installing Ubutu "approved" software. The chief problem is that I lose my ability to login easily and end up having to reinstall Ubuntu.
My primary computer use is the jukebox since I have around 12+k music files as mostly ogg vorbis and mp3. Also do some arranging and want Musescore.
Have taken the "newbie distro" quiz and top recommendations are Linux Mint, Mandriva, Ubuntu, Open SuSe.
Would like a Linuz OS with a "restore" feature since I know I'll propably need it and would prefer to "restore" rather than re-install.
Ubuntu doesn't appear to have a "restore" application. And I've re-installed it about 5 times in the last week due to corruption of files when adding programs (Avast, Musescore .6, Swiftfox, and deleting the games installed with the Ubuntu.
View 9 Replies
View Related
May 1, 2010
On windows xp when i right-click on the flash video, i can choose 'enable hardware acceleration', but when i do the same for OpenSuse i don't have any hardware acceleration option.
How can i have a GPU/hardware acceleration option for flash?
View 6 Replies
View Related
Oct 19, 2010
Ubuntu-Tweak doesn't have the option Startup which includesSession ManagerSession Control and few other options are not there. I am running the latest version available to download. I remember having all those menus in lucid.for a better difference comparison see the menus in the ubuntu tweak homepage http://ubuntu-tweak.com/ with mine....
View 1 Replies
View Related
Apr 14, 2010
I have burned an iso image onto a disk in order to install flashplayer on my linspire system. i saved the tar.gz to /home/myname/easyiso. what's the next step? I realize I need to learn a LOT of language and procedural material in order to really begin command line operations; this is how I'm getting started. Also, I can't get CNR to initialize. is the login for CNR linked to the native email application in linspire?
View 1 Replies
View Related
Feb 9, 2010
The limit bandwidth options in U1 don't work for me. I will check the checkboxes and change the values. When I come back later, they are back to being unchecked, with the default values filled back in.
View 1 Replies
View Related
Nov 24, 2010
I have inadvertently caused the main menu (Applications,Places and System) icons to change to a single icon, a white triangle. I've tried to put back the default but no luck. How can I restore the original?
On workspaces, I created a second workspace but the Workspace Switcher doesn't want to show the 2nd workspace; the display should show a blank window. Also the split screen option doesn't work. Do I need an applet (Pager) to sort this out?
View 2 Replies
View Related
Jun 13, 2011
Well a few days ago I installed Ubuntu for the first time and I'm really enjoying it but there is one thing putting me off and making me want to go back to Windows regularly - the fact my mousepad scroll option doesn't work, something I require quite regularly.
I have googled things about fixes and I'm a beginner, so some of the things were too advanced for me and others didn't work. with this so I can have the best experience I can with the operating system.
View 2 Replies
View Related
Dec 5, 2010
I can see that in yum-updatesd configuration i can use smtp_server to rely mail notifications as per below outputs from man pages smtp_server SMTP server to use when sending mail, host or a hostort string. Defaults to localhost:25. The problem that this option doesn't work at all and it rely into the local MTA not the one set on the smtp_server
View 2 Replies
View Related
Mar 19, 2011
This is the error: Could not initialize the package information An unresolvable problem occurred while initializing the package information. Please report this bug against the 'update-manager' package and include the following error message:
'E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf), E:Error occurred while processing libwpeditor-dev (NewFileVer1), E: Problem with MergeList /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_karmic_universe _binary-amd64_Packages, E:The package lists or status file could not be parsed or opened.'
View 1 Replies
View Related
Jul 2, 2009
I have a /boot partition, and the online update process has downloaded the upgrade to /boot/upgrade. The problem is that grub is actually booting from a directory /boot which is in the root partition, but is invisible once the machine has booted, because the /boot partition is mounted over it. The result of all this is that the upgrade option does not appear in the boot menu, because that option has been inserted in the menu.lst (or grub.conf) in the /boot partition. is it ok for me to run:grub-install /dev/sda4(that's the device that contains the /boot partition where the upgrade menu option and data). Also, do I need the --root-directory option, given that the boot directory is the root directory of that partition.
View 3 Replies
View Related
Feb 5, 2010
I know Pidgin doesn't have an option to send group messages. I've been searching for some plugin from a third part, found something for Debian, but nothing for Fedora/Redhat. Does anyone know here a working plugin for this problem?
View 2 Replies
View Related