Programming :: Sms Server Tools Cross Compiling Sms Server Tool For An Embedded Computer And Make Just One Binary File For It?
Mar 27, 2010
I wanted to know how can I cross compile SMS SERVER TOOL for an embedded computer and make just one binary file for it or how can I change all of its default files places like its demon and object file and gather all of them to one directory to execute and use and run.let me explain it better for you : I have an embedded computer with Linux OS that its file system is read only and I can not add any file to /usr /lib and ..... and I can just mount a SD memory card to it and copy all of my programs to it and run them from there as you understand I have two choices to choose, first make one big binary file for each program that I am doing it now and it is not a suitable solution and the second is finding the way to change default place of shared object file of my program.now you tell me what can I do to solving this problem.
View 1 Replies
ADVERTISEMENT
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
Dec 7, 2010
My assessment is making a tree from a text file as follows: -reading a file line by line
-making a binary tree from it
- traverse by level the binary tree
- posting the traversal result to the same file without overwriting the text file- it is required to be append to the bottom of the text file (i have to do this in 4 languages: c#,PHP from Xampp,java, python)
i read the file with this script in java:
public class FileToStringArray {
privateString strLine;
privateString[] stringArray;
privateFileInputStream in;
[Code]...
View 9 Replies
View Related
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
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
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
Nov 14, 2013
I just finished building a cross-compiler for i386-elf. But when I try to use it, the terminal gives me this error:
Code: Select all/home/isaac/Cross-compiler/lib/gcc/i386-elf/4.8.2/../../../../i386-elf/bin/ld: cannot find crt0.o: No such file or directory
/home/isaac/Cross-compiler/lib/gcc/i386-elf/4.8.2/../../../../i386-elf/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
View 13 Replies
View Related
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
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
May 5, 2011
Is there any Linux utility to combine two or more binary files into a single binary file ?
View 7 Replies
View Related
Nov 17, 2010
When I try to compile some Java code on Ubuntu 10.10 (kernel 2.6+) using make and a Makefile.
I get an error indicating that the make utility cannot execute the java compile command (javac).
The error reads: /bin/bash: line 6: .: /usr/local/jdk1.5.0_18/bin/javac: cannot execute binary file
I am executing make as root. I have enabled permissions on all directories in the path /usr/local/jdk1.5.0_18/bin/javac and on javac itself.
I get this error whether using a jdk installed via ubuntu apt-get, or whether I install the jdk myself. And I get it using either Java 1.5 or 1.6
My machine has an 80386 processor. I notice the make utility is built for i686-pc-linux-gnu
However, I can manually compile using javac.
I can compile calling javac from within a bash script.
I can compile using the java compiler gcj from the command line: gcj --main=HelloWorld HelloWorld.java -o HelloWorld.exe
But I cannot compile java code from the makefile. Any reasons why I might be getting this error?
View 4 Replies
View Related
Jun 14, 2010
I am having problems with scp during a backup operationI added a ps -ef before and after the scp operation used during the backup.The backup is a script to backup a Zimbra ServerI am including the code segment that I am having problems
Code:
# DRCP Section. To scp newly created archives to a remote system
if [ "$DRCP" = "yes" ]
[code]...
View 3 Replies
View Related
Oct 13, 2010
When im typing any command its giving error -bash: /bin/ls: cannot execute binary file. how to resolve this im using fedora 13.
View 11 Replies
View Related
May 18, 2010
There is this server running squid and dansguardian as proxy for the local network. Everything is working fine. But I have seen that from time to time the danguardian dies out and fails to respond to shutdown or restart commands. And this is because of the binary located at /usr/local/sbin named dansguardian goes empty. There are multiple instances and hence copying another named dansguardian.2 to dansguardian does it. And dansguardian works normally as it should. Looked into dmesg and /var/log/messages but nothing there. It was compiled and not installed from pre compiled binaries. And runs on CentOS5.4 Final.
View 3 Replies
View Related
Jun 3, 2010
I want to learn how to create computer software/programs. I want to be able to design them to be cross platform (Win32, OSX, Linux). I was wondering if anyone knows what kind of courses I need to take for this? And would it be possible to study by myself and learn it for free?
View 13 Replies
View Related
Jul 16, 2010
I am working on a NFS server embedded on a PowerPC plateform (4650EX, 512Ram, 1 GB Ethernet) but i can't mount my exports folders from my client. Here are messages :
[Code]...
View 2 Replies
View Related
Mar 2, 2011
I am doing a migration and where i face problem with few file formats . I have the list of acceptable file formats , now i need to find the rest of the file formats other than the acceptable file formats. is there any tool available for this ? or can some give me the VBA macro .. My VBA macro works to find the file extension in a particular folder but the problem is its ending when the count increases to 65000 (excel limit). How do i use If condition here to avoid the acceptable format and give me unique file formats .
[Code]....
View 1 Replies
View Related
Sep 11, 2010
I am looking for tools for static/dynamic code analysis for embedded Linux system development (both device driver and user space apps). We will use Eclipse IDE and C++ lanuage. I hope the tools are easy-to-use, reliable, popular, better with good
supports, and not-too-expensive. I already find a list of tools at WiKi, however, I don't have time to try them all. Could anyboy please recommend me a few? If you can tell
me briefly about their pros and cons, that will be the bet.
View 1 Replies
View Related
Feb 18, 2010
In a project I'm working on with a few other people, I got the task of writing an assembler. The last thing I do is convert the commands into a binary representation, and jam it into a file. Now one of my teammates said he'd like to be able to "reference" the code within another program. He said he'd be able to do this if the file I output is a Linux object file. I'm thinking it'd also work as an executable. Anyway, he said he'd like to be able to grab the file and reference the binary by address. I'm still fuzzy on this, and if you're confused with what I said here, please tell me so I can ask him for better details.Anyway, I'm aware that gcc can compile files to ".o", but that's only for C/C++, and my file is just binary. I'm also aware of "ld", but I haven't seen any use of it to help me. I'm happy to hear suggestions as to what I can do. If anything, I think I'll implement a few functions to grab the bits and hand them to him in an array or something.
View 8 Replies
View Related
Jul 16, 2009
I am trying to compile systemc. Configuration is done OK and Makefiles are created. As soon as the "make" command i issue, recursively reaches the "utils" directory, errors are produced -declaration and include errors.
The files referenced by the errors DO exist and i hava managed to give g++ "-I ${LD_INCLUDE_PATH}, ie the variable, where all header dirs are listed. Libraries and compilers for gcc3.3 and g++3.3, i believe, are installed OK. code...
View 4 Replies
View Related
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
Sep 20, 2010
I am trying to cross compile a package from source for an embedded arm board, however I am not having much luck creating an arm binary.
After running make, this is what I get:
View 3 Replies
View Related
Jul 2, 2009
I'm trying to compile the upnp sdk for the arm-linux card (which uses atmel processor at91rm9200), but it doesn't work!
View 1 Replies
View Related
May 15, 2011
I try to cross compile udev-160 for arm.I use the buildroot toolchain.I work on a PC i386 with the Debian system.I started by running "configure" script to generate the makefile:$./configure --host=arm-linux
but I obtain the following error :checking for acl_init in -lacl... no configure: error: libacl not found
I don't know how to install the libacl for ARM. I can't found the libacl when I configure the buildroot toolchain.
View 3 Replies
View Related
Jan 27, 2011
I'm trying to build some boot and kernel images for my WD Mybook world edition, which uses an arm processor on my x86_64 host box. Ultimately i'd like to install slackarm. Lilo doesn't work on arm so you have to compile your own kernel and have the bootloader statically linked to kernel inorder to boot the OS. So i'm using my slackware install to cross compile the boot loaders (u-boot) and kernel image (uImage).
I've successfully compiled the buildroot environment which has generated the arm-linux-* binaries, eg, gcc 3.4.2 for arm.
Code:
These are in a build folder (shortened in text below), which i add to my PATH
Code:
I then move to the directory where i want to build the stage1 boot loader, which is supplied in the GPL code from WD.
Code:
However the build fails with a segfault, which looks to be caused by the incorrect libraries and compiler being used:
Code:
It seems to be using my x86_64 libs and gcc 4.4.4 which is the host compiler not the target.
I've tried setting ARCH=arm but got the same results.
Do i need to export some additional variables or unset some to prevent the host files being used instead of the targets?
View 3 Replies
View Related
Sep 11, 2010
I am looking for tools for static/dynamic code analysis for embedded Linux system development (both device driver and user space apps) with ARM-based processor. We use Eclipse IDE and C++ lanuage for development. Does anybody have recommendation for tools to analyze code complexity? The tools is better to support McCabe complexity metric, however, we may also consider others. Does anybody have recommendation for unit testing?
View 1 Replies
View Related
Jan 15, 2010
I need to use xdelta tool in my shell script for creating and patching diff files. My PC Linux environment (Ubuntu) has a package installer, and when I try typing xdelta on my commandline, it prompted to try "sudo apt-get install".. after which it directly accessed the packages from the Internet and installed it. So I am able to use xdelta from the command-line in my Ubuntu environment.
I need to also use xdelta on my target. I am using a NFS. The bootloader and kernel are on the target and the RFS is referred from the PC. How can I install the xdelta package on my target so that it recognises the command xdelta. On Ubuntu, "sudo apt-get install", fetched the below packages:[URL]..
View 1 Replies
View Related
Jun 24, 2011
Do you guys know any free tools to monitor a server ? Something like Nagios or Zenoss but free. If so what's a good one that you guys would recommend ?
Can it be setup on 3 ubuntu servers running KVM ?
View 3 Replies
View Related
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
Jul 22, 2010
I 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.
View 2 Replies
View Related