Software :: Best Cross Compile Kit For Building Glib-2 For PowerPC?

Jun 15, 2010

I'm trying to cross-compile glib-2.24.0 for Linux running on a Freescale PPC CPU and running into one problem after another. My host is running Fedora 13, and there I can compile the same source for the host machine with no problems. For the cross compilation, I'm currently using LTIB (provided already configured from Freescale for my board/CPU).

View 3 Replies


ADVERTISEMENT

General :: Libtool Has Syntax Errors When Running After GLib-2 Cross Compile For PPC Using LTIB?

Jun 10, 2010

First, I'm trying to cross compile mono 2.6.4 so that it will run on Freescale Embedded Linux for a PowerPC CPU. My host machine is running Fedora 13 on an x86. Freescale provides a copy of the Linux Target Image Builder (LTIB) that has been pre-configured for the particular board I'm using, and LTIB seems to be able to help with the cross compilation of other stuff--you can add in your own packages to be built and included in your newly-built Linux image.

Mono depends on pkg-config and glib-2, so I have selected them in the LTIB package selection config. I've also added a new package for mono that builds mono-2.6.4 from the source tar (after the other deps have also been built).

I'm having a problem getting the glib-2.24.0 package libraries created. Basically they appear to build and link ok, but then libtool runs and errors out claiming it has a syntax error! (numerous wths followed...)

Here is LTIB's temporary build script for only the glib2 package:

Code:

Here is the output when building the glib2 package (configure + make):

Code:

Build path taken because: directory build, build key set, no prebuilt rpm,

View 7 Replies View Related

OpenSUSE Install :: Cross Compiling For PowerPC

Jan 27, 2011

I need a cross compiler for C/C++.

Unfortunately, I can't find the GCC cross compiler in the repositories.

There is only a package with the binutils: cross-ppc-binutils

But nothing like: cross-ppc-gcc

View 1 Replies View Related

Fedora :: Glib Package Building Stops - Missing GTK2 Dependency

May 11, 2011

I'm trying to work with the pcsx2 dev to compile on fedora 86_64. [URL]. Unfortunately I seem to be missing a gtk2 / glib package as building stops with:

Scanning dependencies of target CDVDiso 47% Building CXX object plugins/CDVDiso/src/CMakeFiles/CDVDiso.dir/CDVDisop.cpp.o In file included from /home/mythtv/pcsx2-read-only/plugins/CDVDiso/src/CDVDisop.cpp:11:0: /home/mythtv/pcsx2-read-only/plugins/CDVDiso/src/Linux/Config.h:32:21: fatal error: gtk/gtk.h: No such file or directory compilation terminated. make2?: plugins/CDVDiso/src/CMakeFiles/CDVDiso.dir/CDVDisop.cpp.o? Error 1 make1?: plugins/CDVDiso/src/CMakeFiles/CDVDiso.dir/all? Error 2 make: all? Error 2

I have gtk2-devel.i686, glib-devel.i686 and all the other dependencies afaik - How do I get yum to tell me which gtk* packages are installed for instance...?

View 3 Replies View Related

General :: How To Compile Source For PowerPC

Apr 7, 2010

I have a linux source (linux-2.4.1) which is for intel. I am using powerpc compiler and I need to compile this linux source for powerpc. I did cross compilation, but it dint workout well. How to do it.

View 5 Replies View Related

Software :: Can't Compile Apache For PowerPC?

Apr 27, 2011

I cant' compile apache for PowerPC.t says size of "void *" is less than sizeof of "long".

View 2 Replies View Related

Fedora :: Building GCC 4.4.3 Cross Compiler On F12

Mar 28, 2010

I am trying to build a gcc 4.4.3 cross-compiler. I downloaded the gcc 4.4.3 release, uncompressed it, made a new directory called gccbuild and cd'd there. I have already installed gmp, mpfr, and mpc in /usr/local. These are the commands I used:

