Software :: Cross Compiling Sqlite3 For Arm 7 Processor?

Nov 22, 2010

i am trying to cross compile sqlite3 with following options(i got these options from previous threads in these forum)./configure --host=arm-linux CC=/usr/local/arm-linux/bin/arm-linux-gcc AR=arm-linux-ar STRIP=arm-linux-strip RANLIB=arm-linux-ranlib while executing make command i am getting following error

rm -fr .libs/libsqlite3.so .libs/libsqlite3.so.0 .libs/libsqlite3.so.0.8.6
/usr/local/arm-linux/bin/arm-linux-gcc -shared .libs/sqlite3.o -ldl -lpthread -Wl,-soname -Wl,libsqlite3.so.0 -o .libs/libsqlite3.so.0.8.6

[code]....

View 5 Replies


ADVERTISEMENT

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

Ubuntu :: Cross Compiling Software For Arm ?

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

Software :: Cross Compiling Libupnp Sdk

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

Software :: Cross Compiling Udev For ARM

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

Slackware :: Cross Compiling For Arm With Buildroot ?

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

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

General :: Cross-compiling To Target System?

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

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

General :: Cross Compiling GCC For Power PC MPC8260

Mar 2, 2011

We want to use GCC for cross compiling C source code for POWERPC MPC8260 target. How do we build cross compiler in windows?

View 3 Replies View Related

General :: Cross Plat Form Compiling

Feb 21, 2011

I developed a test program(my first under linux) some thing like g++ -I$(BOOST_INCLUDE) -L$(BOOST_LIBS) threading.cpp -lpthread -lboostThread -lOtherLib -o threadingTest.out...This thing works in GCC4.5, but to compile it under windows visual studio 2008, do I have to create a new project file and then include all libs?
In short, is there any IDE or utility, where I just compile it either on linux or windows without going and modifying project options again and again ?

View 1 Replies View Related

Software :: Cross Compiling Sqlite On Arm9

May 28, 2010

i am trying to compile too the sqlite for arm9 - mini2440.could you please tell me what was the steps you make? im read that book but im still having some trouble while i compile i have been trying to do the compilation.

View 3 Replies View Related

Software :: Cross-compiling With MinGW In Debian

Jan 14, 2011

I need a tutorial on using mingw in Linux to compile programs for windows.

View 1 Replies View Related

Software :: Gentoo IBook G3 Cross Compiling?

Feb 1, 2010

I have been installing gentoo on my desktop for the past few weeks. (Not a whole lot of time to get to it) and I must say that I wished I had made the move a whole lot earlier. Anyway, my next canididate for gentoo would be my ibook g3 which has a slow processor. I have heard that for these systems cross compiling is a lot better of an option than compiling on the system itself. I have read the cross-compiling guide and am left a bit confused. Could I use my thumbdrive to transfer compiled binaries from my desktop to my laptop and install the packages that way? Also, what would I do when updates come out for my laptop. Is there any way of monitoring the package statuses?

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

Debian Programming :: Cross-compiling A Kernel For I386-elf

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

Fedora :: Getting Error While Cross Compiling Kernel On 14 Host

Feb 9, 2011

I am cross compiling a linux kernel for the mips platform. I have installed the tool chain and everything. When i try to build the kernel i get the following error message.

HOSTCC -static scripts/basic/fixdep
scripts/basic/fixdep.c: In function traps
scripts/basic/fixdep.c:377:2: warning: dereferencing type-punned pointer will break strict-aliasing rules
scripts/basic/fixdep.c:379:4: warning: dereferencing type-punned pointer will break strict-aliasing rules
[Code].....

If i set up the toolchain on a fedora 13 machine with the exact same procedure, the cross compilation works fine. I can't figure out how this can be fixed. I am currently considering downgrading to fedora 13 due to this.

View 3 Replies View Related

Software :: Cross Compiling Works With Dependencies Arm9 Cpu?

Jul 5, 2010

I'm a newbie when it comes to embedded linux / cross compiling. Never had to have anything to do with it b4 I bought my NAS. The Nas only has a 500MHZ ARM9 so compiling anything is painfully slow. Also only has 128MB ram. I managed to cross compile the kernel but am not sure how would you cross compile something like HPLIP for example.

View 1 Replies View Related

Software :: GDB Compiling Error For ARM Processor

Jan 4, 2010

When I compiling gdb for ARM processor I am getting this error as:

