XMPP server cross compiling
location: linuxquestions.com - date: August 15, 2011
I want to compie a XMPP server program for ARM platform, but I just only know little thing about XMPP and cross compiling a linux program . so I want to get someone's help about XMPP and cross compiling . I will be very grateful to you ,if you can give me some information about them .(this is my first post, I hope someone can give me some information. Thanks! )
Basic cross compiling tutorial?
location: linuxquestions.com - date: February 4, 2010
I have written a program that I would like to cross compile for x86 and x86_64 architectures. I have tried google and the search function here to no success, most information I find is too specific (instructions for a specific program), or dealing with cross compiling for windows on linux.
Does anyone know of a tutorial dealing with straight making a 32 bit binary on a 64 bit processor (both are intel)?
[SOLVED] Compiling trouble with gcc when using the libtool flag
location: linuxquestions.com - date: April 25, 2012
For those who are interested: This thread is a follow-up to this one.
I'm on an Alpine Linux 2.3 system and trying to create several binary packages that are not yet available (I want to use LXDE on a clean system without dev-libs installed).
Some packages built just fine but with at least two I'm having problems with libtool. If I just try to build the packages, everything works well in the beginning: configuration and even compiling the source with make. But on make install I'm told that some *.la files were found and that I'd have to enable the 'libtool' flag.
I do so by adding "-libtool" to CFLAGS via export. If I do so after configure, it is obviously ignored since I once again get the message to set the flag during make install. Now if I export it before configure, the later fails:
Help Cross compiling a kernel for an HP Jornada 728
location: linuxquestions.com - date: October 9, 2009
I just bought an old Jornada 728 and, as you may know, it comes with Windows CE 3.0. I do not use Windows, so i wanted to create my own linux system for the Jornada.
I know there are projects like Jlime, Familiar Linux, 720 Degrees, etc. But i want something based on the distribution i use, Slackware and made by myself.
My problem is weird, i have a gcc compiler for ARM platform (arm-linux-gcc) and i'm using linux kernel version 22.214.171.124. Here are the steps i follow:
1. make mrproper
2. cp arch/arm/configs/jornada720_defconfig .config
So i use a default configuration kernel for that computer, it should work as is, but doesn't.
3. make ARCH=arm CROSS_COMPILE=/path/to/arm-linux- menuconfig
I configure the kernel to fit my needs...
Now i have a zImage created on arch/arm/boot/, so i copy it to the Jornada CompactFlash memory. This Kernel image is supposed to be loaded from WinCE by a program called linexec.exe, it uses a param
Cross Compiling for Montavista
location: ubuntuforums.com - date: January 22, 2008
I am a beginner, so please bear with my question.
I made a program in C and used glade for the GUI. I am trying to cross-compile this program for MontaVista, but getting error while doing "make".
Heres what I have been trying to do...
I first set the PATH as:
2)./configure CC=arm-linux-gcc CXX=arm-linux-g++ --host=arm-linux
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/name/program/missing: Unknown `--run' option
Try `/home/name/program/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-linux-strip... arm-linux-strip
checking whether to enable mainta
[ObjectiveC] HOWTO: Compiling ObjectiveC with gcc
location: ubuntuforums.com - date: February 8, 2009
I'm here looking a bit into Objective-C and I'm impressed. It's a really nice language (just "C with Classes" not C++ bloat) but I won't go into that here.
But I had real troubles to get the sources compiled with gcc under Debian (so Ubuntu is surely the same) and after a lot of research, I could. Here's a little how-to for anyone interested.
1. Install the GNU Objective-C Runtime.
sudo apt-get install gobjc
Despite what some webpages imply, you don't need GNUStep (the GNU clone of Apple NeXTStep).
2. Write some source. Here's a very small example.
@interface Number: Object
@implementation Number: Object
Number *myNumber = [Number new]; // equal to [[Number alloc] init]
myNumber->number = 6
HOWTO: Compiling mplayer with multicore decoding support
location: ubuntuforums.com - date: January 24, 2009
I'm posting this HowTo since I think it is a great advancement in HD playback on Linux and people should be able to take advantage of it. I found out how to do this from the following post on doom9.org: http://forum.doom9.org/showthread.ph...45#post1221445
Overview: To use mplayer with multithreaded decoding abilities all you have to do is compile mplayer as per usual, but having replaced the normal ffmpeg source code (within the mplayer source code directory) with the ffmpeg-mt source code (http://gitorious.org/projects/ffmpeg/repos/ffmpeg-mt).
I'm going to use the following guide written by andrew.46 entitled [Howto] Successfully install the svn mplayer + gmplayer + all the codecs as the basis for my tutorial as it's very thorough and I feel there's no need to reinvent the spoon.
How to install:
1. Follow andrew.46's guide until you reach the point "Download and Compile the svn mplayer" (you can skip the step "Installing the amr libraries" if you
Quick question about compiling PHP with PostgreSQL support
location: linuxquestions.com - date: March 8, 2007
The PHP.net webpage states
"In order to enable PostgreSQL support, --with-pgsql[=DIR] is required when you compile PHP. DIR is the PostgreSQL base install directory, defaults to /usr/local/pgsql."
The only problem is that I can't find where my PostgreSQL base install directory is. It was installed as a package with Debians package manager (apt-get). When I do a "find" for postgres, or psql or pgsql, the files are scattered all over the place.
I understand that if I had compiled from source, the base install directory would be "/usr/local/pgsql"
/usr/bin/psql allows me to connect to the database. Should I point to here?
Can someone please point me in the right direction?
Compiling Wine with DSL?
location: linuxquestions.com - date: August 23, 2008
Hello to all
The title of this thread basically sums up my question.I know that, in terms of kernel support DSL is good, but I am not sure where to start in terms of getting all of the dependancies and tools to compile it.
I'm kind of limited to DSL since I installed it on a virtual machine via QEMU on a Windows machine, and although I could try using Xubuntu...I don't really have the space on the system required to install it so I could use it, nor the ram to just use it for my purposes off a LiveCD. I've compiled wine before on another machine with Ubuntu so I know how to. Also, I need to be able to patch wine...but when I tried it after downloading the source it just said that the patch command was not found.
So, any help would be appreciated.
Compiling errors when compiling OpenGL with GLUT
location: linuxquestions.com - date: June 28, 2011
I have just started to look at OpenGL, and I got the book "OpenGL Superbible 5th edition" by Richard. S. Wright, jr and others.
The code in the book makes use of various libs', for example GLUT, GLEW and a GLTools (Which is made by the books authors I think).
The problem is that when I compile the code from the first example application I get this error:
Page: 1 2 3 4 5 6 7 8 9 10