Fedora :: How To Cross Compile Mplayer Into Arm Target Board
May 13, 2010how 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 Replieshow 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 RepliesI 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 RelatedI 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)
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 RelatedI have synology nas box DS710+ that has intel atom processor inside. i've installed ubuntu under virtual box, downloaded needed toolchain for x86 processors, and decided to cross-compile openvpn.
I 've started from compiling lzo library, but first question that appeared in my head - how i have to move all compiled binaries to my synology?
1. configure - okay
2. make - okay
3. make install - this is not necessary?
Will --prefix parameter helps me? or do i have to use chroot? cause there is a plenty amount of files that i need to move to my synology.
I am trying to compile a kernel in the following directory:/usr/src/kernels/2.6.30.9-102.fc11.x86_64
Note I am not trying to build an rpm but just do a simple make. After configuring with make menuconfig I issue the make command and get the following error:
Code:
[root@compaq 2.6.30.9-102.fc11.x86_64]# make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
make[1]: *** No rule to make target `missing-syscalls'. Stop.
make: *** [prepare0] Error 2
how to resolve this error? It seems to be fedora-centric.
I hve following doubts regarding cross-compiling
1. if cross toolchain build wth differnet library other than the one using presently on host, will it b matter.
2. if toolchain build for 32-bit nd if i'm running it on 64-bit will it b matter.
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.
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 RelatedI 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 .....
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 RelatedI 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]....
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 RelatedI 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 RelatedI 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 RelatedI'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 RelatedI'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 RelatedI 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 RelatedI'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 ?
I'm trying to install mplayer plugin for firefox but even i have gcc compiler installed already:
Name : gcc
Arch : x86_64
Version : 4.4.4
Release : 10.fc13
Size : 18 M
Repo : installed
i have this error:
[Code].......
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,
I installed opencore-amr-0.1.2.tar.gz. In usual way
[code]...
I read all above somewhere & wanted to disseminate. You can point my mistakes OR give ways to add functionality in mplayer.
I'm trying to compile mplayer from srpm with vdpau enabled.
By default its disabled ( at least in rpmforge's srpm). How can i do this ?
This is what i tried:
I want to encode video content with mencoder and libvpx codec. I have libvpx installed on my machine and I can encode with libvpx using ffmpeg. My OS is Ubuntu 10.10, 64bit. I downloaded fresh mplayer/mencoder from SVN repository. If I configure mplayer/mencoder without any explicit enabled features using:
[Code]...
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]....
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]...
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?
I'm currently using Debian Testing with Debian Multimedia Sid repos. The current Mplayer (3:1.0~rc4+svn20110308-0.0) seems to be broken - I can't encode AAC to AC3 on-the-fly anymore. I'd like to compile the latest snapshot or SVN version, but what is the easiest way to compile it with the same options as the one in debian-multimedia.org?
View 3 Replies View RelatedHere's the situation: My Dell Latitude D830 video chip failed. Dell has replaced the system board under warranty. The following problems now exist:
1. eth0 has become eth1. The system failed to see the current ethernet as the only ethernet.
2. wlan0 has become wlan1. The same has occurred.
3. The pulse audio applet (I know, not officially supported) will not start up properly at boot complaining about something missing or wrong in the configuration. I suspect the hardware for sound is also not recognized as the previous.
4. Pidgin and Firefox are both having issues with anything SSL and digital certificates. In pidgin, I can no longer log into AIM. With Firefox, I had to accept a bunch of new SSL certificates. (Did that once for any https web site I have accessed for the first time since the system board change)
I would seriously like to understand how the hardware detection situation affects all of this. I was able to tweak some configuration files to get eth0 back to normal operation by manually changing the MAC address. But that isn't working for wlan0/wlan1 as I attempted to make corrections using the GUI and that didn't work out too well.
Where would I find the central point of identifying hardware devices and device names? And I suspect the encryption cert issues are related to the change in hardware as well which makes me wonder a few things. What happens when a non-laptop user changes a network card? Is Fedora married too closely to the hardware? What happens if we were to try to "ghost" a Fedora installation?
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 .....