General :: C++ Program Compiled In Fedora 14 Do Not Run?
Jan 31, 2011
I am very new in c programming. I could not get a simple compiled program to run,I am using Fedora 14. To learn the correct way I sign in to and fallow the examples listed they all compile and generate the executable file but none run.To run them I try both way double chick the executable end on the command line but it does not do any thing.
View 10 Replies
ADVERTISEMENT
Oct 30, 2010
A C program which compiled well in Dev CPP compiler is not compiling in Linux-Fedora.It shows the following error message/tmp/ccy02C6e.o.eh_frame+0x12):undefined reference to '__gxx_personality_v0'collect2:ld returned 1 exit status
View 2 Replies
View Related
Jun 28, 2011
I was unable to compile a program that used libicu42 on Ubuntu 11.04, because Ubuntu 11.04 has only libicu44 and does not have libicu42 installed. So during compile time I used g++ prog.c -L mylib/ to compile the program. mylib had libicu42 (This library is a shared library and has the .so extension). The program compiled successfully, but when I tried to run it, it failed and complained that it did not find libicu42. So I had to manually install libicu42 in /usr/lib. Then the program worked.'ldd prog' revealed that it looked for libicu42 in /usr/libWhat was the point of specifying the library path using -L, if the compiled program looked for the library in /usr/lib? It's almost like it was just to satisfy the compiler.
View 3 Replies
View Related
May 28, 2010
I'm currently trying to get a windows compiled program to work through Wine to run on Linux and MacOSX.
When I run the program through wine, it prompts me to install Gecko which I do. Later on in the program, it attempts to use MSHTML to render HTML but I get these error messages on my console instead.
err:mshtml:init_xpcom NS_InitXPCOM2 failed: 80004005
err:mshtml:HTMLDocument_Create Failed to init Gecko, returning CLASS_E_CLASSNOTAVAILABLE
fixme:ole:CoCreateInstance no instance created for interface {00000000-0000-0000-c000-000000000046} of class {25336920-03f9-11cf-8fd0-00aa00686f13}, hres is 0x80040111
I'm using Wine 1.1.34 and a similar bug was supposedly fixed in 1.1.33 [URL]
View 3 Replies
View Related
May 17, 2009
I have a program that is completed under Linux, it requires library tidy, PCRE and libcurl, which could be found in Cygwin too.
I could compile my linux program through Cygwin and produce an EXE file, however it do require 'cygwin.dll' installed by the users.
I am wondering if I could have someway to produce out a stand-alone EXE file that could run independently from Cygwin ? ( I don't mind to combine that cygwin.dll and the EXE together for a larger EXE file).
View 1 Replies
View Related
Mar 13, 2010
i wrote many programs in c++ in fedora.....but no one gets compiled ...error is shown as libraries in not included....where to save programs and how to compile.
View 5 Replies
View Related
Jun 18, 2010
Today I discovered a strange issue regarding LaTeX. I am currently working on my thesis and sometimes edit it on my laptop with F13 x86_64, and others with my office's Mac (Leopard). Fedora has TexLive installed (default Latex distribution) and I believe the Mac has its default distribution as well.
The problem is that the Mac seems to compile the document better (Latex + Bibtex + Latex + dvips + ps2pdf): page distribution looks better for one thing, space is better used. I notice that images (EPS) are rendered with an extra blank space on the bottom when compiling in Linux (which might be responsible for the page's arrangement).
Is there something I can do to fix this? Some option that perhaps the Mac has as a default but must be specified in Linux?
View 2 Replies
View Related
Jun 18, 2010
I am running fedora 12. I had could nor locate the Tcl/Tk on the system, so I had to download, compile and intstall the raw the raw tar balls. That is now causing some problems and I want to revert to the Fedora Tcl/Tk and reinstall it using yum as the self compiled code may not be well integrated with fedora. The make file gives no room for an un-install. I appreciate any ideas on how to go about the un-installation. Secondly the fedora system is running gnome, how may I switch to KDE instead?
View 13 Replies
View Related
Jan 12, 2010
I use: Fedora12 x86_64 and
Code:
conky --version
Conky 1.7.2 compiled Tue Aug 25 10:34:53 EDT 2009 for Linux 2.6.18-128.4.1.el5xen
[code]...
View 1 Replies
View Related
Dec 14, 2010
I want to install new php so i need to uninstall previous version of compiled php 5.3.3.
make uninstall is not working showing make: No rule to make target `uninstall'. Stop.what should i do to remove previously installed php completely so that i can install a new one??
View 2 Replies
View Related
May 8, 2011
I am attempting to compile the linux-2.6.35.13 kernel from kernel.org to use with an installation of Fedora 14 (2.6.35.11-83.fc14.x86_64). I've done this before with different kernel versions for older versions of Fedora, but I've encountered a new problem this time. Whenever I get to the "make install" step, I get the following:Quote:
sh /home/user/testing/source/linux-2.6.35.13/arch/x86/boot/install.sh 2.6.35.13 arch/x86/boot/bzImage
System.map "/boot"
[code]...
View 5 Replies
View Related
Aug 1, 2010
Kernel 2.6.21.5, Slackware 12.0 Mplayer 1.0rc2-4.1.2.
I have compiled and installed the mplayer tarball and I have disposed of both the tarball and its contents. There was the option to compile either for the physical console alone or for both this and the GUI. And I really don't remember which one I did choose.
View 7 Replies
View Related
Jun 28, 2010
I am trying out Zenwalk Linux and so far love it. I have had to compile a couple of bits of software from source and don't know how I would update them when a new version comes out.The options are:1. Compile the new version and hope it overwrites the old one2.Uninstall the old version and compile the new.Option 2 feels safer but how do I uninstall a bit of software installed by compiling?
View 3 Replies
View Related
Jan 22, 2011
i couldn't find anything on google. So here is my problem: It's Debian GNU/Linux. I installed apache2 a few weeks ago, but due to some work I couldn't go on installing further things. Today I installed php5 and mysql. Everything seemed to work fine. I loaded an existing MyBB Board and WordPress Site onto the server and imported the mysql db. I can open the sites and login. However, there are problems. I think my problems are due to the compiled modules. Some are missing. I checked several sites. They all give me this listing:
Code:
apache2 -l
Compiled in modules:
core.c
mod_access.c
[Code]...
What should I do? How can I get the missing modules? Do I have to install apache again (how? remove - install? install what?)? Step-by-step instructions would be kind, because I don't know a lot about unix systems.
View 3 Replies
View Related
Feb 16, 2011
install a newly compiled linker as the default linker on my VM running Ubuntu. I compiled and installed a new custom kernel on my VM (linux-2.6.36) and also compiled (not install) a custom gnu c library (glibc-2.11.2) on the newly installed custom kernel. I am able to run a simple helloworld.c program to verify that my program worked successfully using the newly build dynamic linker in the /elf directory.
I want to replace the real linker inside /lib with the new linker that I compiled. I tried to make the soft link named ld-linux-x86-64.so.2 that originally points to the real linker file ld-2.11.1.so, point to my newly compiled linker, but my VM crashed. I also tried moving the compiled linker and wrote it over the original linker, and the VM crashed. None of the commands worked after that as they could not access any of the shared libraries and I received this error '/bin/bash: No such file or directory'. I also tried to change the LD_LIBRARY_PATH to point to my linker and did not have any luck there either.
View 2 Replies
View Related
Jan 13, 2011
I already have compiled the source and I want to make an rpm. What do i do with it? Can i utilize the make file?
View 1 Replies
View Related
Jan 18, 2011
I just have a short simple question. I download yukon a opengl Video capture software and tried to install it and I got it installed but I can't get it to function right. So figured I would uninstall it and ran "make uninstall" in the source and it gave me an error that is has nothing to do.
So this is my questions
if I did
Code:
$whereis yukon
#rm -rf /etc/yukon /usr/bin/yukon (and the rest of the direcories listed)
Would that work fine? for removing it from my system.
View 9 Replies
View Related
Feb 26, 2011
I compiled a kernel 2.6.37.1 and after compilation i am not able to boot with new kernel.
I am getting following errors
Alert :
View 2 Replies
View Related
Jan 20, 2011
I compiled my own kernel with tun/tap and bridge support. Both modules load fine at boot time (I could read that in the dmesg output). Now I want to use it, and the /dev/net/tun node is not there, so my application gives that error. I'm trying to bridge openvpn connections. Is it possible that udevd is not doing his work?
PS: I'm on a WD MyBook World Ed NAS device. It's ARM, so I cross compiled the kernel from my debian linux machine. I also installed debian on the NAS.)
View 1 Replies
View Related
Mar 19, 2011
About a month ago, I decided to go deeper in my Linux knowledge. I've been reading a lot and found out that Arch linux would be my learning distro. As I was installing Arch, it was a pain at first but I really learned a lot which I would never ever learn with Mint. Now I decided to take a step further is which "compiling your own kernel".
MY PROBLEM:
Everything was smooth in my Arch for a 2 weeks until I decided to compile my own kernel. I currently have a Nvidia GTX 460 1GB card.
BTW, the method I used to install nvidia with 2.6.37 was
Code:
pacman -S nvidia nvidia-utils
and that worked with all of the .37 kernels (-1 -2 -3 -4) which was download from kernel.org.
When I compiled the .38 (using the same .config of .37), it just boots up to the terminal (not loading gdm). However, I could still login by typing my username and password. So I've checked dmesg of both .37 and .38 and noticed that the Nvidia driver is not loaded in .38.
I tried reinstall it by running pacman and it doesn't do anything. It was thinking of uninstalling nvidia and nvidia-utils but there are so many dependencies conflicts (like screensaver, compiz, etc).
Since, I didn't want to mess up my .37 install, I just grabbed an old HDD and installed from scratch again. This time, I compiled the .38 kernel first (without gui) and then installed nvidia nvidia-utils. It was the same problem.
With this observation, I'm concluding that the nvidia and nvidia-utils from pacman is not compatible with .38.
I've read that I have to wait for nvidia to release a driver that will be compatible with the .38 kernel. Is that true? Does it mean I have to wait for nvidia/nvidia-utils to be updated from pacman? How would I know when it is updated?
I've also read about nouveau, but I guess that is not for me because it doesn't support 3D.
Is there a work around for me to use nvidia/nvidia-utils with .38?
Is nvidia and nvidia-utils proprietary drivers? What is the difference with these two and the one you download directly from nvidia?
First of all, I apologize for the bombardment of questions. As you can tell, I'm so clueless on how nvidia drivers work on linux in general (since it was spoon fed by mint) and I really would love to learn about this is a deeper level. Could someone please explain to me (LAYMANS terms) how nvidia works (and possibly a solution to my issue).
EDIT: Additional info - I have a netbook that also runs arch. It uses an Intel GMA integrated video chip which I used "xf86-video-intel" from pacman and I believe since it is open source, it works with .38 fine. So does that mean if you use an open source driver, it will work with all other kernels?
View 6 Replies
View Related
Apr 17, 2011
I use a Netgear WNA3100 Network Adapter that needs a patched version of ndiswrapper to work. So far I successfully compiled ndiswrapper in both Ubuntu and Fedora, but it wont work on openSUSE 11.4. I installed all necessary software I need, at least I think so. I have installed the following before trying to build ndiswrapperCode:make gcc kernel-syms kernel-dev kernel-source ndiswrapper-kmp-desktop Also tried installing linux-headers-`uname -r` as I did in Fedora, but in openSUSE it was not necessary.Here is the errors I get.Google could not help me this time so hopefully someone at this forum can.
Code:
wahlgren@linux-ubyv:~/Downloads/ndiswrapper-1.56> make
make -C driver
[code]....
View 2 Replies
View Related
Sep 13, 2009
I compiled and installed the Asterisk ztdummy package because there is no rpm for it, unfortunately, and i even reinstalled asterisk, but i still get the "No application 'Meetme' for extension..." error when trying to conference. I do a "module show", and it lists other modules that were compiled with the zt source, but not ztdummy.Does anyone know how to fix this? This is more than a passing interest or hobby, because i need to conference about 3 to 5 people to help me test a new Website Content Management System and User Forums Management System i am about to launch as a service.
View 3 Replies
View Related
May 7, 2010
I am new to linux and am trying out script writing. I am using shell. How can I make a script to open a program then operate within that program?
View 5 Replies
View Related
Sep 27, 2010
how will i creat graphics program in linux...fedora-13.
View 5 Replies
View Related
Apr 28, 2010
To run applications compiled for RedHat 4 Enterprise (gcc3.4) on RedHat 5 Enterprise (gcc4.1), what should I do?
View 4 Replies
View Related
Jul 6, 2010
When I compile a C program in Fedora Core 12 using the following format: gcc -o program -static program.c
I get an error:
What do I need to do to make the program compile correctly with the -static flag ?
View 1 Replies
View Related
Oct 7, 2009
I have Fedoara 11 install on my PC. I want to compile program as 32 by g++ option -m32. I have 32 bit library install on my machine which present in path
When i compile my sample program with -c & -m32 option it compile correctly
Then it gives linking error as:
View 2 Replies
View Related
Mar 21, 2010
how we can we write java programs in java and how we execute it.. to produce output?
View 2 Replies
View Related
Feb 25, 2011
I need to modify fs/open.c and fs/read_write.c to make my modifications. I cannot find any options in 'make menuconfig' to make these files modules rather than compiled elements. I'm thinking these cannot be modules because the file system won't work without open.c and read_write.c. Is this correct - I cannot compile fs/open.c and fs/read_write.c as modules, only as compiled elements? Or, is there some way for a module to overwrite these routines when the module is installed and re-enable the routines when the module is removed?
View 3 Replies
View Related
Apr 30, 2010
I have a jsp code. After executing that code, a Java program should be executed without refreshing the page. that is, my first page is a login page which is in jsp. After logging in the next page must be displayed which is a Java code. is that possible? Can we use applet for that?
View 1 Replies
View Related