Code:
configure --target=arm-linux --enable-languages=c --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local
make
However, the build fails with
Code:
checking for arm-linux-gcc... /home/steven/gccbuild/./gcc/xgcc -B/home/steven/gccbuild/./gcc/ -B/usr/local/arm-linux/bin/ -B/usr/local/arm-linux/lib/ -isystem /usr/local/arm-linux/include -isystem /usr/local/arm-linux/sys-include
checking for suffix of object files... configure: error: in `/home/steven/gccbuild/arm-linux/libgcc':
configure: error: cannot compute suffix of object files: cannot compile .....

View 2 Replies View Related

Ubuntu :: Unable To Compile Code Using Glib?

May 7, 2010

I'm trying to compile some code [URL], which uses Glib. I have the libglib2.0-dev package installed, but running ./configure reports that Glib is not installed. Is the autoconfig script wrong or out of date, or do I need something else installed?

View 1 Replies View Related

Programming :: Building Cross Compiler Tool Chain On F14 For Other Distributions?

Apr 24, 2011

My Linux: Fedora 14 x64
My gcc: 4.5.1
My Glibc: 2.12.90

target Linux: "Ubuntu 8.04.4 LTS" hardy
target kernel: 2.6.24-29-server x64
target gcc: 4.2.4 target Glibc: 2.7

I need gcc/g++ and fortran. I Googled and most documents I found are somehow outdated and targeting for ARM, not for other Linux.

View 8 Replies View Related

CentOS 5 :: Error: Glib-compile-schemas Not Found

Apr 14, 2011

checking what language compliance flags to pass to the C compiler...
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
configure: error: glib-compile-schemas not found. < ---

1. How to determine what package glib-compile-schemas belongs to ?

2. Where to get the package ?

I'm basically trying to install Anjuta 3.0 and getting this error when I run ./configure

View 2 Replies View Related

Programming :: Building PPC476 Enabled GCC Cross Compiler / Tool Chain

Aug 2, 2010

I am trying to build a cross GCC compiler for PPC476. I applied all the relevant patches. Cross compiler build was successful. When I try to compile the source code using the cross compiler I am getting the below error message. I think this is something related to linker.

Code:
cow_shim_funcs_startup_shutdown.o cow_shim_utils.o ../../dm/cfg/cfgi.a ../../dm/pl2/libsas21xxpl.a ../../raid/pfk/libpfk.a
/home/Raghu/gcc/cross-compiler/ppc/tools/lib/gcc/powerpc-unknown-linux-gnu/4.3.1/../../../../powerpc-unknown-linux-gnu/lib/libgcc_s.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [app.out] Error 1

View 3 Replies View Related

Software :: Cannot Compile Cross-gcc For Arm

May 17, 2010

I am trying to build cross-toolchain for arm. I dont want ready-to-use solution. I want my own . I want to build toolchain manually, but I cannot compile gcc. When I invoke "make" I get the following error:

Code:

-c ../../../../src/gcc-4.4.2/libgcc/../gcc/config/arm/lib1funcs.asm -include _arm_addsubsf3.vis
/home/ecco/Progs/cross-compilers/build/arm-linux/build/build-gcc/./gcc/xgcc -B/home/ecco/Progs/cross-compilers/build/arm-linux/build/build-gcc/./gcc/ -B/home/ecco/Progs

[code]....

Then, I try to build gcc:

Code:

../../src/gcc-4.4.2/configure --target=arm-linux --enable-languages=c -- prefix=/home/ecco/Progs/cross-compilers/result/arm-linux --with-headers=../../src/kernel_headers_2.6.33.4/include/

Make fails...my arm-linux-gcc is actually can be built. When I do the following:

Code:

make all-gcc
make install

I get my arm-linux-gcc in ~/Progs/cross-compilers/result/arm-linux. So I can compile kernel , but I want user-space , so I do:

Code:

make all-target-libgcc

Make fails when it tries to build libgcc (AFAIK I need libgcc to build glibc). But why does it fails? I have header files like "stdio.h" on my gentoo box. Maybe compiler somehow wants files like "stdio.h" for my TARGET (arm-linux)? But AFAIK these are files are Standart C Library header files, and glibc did not even compiled yet, so I dont have these headers for my TARGET...

I found description of this error here:[URL](gcc part). But when I add additional flags -Dinhibit_libc -D__gthr_posix_h, then make fails when it tries to compile ../gcc-4.4.2/gcc/crtstuff.c with the same errors.

View 1 Replies View Related

Fedora :: Failing To Build Empathy Due To Missing Glib-compile-schemas?

Nov 3, 2010

I am using Fedora 12, and I recently downloaded the source of Empathy from the git repo. When I issue a ./configure on the console, I get the following output, please look at the last line:

[root@localhost empathy]# ./configure
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for a BSD-compatible install... /usr/bin/install -c

[code]....

View 3 Replies View Related

Fedora :: How To Cross-compile With Mingw32

May 15, 2010

I am trying to nuild executables to run on Windoze under Fedora 12. I have install all of the mingw32 RPMs. Now I just need a URL that discribes how to compile. I am using autoconf and automake. I have done it before but that was installing from Mingw32 source.

View 2 Replies View Related

General :: Cross Compile In 64 Bit Machine For 32 Bit Arm?

Nov 18, 2010

i have fedora 11(64 bit).i want to do the cross compilation for 32 bit arm processor.i install all required thing but any of the make command(make,make mrproper,defconfig) is not working.

View 8 Replies View Related

Software :: Cross Compile GTK Program To Arm

Jul 25, 2010

I want to cross compile gtk program from linux to arm. I am using ubuntu10.04. How can I cross compile it for arm. I have tried this but this is my output:
root@habesh-laptop:~/habesh/gtk# /root/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc -o trail1 base1.c 'pkg-config --cflags --libs gtk+-2.0'
cc1: warning: include location "/usr/include/gtk-2.0" is unsafe for cross-compilation
cc1: warning: include location "/usr/include/atk-1.0" is unsafe for cross-compilation
cc1: warning: include location "/usr/include/cairo" is unsafe for cross-compilation .....

View 4 Replies View Related

Ubuntu :: Cross Compile Openswan For Cygwin?

Jul 5, 2010

I am trying to get openswan installed on cygwin. Having issues with that, their mailing list has suggested to cross compile it from linux, and I've had some gcc related errors. So I was wondering what I can use that will install on ubuntu to compile this for cygwin. As am I supposed to run this configure on the gcc package? [URL]

View 1 Replies View Related

Software :: Cross Compile Httpd For Power Pc?

May 2, 2011

I try to cross compile httpd for power pc.It seems that configure doesn't detect cross compilation. The first error was that sizeof (void*) is less than (long), so I have commented out that check (I think it is a hard work around). I've got another error ./dftables: cannoct execute binary file. Why it tries to execute binary for ppc on x86 machine?This is my build script.

#!/bin/sh
NAME=httpd-2.2.17
PWD=$(pwd)

[code]....

View 2 Replies View Related

Programming :: How To Cross Compile Perl Script

Jun 22, 2011

how to cross compile the perl script for arm_v5t.le.gcc??downloaded perl script unable to compile from the cross folder as per the readme.txt instruction

View 1 Replies View Related

Fedora :: How To Cross Compile Mplayer Into Arm Target Board

May 13, 2010

how to cross compile Mplayer into ARM target board , my target board details are URL...and i have successfully compiled Mplayer in intel pc.

View 2 Replies View Related

Programming :: Cross-compile Some Libs For Using In A ARM11 Board

Apr 14, 2011

I need to cross-compile some libs for using in a ARM11 board running Linux (at this time, 2.6.28, but I'll try update it... and for costs reason, maybe it turns on a ARM9 board). The libs are libfprint, libusb-1.0 (that is a requirement of libfprint), libSDL (and some of its extensions) and maybe libsqlite3. How I can make this, with the development files in the host machine (an Ubuntu 10.04 32bits machine) and the runtime files at the host ARM11 Board.

View 6 Replies View Related

General :: Cross-Compile Fortran And C To Windows Application

Apr 22, 2010

I have Slackware 13-64 bit and I would like to cross-compile some Fortran and C programs to windows 32 and 64 bit applications. The Linux versions utilize X11 for the graphical users interface. I have tried MINWG but I could not get it to work, either in pre-built binary or source code form. Is there a binary version that works on Slackware 13? Alternatively, is there another method available?

View 1 Replies View Related

General :: How To Cross-compile Program For Openwrt Router

Nov 15, 2010

I want to compile a program with the source I already have but I have to add an option. When I run the command ./autogen.sh the terminal returns aclocal not found. Is it a package or something i have to install?

View 6 Replies View Related

Software :: Trying To Cross Compile Wvstreams / Can't Find Openss

Mar 29, 2011

I'm trying to cross compile wvdial to ARM, wvdial needs wvstreams and wvstreams need openssl and zlib. I've managed to cross compile openssl 1.0.0d;

View 3 Replies View Related

Programming :: Cross-compile A Program For Openwrt Router?

Nov 15, 2010

I wanted to compile a program for my openwrt router from source i already have but to add an option. I ran ./autogen.sh in the terminal but it returned aclocal not found.

View 5 Replies View Related

General :: Cross Compile GNU Make For Alpha Architecture On I686 PC?

Dec 22, 2010

I'm trying to cross compile the GNU make for Alpha Architecture on my i686 PC and the GNU make i compiled would be placed in my virtual hard disk which is a Alpha based linux simulated system. My question is now , I'm able to cross compile the GNU make on my i686 real PC machine , but when i let the make program run in my virtual machine , it pops out the error ..

make: /lib/libc.so.6.1: version `GLIBC_2.4' not found (required by make)

