Software :: Target Change And Re-compilation?

Jan 27, 2010

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.

View 1 Replies


ADVERTISEMENT

SUSE :: Target Change And Re-compilation??

Jan 27, 2010

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.

View 1 Replies View Related

Programming :: Makefile: Change Compilation Flags By Changing Target Name

Nov 12, 2010

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

Code:
SRC = $(wildcard *.cxx)
OBJ = $(SRC:.cxx=.o)
INCDIR = -I.
LIB = -lm

[Code]....

View 2 Replies View Related

CentOS 5 :: Differences Between Scsi-target-utils & Iscsi-target

May 8, 2009

I want to run ISCSI target on CentOS. Both "scsi-target-utils" and "iscsi-target" can be used.

They seem to have the same function.

Is there any significant difference between them, on performance or stability?

View 4 Replies View Related

CentOS 5 Networking :: Change ISCSI Server Listening Port 3260 - Scsi-target-utils

May 14, 2010

iSCSI Server, can I change the default port 3260 to other port ?

View 1 Replies View Related

Debian :: Edit Link Target / Edit The Link Target To Force Ip String At End?

Jun 16, 2011

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.

View 1 Replies View Related

General :: Yum Vs Self-Compilation / Difference Between These?

Mar 19, 2011

Can anybody please explain me how source code compilation gives more performance than yum?

View 3 Replies View Related

Ubuntu :: Kernel Compilation For 64 Bit?

Mar 31, 2011

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.

View 9 Replies View Related

Programming :: Compilation Errors In C?

Sep 7, 2010

When compiling a C program i get the following errors.How do i modify the code to remove these warning messages?

1) "test.c", line 614: warning #4212-D: mismatch between character pointer
types "unsigned char *" and "char *"
p_data = m_lines[p_text_idx];

[code]....

View 2 Replies View Related

Debian :: Posix Related During Compilation?

Sep 4, 2011

I am trying to compile splasutis in my debian wheezy. ./configure run well, but during make I get the following error

make --silent all-recursive
Making all in libs
CONF    libjpeg.a

[code]....

View 7 Replies View Related

Fedora :: Compilation Of Vlc Source Code?

Dec 13, 2009

how vlc source code can be compiled?

View 2 Replies View Related

Fedora :: Berkeley Db-4.8.26 Compilation Failed?

Sep 9, 2011

I have downloaded "db-4.8.26" and trying to compile it for MIPS. I am using the following configuration options

dist/configure --host=mips CC=/opt/montavista/pro/devkit/mips/fp_be/bin/mips_fp_be-gcc LD=/opt/montavista/pro/devkit/mips/fp_be/bin/mips_fp_be-ld CFLAGS="-g -O2 -lpthread -D_REENTRANT" LDFLAGS=-Bshareable
but compilation is giving lot of errors for mutex.
./libtool --mode=compile /opt/montavista/pro/devkit/mips/fp_be/bin/mips_fp_be-gcc -c -I. -I../dist/.. -g -O2 -lpthread -D_REENTRANT ../dist/../mutex/mut_pthread.c

[Code]...

View 1 Replies View Related

Ubuntu Installation :: Run Executables After Compilation ?

Jun 12, 2010

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...

View 2 Replies View Related

Ubuntu :: Compilation Tcl Error / Link With Tcl?

Jun 17, 2010

I am compiling a package which use Tcl and got results as follow:

/usr/bin/ld: cannont find -ltcl8.4
collect2: ld returned 1 exit status

how to link with tcl? which file to link? it is a file like libtcl.a ?

View 1 Replies View Related

General :: Compilation Of Firestarter-1.0.3.src.rpm For Powrepc?

May 13, 2011

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?

View 3 Replies View Related

General :: Ubuntu 10.4 Freeze During Compilation?

Jul 10, 2010

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

View 1 Replies View Related

Software :: How To Monitor Filesystem During Compilation

Jun 14, 2011

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.

View 3 Replies View Related

Software :: Mplayer Compilation Fails?

Sep 1, 2010

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'

[code]....

View 2 Replies View Related

Programming :: C++ Compilation And Attach In Tcl Interpreter?

Mar 25, 2011

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.

View 2 Replies View Related

Slackware :: 64 - Static Compilation Broken?

Apr 23, 2010

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).

Code:
#!/bin/sh
#test-sigalrm-pack2.sh

[code]....

View 14 Replies View Related

Slackware :: Current And Amarok Compilation?

Feb 27, 2010

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.

View 5 Replies View Related

CentOS 5 :: Php Source File Compilation?

May 25, 2011

Can anybody share a link or steps for Php 5.3.3 and Apache 2.2.19 source file compilation

View 3 Replies View Related

CentOS 5 :: Compilation Of Gobject-introspection

Sep 21, 2011

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 ->

./configure GIO_UNIX_CFLAGS="-I/usr/local/glib/include/gio-unix-2.0
-I/gio/usr/local/glib/include/glib-2.0
-I/usr/local/glib/lib/glib-2.0/include"[code]....

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.

View 3 Replies View Related

Debian Configuration :: Kernel Compilation Duration

Apr 10, 2011

I have squeeze installed on an AMD machine. i compiled the kernel based on the config file in the /boot.
it was surprisingly much time:

This was the first time using AMD machine, i had experience with some P4 machine to have much shorter kernel compilation time.

The machine:

what do i do in the wrong way? or is it the "feature" of the this old AMD?

View 7 Replies View Related

Fedora Installation :: F11 - VirtualBox And Kernel Compilation

Sep 13, 2009

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?

View 4 Replies View Related

OpenSUSE :: Getting A Weird Compilation Error With Malloc.h?

Aug 3, 2010

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

View 4 Replies View Related

Ubuntu :: Unable To Complete Kernel Compilation

Feb 2, 2010

Here is what I am getting with any kernel I am attempting to compile these days: [URL]

I pasted as much as I could salvage from the terminal.

Details here: [URL]

View 9 Replies View Related

Ubuntu :: Shell Script For Opencv Compilation?

May 30, 2010

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

[Code]...

View 5 Replies View Related

Ubuntu :: TCSH - Running Executable After Compilation

Jun 12, 2010

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...

View 6 Replies View Related

Ubuntu :: Compilation Remove Debs For Various Components?

Feb 18, 2011

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?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved