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


ADVERTISEMENT

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

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

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

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

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

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

Programming :: G++ Linking Error With Multiple Libs

Jan 9, 2011

I tried to link my executable program with 2 static libraries using g++. The 2 static libraries have the same function name. I'm expecting a "multiple definition" linking error from the linker, but I did not received.

Code:

//staticLibA.h
#ifndef _STATIC_LIBA_HEADER
#define _STATIC_LIBA_HEADER
int hello(void);

[code]....

View 4 Replies View Related

Programming :: Shared Libs - Multiple Files In C++?

Oct 20, 2010

I'm trying to change a group of cpp files to one shared lib. I have created a shared lib with a single file. I then did this with a group of files. The difference in what I'm doing is that before with the single file, .a, was added into a single .o file. Now I'm trying to add it to my main.cpp file which is NOT a .o file. I'm now getting these compiler errors from the main.cpp where is doesn't seem to recognize the semaphores.Example Error: undefined reference to `sem_wait'If I were not to use the share libs this compiles and runs as I expected it to.Something tells me this is a compiler flag issue, at least I hope it is

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

General :: Cross-compile "sudo" Source For Power-PC Platform Using Montavista Tool Chain?

Jan 30, 2010

I'm trying to cross-compile "sudo" source for Power-PC platform using Montavista tool chain. I'm getting the following error message during configuration: checking host system type... Invalid configuration `ppc_82xx': machine `ppc_82xx' not recognized It is clear that it has found the cross-compiler and configure knows that we are cross-compiling but it fails to recognize the machine. The complete dump follows:

[vhn@localhost sudo-1.7.2p2]$ ./configure --host=ppc_82xx
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.
configure: Configuring Sudo version 1.7.2p2
checking whether to lecture users the first time they run sudo... yes
checking whether sudo should log via syslog or to a file by default... syslog

[Code]...

View 3 Replies View Related

Programming :: Ar - .libs/libbfd.a - Error Reading Archive.o - File Truncated

May 30, 2010

So the above is the error message I am receiving when trying to compile (at make stage when error received) binutils 2.20.1. I am compiling in Virtualbox and the base machine is SourceMage 64bit.

View 4 Replies View Related

Programming :: Cross Between Strace And Gdb

Dec 6, 2010

I want to run a program under ... something like strace, something like gdb. Let's call the something Fred. Every time I run a particular program under Fred, it detects when a system call is about to take place or a signal has occurred, and traps to Fred, which decides dynamically how to respond, whether the stimulus is a signal or an attempted open(), close(), read(), write(), socket(), connect(), listen(), select(), ioctl(), time(), or whatever. Although strace does this marvelously, what I'd like Fred to do is use code that I supply to doctor up what the subject program sees. In the case of write(), it should be able to modify what actually gets written. In other words, a hard shell environment around the program which completely mediates between the subject program and the outside world. I'll start with the source code for strace and gdb if I have to. But has this been done already?

View 12 Replies View Related

General :: Cross Compile Php For "arm" Target Using "arm-angstrom-gnueabi" Tool Chain

Apr 28, 2010

I am trying to cross compile php for "arm" target using "arm-angstrom-linux-gnueabi" tool chain. Apache compilation was successful after using a few ac_cv configuration options(and a few others to get rid of compile errors). But was unable to compile php for the target, as the 'apxs' file used was not executable in the build machine.

I tried creating an apxs file for the build machine architecture(intel 686), and using it. It was able to compile then, but still php page is not getting displayed on the web server. (Have done the procedures like, loading the libphp5 module on httpd conffile and all)

View 1 Replies View Related

Debian Programming :: Cross Compiling With Qt

Dec 11, 2014

I am trying to cross-compile my Qt application for armhf on Jessie, so what I did was install qt5-default:armhf, but when I tried running qmake I found out that it contains also an armhf version of qmake so I was not able to run it.Then I installed the amd64 version to have at least a runnable version of qmake, but it was only to find out that qmake contains only hardcoded paths, so I could not use it for the armhf libraries, well I could but I had to run qmake (amd64 version) and afterwards open the makefile and change all paths from amd64 to armhf.

But as this is not so convenient I was wondering if there is a normal way to do this, I know you can compile the source yourself but I had quite a lot of problems with dependencies there. Is it possible with the standard repository binaries or should I just go back to compiling the source myself? Maybe I can compile only the building tools without building all the libraries I already got from the repository.

View 0 Replies View Related

Debian Programming :: Cross Platform Sql Gui Apps

Jun 8, 2014

What are the availability`s for cross platform sql , gui, application development using raw code in the Debian environment. I would rather work with raw code. I have been working with PHP MySQL, need to advance to Universe Application Development cross platform Raw Code for both mobile and desk top.

View 1 Replies View Related

Programming :: Cross-Platform Compiling -m32 Flag

May 14, 2010

I have an odd thing. And thats the following:

I entered: gcc raw.c -m32 -g -static -o raw

And I got:

I installed all bin32 libs I am on a x64 system.

View 6 Replies View Related

Programming :: Linker Error Using Cross Compiler

Aug 11, 2010

I am using a arm compiler to build my program but getting following compiler error at the end -
init.c.text+0x2c): undefined reference to '__libc_csu_fini'
init.c.text+0x34): undefined reference to '__libc_csu_init'

View 1 Replies View Related

Programming :: Basic Cross Compiling Tutorial?

Feb 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)?

View 2 Replies View Related

Programming :: How To Force Scons To Use Cross Compiler

Feb 3, 2010

I have a large existing codebase that all compiles under Ubuntu 8.04 with g++ using Scons. I've been given the task of getting it to compile for Arm9 running uclinux. I have a arm-elf-g++ compiler that I need to use instead of the gcc version. I ended up borking my /usr/lib/scons/SCons/Tool/g++.py file to use arm-elf-g++ instead of g++, but I know that this is not correct, as I have to go edit that file every time I change compilers.

These are the 2 lines I switch out:
Code:
compilers = ['arm-elf-g++']
#compilers = ['g++']

I simply can not find anywhere in the scons documentation that indicates how to tell it to use a different compiler. It seems that it would go under "Environment" but beyond that I'm lost. The CPPPATH variable seems like it only tells scons where to find #include files. I suppose I could rename arm-elf-g++ to g++ and just set my path to find that one first, but that seems like a bit of a hack as well. It would also break other things on my machine.

View 3 Replies View Related

Programming :: Sms Server Tools Cross Compiling

Apr 11, 2010

I wanted to cross compile sms server tools(url)for arm-linux with arm-linux-gcc compiler but I can not this is all information that I have from it's error:

Quote:

[root@localhost smstools3]# ls
doc examples install.sh LICENSE Makefile package.sh README scripts src uninstall.sh

Quote:

[root@localhost smstools3]# cat Makefile
# Makefile
# If you change destination of executables, remember to change
# startup script (init.d/sms3) too.
#BINDIR=/usr/local/bin
BINDIR=/mnt/sd/Utility/sms/ ///I changed here for cross compilation
code....

View 3 Replies View Related







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