Code:
checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for library containing waddstr... no
configure: WARNING: no enhanced curses library found; disabling TUI
checking for library containing tgetent... no
configure: error: no termcap library found
make[1]: *** [configure-gdb] Error 1
make[1]: Leaving directory `/mnt/freescale/sources/gdb-7.0'
make: *** [all] Error 2
sharief@sharief-desktop:/mnt/freescale/sources/gdb-7.0$

What will be the error. I think the termcap library is not there. I downloaded and cross compiled tremcap library but still it is not working.

View 1 Replies View Related

General :: Cross Compiling For X86 X86_64 / RHEL / Ubuntu / SLES?

Apr 15, 2010

I wonder if there is an easy way to accomplish the following: I made a tool and part of it needs to be compiled. It would be easy if I can automate compilation for multiple platforms (x86 / x86_64 / RHEL / SLES / Ubuntu). Is there a way to do this automated on a single host? Or should I set up an os for each distro? Also is there a way to generate RPM and deb files also on the same host without having to edit the meta files each time a version changes?

View 11 Replies View Related

General :: Cross Compiling A Driver On Fedora12-i686 For The Target Ppc860 Using ELDK Toolchain

Dec 31, 2010

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.

View 1 Replies View Related

Software :: Cross Compiling Software - With A Proprietary Toolchain - Unrecognized Host Platform?

Feb 28, 2011

We have a device here at work running an Arm processor, I have a cross-compiler for the device, it was distributed to our company with the linux distribution we are using on the device (montavista linux). I would love to be able to cross compile some software for this device, however, I really suck at this kind of thing.

Whenever I try to cross compile software, I usually get an error like "unrecognized host platform" (I'm paraphrasing obviously), but the toolchain is not that much different from a generic Arm toolchain, just with some extra libraries installed and stuff. I tried using other arm toolchains, but those are a crapshoot, they compile fine, but they don't always run correctly on the device (for instance, busybox).

The reason I get the unrecognized platform error is because the toolchain has a weird prefix on it (arm_v5t_le-) which the configure script can't handle, but if it would just try to cross compile it like it does with other arm targets, it would work fine. How do I make it work?

View 6 Replies View Related

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

Software :: AMD Processor Fedora Doesnt Support AMD Processor?

Jan 5, 2010

i have installed ubuntu in my laptop.since i have AMD processor fedora doesnt support AMD processor..the recent version fedora 12 supprots AMD processor.i am doing my final project in ns2 hence it should support tht too!!! Which is the best choice to override ubuntu grub fedora 12 or redhat linux.

View 3 Replies View Related

General :: Running Sql Script Under Sqlite3?

Jun 16, 2010

I have been given a sql script with SQL commands in it to set up a new sqlite3 db. How do I run such a thing?

View 1 Replies View Related

Software :: Get Sqlite3 Working With Wordpress 2.9.2?

Mar 20, 2010

I am running Debian 5.0 (Lenny). I am trying to get Wordpress 2.9.2 to work with Sqlite3. I hear Sqlite is a better database server than MySql because it is lighter on resources and is much smaller. I am very new to Sqlite3, however, so I'm not totally sure what to do here. In my wp-config.php file (the Wordpress configuration file), I've set the database name and user name, and such. Now, I think I know how to create a database, but from that point forward, I'm lost. How do I add the password for Wordpress to access the database. By the way, I made a regular Unix user, called sqlite, for all Sqlite things.

View 1 Replies View Related

Software :: Yum Fails With Sqlite3.OperationalError

Feb 22, 2010

I am using fedora 10, and everything was working fine till yesterday, i was using yum and my system is updated with yum update as well. Then yesterday i build new kernel from source 2.6.32, and today i boot with that kernel. Now my yum doesnt work.

it gives following error message.

Code:
[root@localhost Download]# yum provides libpulse
Loaded plugins: refresh-packagekit
rpmfusion-free

[Code]....

View 2 Replies View Related

Fedora :: Compile And Test Sqlite3 With DSQLITE_ENABLE_UNLOCK_NOTIFY?

Sep 11, 2010

Whats best way to compile and test Sqlite3 with DSQLITE_ENABLE_UNLOCK_NOTIFY?

View 1 Replies View Related

Software :: Can't Connect IReport To SQLite3 Database

Aug 13, 2009

I am trying to replace my Widows work station with Linux, I am now down to two applications. One is close to being resolved (it's a hardware connector between two pieces of equipment) and the other is replacing Crystal Reports with JasperSoft iReports.

I have been progressively hammering away at this for several months now. And still no progress. All I need to do is connect the stupid report software to my SQLite database.

Now, no I cannot move to another database. This is the solution I have and that's it. I know someone will suggest MySQL or some other db... not in the cards not in this time frame. I have over a year invested in the application/database and have already deployed it for use. And I just don't have the time needed to re-write my application to connect to another database then move all my tables and data over to another database then go through the entire testing cycle again. Okay I think that horse is dead and the position clear.

System Specs:
OS: OpenSuSE 11.0 x86_64
Desktop: KDE 3.5.9 "release 49.1"
CPU: AMD Athlon 7750 Dual-Core
Drives: 3 SATA

[Code].....

And it shows up in iReport after I point to it... but then I get this error from iReport when I try to connect to my DB.

"Unable to add connection. Cannot establish a connection to using org.sqlite.JDBC (Unable to find a suitable driver)."

I have been all over the web and haven't found any clear instructions or directions on where these drivers are stored, how to properly add a driver or how to connect iReport to SQLite... and according the iReport web site I can...

View 14 Replies View Related







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