After that, I try another alternative , and I read through the file "INSTALL" on the GNU make directory that I downloaded from the internet . In this case , I downloaded make-3.81. On the sub section "Compiling For Multiple Architectures" It says that

"You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you must use a version of `make' that supports the `VPATH' variable, such as GNU `make'. `cd' to the
directory where you want the object files and executables to go and run the `configure' script.`configure' automatically checks for the
source code in the directory that `configure' is in and in `..'. If you have to use a `make' that does not support the `VPATH'
variable, you have to compile the package for one architecture at a time in the source code directory. After you have installed the
package for one architecture, use `make distclean' before reconfiguring for another architecture." And I do not understand the line "by placing the object files for each architecture in their own directory" . What object files that I should put ?

View 3 Replies View Related

Ubuntu Installation :: Compile Flags For Paralel Building?

May 28, 2011

this is how to set your ubuntu for compiling to use multi processor. some older packages require you to use only 1 processor. so comment the export make flag, then "echo $MAKEFLAGS" to see how many processors your using you might need to "source .bashrc" to update the rc file

Code:
cat >> ~/.bashrc << "EOF"
# parallel compile settings

[code]....

View 2 Replies View Related

Slackware :: Compile Error When Building SBOPKG For Libsoup

Jan 2, 2011

Trying to get Midori browser from SBOpkg's and one of the dependencies is libsoup.configure: error: GLIB 2.21.3 or later is required to build libsoup.Anyone able to give me a pointer in the right direction to overcome this.

View 2 Replies View Related

Ubuntu :: GLib-WARNING **: /build/buildd/glib2.0-2.28.6/./glib/goption.c:2132: Ignoring No-arg, Optional-arg Or Filename Flags

Jun 15, 2011

Quote:

(gimp:4216): GLib-WARNING **: /build/buildd/glib2.0-2.28.6/./glib/goption.c:2132: ignoring no-arg, optional-arg or filename flags ( on option of type 0
segmentation fault

gimp stopped working on kubuntu after installing updates, any fix?

View 9 Replies View Related

Software :: Cross Compile The "libtorrent-rasterbar-0.14.8"?

Feb 15, 2010

I am trying to cross compile the "libtorrent-rasterbar-0.14.8" i got the error

Code:
checking for boostlib >= 1.35... yes
checking whether the Boost::System library is available... yes

[code]....

View 14 Replies View Related







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