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


ADVERTISEMENT

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

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

Programming :: Cross-platform LAN File Exchange Program?

Sep 2, 2010

I recently faced a problem. At my college, I linked my laptop with my friend's laptop with an ad-hoc wifi network. I wanted to send him a file. I was running Ubuntu, and he was running XP. Unfortunately, I could not find an easy way to send him the file. Another problem I faced was when I wanted to transfer the contents of my hard disk to another computer. I had to install Filezilla server on the other computer, and upload the files from one computer to the other.

I feel that its a really cumbersome method of transferring files in the same network. Mobile phones have bluetooth, and a file can be sent to another mobile very easily without any fuss. Does anyone know whether any such program exists already? If not, I want to write such a program that will allow one user to add another user to a personal network, and send or recieve files and/or communicate in other ways. The only language I know is Python (self-taught). I was wondering what GUI framework to use. I've never written a GUI program before, and would like to hear your opinions. This will be a very basic program, and must be able to run on many platforms.

View 6 Replies View Related

Programming :: Finding A Cross Platform Library That Allow To Run Another Program?

Aug 19, 2010

Is there any equivalent of WaitFOrMultipleObjects on Linux?

I was finding a cross Platform library that allow you to run another program from your C++ application. I found POCO but it does not support functionality like WaitFOrMultipleObjects for both (linux and windows). I tried boost Process but its not official till now.

View 1 Replies View Related

Networking :: Which Current Model ADSL Modem Router For DD-WRT - OpenWRT Or Tomato?

Mar 25, 2010

What are the pros and cons of various current model ADSL modem routers for use with DD-WRT, OpenWRT or Tomato? There are, of course, hardware compatibility lists (HCLs) for each of these (DD-WRT, OpenWRT and Tomato) but many of the models are no longer available and there are so many that researching them all would be onerous. Many pages on the Internet recommend the WRTG54L and that would be great but it is no longer an option except second user which is increasingly difficult. What are the pros and cons of the various chipsets: ADM5120, AR7, IXP4xx and BCM63xx?

View 4 Replies View Related

General :: Check_NRPE From Ubuntu Server To OpenWRT Router - Connection Refused By Host

May 23, 2011

I am trying to monitorize an OpenWRT (Backfire 10.03, r23115) router from an Ubuntu server, but I am having some problems. I have installed Nrpe (2.12) on the remote host (OpenWRT), I have executed the program as a deamon (/usr/sbin/nrpe -d) but when I start the NRPE deamon, I don't get anything about NRPE executing netstat -at or ps -ef.I would need to install check_nrpe on OpenWRT to find out if NRPE is working, but I can't find any ipk package with it. Now, once in the monitoring host when I try to reach the remote host from the server:

/usr/local/nagios/libexec/check_nrpe -H ip_remote_host

I get: Connection refused by host

Even, trying with localhost:

/usr/local/nagios/libexec/check_nrpe -H localhost

I get the same error: Connection refused by host

I have installed Nagios Plugins and the check_nrpe plugin. I have edited the /etc/nrpe.cfg file:

allowed_hosts=127.0.0.1 ip_server

I don't exactly know if it is remote host's fault, monitoring host's fault or both.

View 14 Replies View Related

Programming :: Use G++ To Compile QT Program?

Dec 26, 2010

My Fedora 14 have installed gcc-4.5.1-4.fc14.x86_64,qt-4.7.1-5.fc14.x86_64,
I don't know how to use g++ to compile QT program.
Do I need to set PATH or something else?

View 5 Replies View Related

Programming :: Compile A Program With Gtkmozembed?

Apr 21, 2010

i am not able to compile my test program which uses gtkmozembed.As i am very new to this, i dont know which are the packages to be installed and how to compile

[Code]...

View 1 Replies View Related

Programming :: How To Compile Program For Windows

Feb 10, 2010

I have a c program and its related libraries for Linux. But, I need a EXE file to run in windows.

please let me know how to compile the program for windows

View 8 Replies View Related

Programming :: C++ Compiler(G++) Comes Up With Error When Try To Compile A Program Using Qt

May 26, 2010

I am using the C++ compiler G++ to compile my programs on Linux Mint 8 - Gnome.

I recently installed QT and when I tried to compile a simple "Hello World!" program it gave me this error:

Quote:

This is the code in HelloWorldQt.cpp:

Code:

I have tried using GTK instead but I get a similar error.

View 7 Replies View Related

Programming :: How To Compile Libipq Sample Program

Feb 26, 2010

I want to capture the ip packets, so i installed

I am getting the following errors.

View 7 Replies View Related

Programming :: Can't Get The Character That Have Initialized Used Gcc4.5.2 To Compile Program?

May 21, 2011

I write a small program to learn overflow. But when I input more than 5 characters (exceed the boundaries of the buffer),I can't get the character that I have initialized. I used gcc4.5.2 to compile this program. Then I used gdb to debug it. I found that when I input more than 5 characters, the variable 'test' was set to 0(ASCII code or '00').

[Code]...

View 8 Replies View Related

Programming :: Compile And Build Program Using A Makefile Template?

Jul 8, 2011

I am new to the whole concept of makefiles, and I'm trying to compile and build my program using a makefile template I have found. My project consists of three directories: "source", where my .cpp files are (source1.cpp, source2.cpp, source3.cpp), "include", where my .h files are (header1.h, header2.h, header3.h), and "obj", where the object files are to be stored (obj1.o, obj2.o, obj3.o). In the project root directory is my makefile, which is as follows:

Code:
EXEC = myexe
CC = g++
IDIR = include
SDIR = source
ODIR = obj

[Code]..

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

Programming :: Python - Call Function From The Command Line After Compile The Program?

Dec 28, 2010

If i have a python file with a function call_me(a,b),how can I call this function from the command line ,after i compile the program?

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

Programming :: Compile C++ Program Without Changing #include Line & Header Files Not System?

Apr 3, 2011

I have C++ source code(*.cpp) files that expects it's header files in System's include folder which is/usr/include.The cpp files has include lines like this:

Code:
#include <some.h>
#include <another.h>

[code]...

View 3 Replies View Related

Programming :: Handle Own Made Include Files In Order To Compile Program In SUSE 11.3?

May 1, 2011

I have made two source files named as sum.c and average.cI have included sum.c in average.c
both files in Documents directory.when i compile average.ot followingerror"average.c:4:22: fatal error: sum.c: No such file or directorycompilation terminated.How to solve this issue?I have tried to copy sum.c to usrinclude folder but unable to copy

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

Fedora Networking :: Fedora Locks Up Connecting By Wireless To OpenWRT Router

Nov 16, 2009

I dual boot Windows/Fedora 11 on my Dell Latitude D830 laptop, which has an Intel PRO/Wireless 3945ABG card and I have just bought a Linksys WRT160NL wireless router. I am currently trying to set up OpenWRT linux on the router. Because of the nature of my problem I have also posted this on their forum.I am having trouble connecting to my OpenWRT install via Fedora. Things seem okay in Windows, but when I try to connect from linux my laptop locks up completely and I have to hard reboot. I previously have never had any trouble connecting to any other router with this install of Fedora.

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

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

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







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