Programming :: Compiled, But Can't Run (fpc)/
Apr 25, 2010How come the program is compiled without errors but I can't run it?After writing
Code:
./program
blank line appears only.
How come the program is compiled without errors but I can't run it?After writing
Code:
./program
blank line appears only.
I've compiled some code which I've given to other people, however when they try to run it they get segemtation fault. After some testing I've found if it's ran from root (where I compiled it) everything works, if I try to run from a user there's a fault.
View 3 Replies View RelatedI am debugging a project and I noticed the .so files from my installed version of this project are being used when I run the main executable. However what I want is that the modified and compiled libraries (.so files) are being used. This is for testing the software. So I don't want to install these. I tried adding the directory with the .so files in /etc/ld.so.conf and doing ldconfig. However that did not seem to work. How can I let the main executable use the modified .so? I also want to debug this using gdb, so if someone knows what I should do to get those modified .so files being used for execution.
View 5 Replies View RelatedPlayer-Stage uses .cc files. I know how to compile them. But how do I actually execute my code? There is an output file generated. There is nothing in the .cfg file or in the .world file that specifies what program to use to run the robot. Or is it not specified in the world or cfg files?
Then how to make the robot obey my compiled .cc file? If this question is silly or if I am asking stupid questions
I am currently taking a Java class and I am not understanding it very well. I have compiled the following program, but it will not give me any data back to where I input the employee name, hours, rate. Can you look it over and tell what I am missing? I have been working on this for about 7 hours now and I have been reading and researching and just can not seem to know what is missing.
public class Employee
{
public static void main( String args[] )
[code]...
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).
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 RelatedI installed the kernel source on Linux 11.3 with Yast2/pattern/kernel development. The tutorial gaves the command:
$ make -C /usr/src/kernel-source-2.6.8 M=pwd modules
But that command does not work. Linux complaints: no such file.
I check the path and find they like:
/usr/src/linux/
/usr/src/linux-2.6.34.7-0.7/
/usr/src/linux-2.6.34.7-0.7-obj/
[Code]...
I am running Ubuntu 9.10. If I compile a 'hello world' C file using the terminal, something like:
gcc hello.c -o hello
the compile seems to work fine, and the executable file 'hello' appears in the directory.
However, when I try to run 'hello' from the terminal, I get something like the following:
No command 'hello' found, did you mean: .......
If I run dir, though, I can see 'hello' is there. I also can't run code I compiled when I was running 9.04. The OS again can't seem to find the executable file.
Everything worked fine with version 9.04. I could compile and run without any problems. Is there some setting I have to change to allow the OS to run my code?
I am compiling gcc 3.4.6 from source in RHEL 5 (this has gcc 4.1.2 )I downloed all dependencies and started ./configure.It went fine.When I do make I get following error that cannot run C compiled programs.
checking for C compiler default output file name... b.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
[code]...
I read this on Patrick's twitter: Considering compiling future 32-bit x86 Slackware packages for i686 and finally leaving i486 and i586 support behind. Would the devs mind sharing why the change hasn't been made? I'm guessing there must be a lot of Slackware users with 15-20 year old computers that want to run the latest software.
View 14 Replies View RelatedToday 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?
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 Relatedhow to get the RT2570 drivers compiled and set up in 10.04 so the my F5D7050 will work? These are some vague instructions elsewhere on the internet but nothing I do seems to work. Everything suggested throws error messages.I just need a link to download the right sources and the relevant commands to get it compiles and set up.
View 5 Replies View RelatedI compiled the kernel 2.6.36.I want to remove it.How sholud i proceed?
View 1 Replies View RelatedKernel 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.
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 View RelatedI compiled php 5.2.17 from the source with php-fpm and I have the compiled package /tmp as you know the version of php is slackware 13.1 is the same (5.2.17 without php-fpm) . How could I update from from compiled package?
View 5 Replies View RelatedWhat do you pass to --prefix? /usr/local? /opt? Somewhere in ~?
View 3 Replies View RelatedI have installed two softwares manually, from the source code downloaded from their official websites: Stellarium, and the Linux Kernel. The version of these is not the same as the one found in the official repos. My question is: does aptitude have knowledge of the existance of these softwares? Can it do any damage to them, in case, for example, I run automatic aptitude tasks, such as autoclean and dist-upgrade?
View 2 Replies View RelatedI 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]...
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??
I would like to use my SuSE 11.2 1TB RAID server to backup my mac using time machine. I found several tutorials on the web for using netatalk over ssh, but all these tutorials are for Ubuntu and require the debian package. Has anybody compiled netatalk over ssh under SuSE? I cannot verify if the netatalk package installed by the SuSE installer has been compiled with this option. Alternatively could somebody point me to any documentation to help me compile netatalk? I tried reading the netatalk manual from sourceforge, but that asks for installation of a Berkley DB that is not required under Ubuntu.
View 7 Replies View RelatedI recently installed mplayer I compiled from svn, and now Ubuntu's package manager is showing security patches. If I install these patches, will it mess up the version I compiled and installed?
View 5 Replies View RelatedI wanted to know if there is any way of adding a driver that i compiled during boot apart from adding it in
Code:
/lib/modules/<kernel version>/kernel/drivers
It works fine till i update to a newer kernel...then i have to add it in the new kernel file....so is there a permanent method?
I don't want to screw up my system, but I need newer versions of packages then the ones in the apt repos. What is the community consensus on the best way to mix apt package management with building bleeding edge packages from source?
Should I build the source into a package and install it with apt? Should I avoid make install?
I would also like to be able to use multiple versions of the same package, and have some sort of sym link or something to determine which version gets executed.
I compiled the latest stable version of gimp, but I want to go back to the one in the repositories, how do I uninstall the compiled version?
View 6 Replies View Relatedwhen I try executing a file in WINE that was a C++ and was compiled into a .exe I get:
Code:
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC90.CRT" (9.0.21022.8)
err:module:import_dll Library MSVCP90.dll (which is needed by L"Z:\home\server\ms\MCServer.exe") not found
[code]...
what is the correct way to delete the kernel that is compiled by me?
View 1 Replies View RelatedAfter many failures, I succesfully compiled Gnome Shell from GIT. I already did about two months ago on the same machine and everything went ace. This time, when trying to finally launch it with ./gnome-shell --replace, the windows briefly disappear, the screen flashes for a few seconds but the Unity or the Classic Ubuntu desktop are restored normally. This is the output in the terminal:
Code:
giulio@giulio-902:~$ ~/gnome-shell/source/gnome-shell/src/gnome-shell --replace
Gtk-Message: Failed to load module "canberra-gtk-module"
Window manager warning: Log level 8: gtk_style_context_add_provider: assertion `GTK_IS_STYLE_PROVIDER (provider)' failed
[Code]....