We have a 32-bit SLES build server and we compile our 32-bit application on top of it. Our target is 32-bit SLES.
Now, if we want to change our target to 64-bit SLSE and keep the application 32-bit, do we need change the build server to 64-bit and recompile the application with some flags? OR can we use the 32-bit binaries compiled on 32-bit SLES build server?
We use g++ compiler. It would be great if any Linux Guru can give me the steps to be followed.
We have a 32-bit SLES build server and we compile our 32-bit application on top of it. Our target is 32-bit SLES.Now want to change our target to 64-bit SLSE and keep the application 32-bit, do we need change the build server to 64-bit and recompile the application with some flags? OR can we use the 32-bit binaries compiled on 32-bit SLES build server?We use g++ compiler. It would be great if any Linux Guru can give me the steps to be followed.
I'd like to create a target named "debug" or something similar which will use some special optimization flags useful when debugging (for example -ggdb). At the moment my makefile is neat (which I like) and looks like
What I am trying to do is edit the link target to force ip=xxxx.xxx.xxx string at end. I have a software program which access 4 different servers running the software but with different configs. In xp I can copy links and modify as above to correctly force the program to the various servers.
I have read the various how tos on hard vs sym links which I get. Playing around with hardlinks and sysmlinks (the examples I find) does not seem to be what I need. Feel like this is pretty basic stuff but I am a bit stumped.
Just I compiled Kernel xxx.3.6 in ubuntu in Virtual Machine for 32 bit. However, I wanted to do it for 64 bit, I dont know what parameter is necessary for 64 bit.
I'm wondering why in order to run executables after compilation i have to type >"./executableName" I want it to type it just like >"executableName" (with no "./")
I don't know if this matters but I'm using tcsh for my shell...
I am working on ubuntu right now and it is quiet easy to install firestarter firewall on ubuntu thru GUI interafce but my requiremnet is to install firewall on target (powerpc 8560 ),so i have to compile firestarter source for target powerpc (montavista linux) and installed it on target. I have downloaded firestarter-1.0.3.tar & .src.rpm file both but not able to compile it for my target which is powerpc (8560).
1.How to compile source code for powerpc ( I have environment created for ppc compilation but do not know how to modify the configure file to change the compiler) because it is compiling firestarter source code with gcc compiler bydefault i. e for host. How can i change the compiler " CC "? 2.What will be the executable created to be installed on target after compilation ? 3.Is the cross compilation for target is possible?
I'm trying to compile a fortran code (not my own and I don't know fortran well) and have been having some trouble as the compilation starts and then fails as the computer completely freezes (as in press power button freeze). I added 1.5Gb swap memory as the computer only has 1GB and then tracked the memory use as the process happened and it seemed that the swap wasn't even used. The memory usage hit 90% of the 1.Gb and the machine froze again. The compiler is gfortran
I am working for a quite big embedded software product whose dependencies are not very well known. Especially, all public headers are collected to one flat folder and it is very hard to tell who is using what. get some information on the dependencies by monitoring the filesystem during a build. This is basically the same idea than in the commercial Electric Insight tool. I just thought it could be done for free but it seems to be not totally straightforward. The build is based on recursive makeing of the subsystems. What I would like to do would be to monitor the entire source tree (or at least the folder for public headers) and record the files accessed during compilation of each sybsystem (sybsystem "A" uses these, etc...).
I noticed it is easy to implement the monitoring using inotify or pyinotify as I did in my try. This allowed me to find there are lots of files which are not used at all. My problem really is how to convey the subsystem information to an inotify event. Now, I just get to knew which files are accessed but do not know which subsystem needs them. The easy way would be to revert to sequential make but I would like to get ideas how to solve the problem with make -j (parallel jobs). I would like to integrate the dependency data generation to the normal build process.
i'm trying to compile mplayer/mencoder (I need the "fribidi" flag on and my distro's package is shipped with it off.)I am using ubuntu 10.04 on x86_64.during the building process (make) it stops with the following error messages:
subreader.o: In function `sub_fribidi': subreader.c.text+0x396): undefined reference to `fribidi_set_mirroring' subreader.c.text+0x39d): undefined reference to `fribidi_set_reorder_nsm'
i am working with ad hoc network but the problem is not getting any good documentation of how to compile c++ code then how to add the code into Tcl intrepreter and how to work with make file. i want to run my own algorithm using c++ and then want to incorporate it into tcl interpreter and then want to run.
I have a weird bug : segmentation fault appears when executing the 'retq' instruction of my sigalrm callback in static link...It seems it happens only on slackware...Here is a simple test case, compiled in shared -> no problem, static -> crash...Paste the following script in a file named "test-sigalrm-pack2.sh", and execute it: it will generate the C++ source and a simple build/test script.... Just launch the build script (tst-sigalrm-build).
tried to compile amarok in slackware current? I get compilation errors with versions 2.3 Beta and 2.2.2. It used to compile fine when my Slackware was in a custom state, (Slackware 13 + kde 4.3.4 + kde dependencies upgraded) but not anymore after syncing it to slackware-current. I also tried alien bob's KDE 4.4 packages but it did not make any difference at all.Any Hints? I get the feeling it has to do with the new development packages (gcc-4.4.4, etc) but I'm not sure.
I am trying to compile gobject-introspection-0.6.2in centOS 5.6 [Linux localhost.localdomain 2.6.39-4.el5.elrepo #1 SMP PREEMPT Thu Aug 4 19:58:19 EDT 2011 i686 i686 i386 GNU/Linux]. When i run ./configure it checks for all dependencies and run successfully but when i run i got a error <gio/gio.h> not found. but in fact i have set the GIO_UNIX_CFLAGS in the ./configure options. The configure command is ->
By observing the make errors, its obvious that <gio/gio.h> is not found which is in the directory /usr/local/glib/include/glib-2.0/gio and set through GIO_UNIX_CFLAGS variable.
I'm trying to get a fedora guest running reliable smp under VirtualBox 3.0.6. The VirtualBox manual says "Some Linux distributions, for example Fedora, ship a Linux kernel configured for a timer frequency of 1000Hz. We recommend to recompile the guest kernel and to select a timer frequency of 100Hz." So I tried recompiling the kernel. Being a responsible lad, when it came to setting the kernel specs:
Code: # Polite request for people who spin their own kernel rpms: # please modify the "buildid" define in a way that identifies # that the kernel isn't the stock distribution kernel, for example, # by setting the define to ".local" or ".bz123456" # # % define buildid .local %define buildid .rim_for_vbox I've successfully built and installed kernel, headers and firmware:kernel-2.6.30.5-43.rim_for_vbox.fc11.x86_64.rpm kernel-firmware-2.6.30.5-43.rim_for_vbox.fc11.x86_64.rpm kernel-headers-2.6.30.5-43.rim_for_vbox.fc11.x86_64.rpm The system is working fine (well, so far). But trying to install the VirtualBox Guest Additions kernel add-ons still gives me
Please install the build and header files for your current Linux kernel. The current kernel version is 2.6.30.5-43.rim_for_vbox.fc11.x86_64. I'm pretty sure this is because my kernel doesn't match the development packagekernel-devel-2.6.30.5-43.fc11 (x86_64). So the key question is, how on Earth do I create a development package to match the responsibly-renamed kernel?
I am getting a weird compilation error with malloc.h/usr/include/malloc.h:86: error: expected ')' before '__size'This is what the code looks like inside malloc.hextern void *(*__morecore) __MALLOC_PMT ((ptrdiff_t __size))When I did some googling, it was stating that ptrdiff_t was not defined; but, it is.#define __malloc_ptrdiff_t ptrdiff_t
I installed Opencv in Lucid.But i dont know how to compile a program (.c/.cpp) by giving additional opencv flags. So i found another method, There is Buildall.sh (given Below) along with the samples in Opencv Source.I copied buildall.sh to my working directory and using it but there is a problem that each time it compile all the source files in the .
But what i need is a "build.sh" file such that it compile only the argument file given from terminal using opencv flags as in buildall.sh. like follows
Code: sh ./build.sh prog.c then it will compile prog.c Code: sh ./build.sh prog2.cpp then it will compile prog2.cpp
its for my project .imy entire project using opensource tools and softs only. if possible somone pls explain the shell script in build all.sh
I'm new with linux, and I'm wondering why in order to run executable after compilation I have to type >"./executableName" I want it to type it just like >"executableName" (with no "./") I don't know if this matters but I'm using tcsh for my shell...
I've been compiling stuff with the usual ccmake . make and make install for a while now, but now I'm starting to compile suites of applications, such as Calligra (Koffice). Is there any easy way to have the compilation spit out several .debs for the various components?