Programming :: How To Compile Mysql For Arm9 Linux
Jan 3, 2011I want to compile mysql for arm9 linux box, I did not find any good resource.
View 5 RepliesI want to compile mysql for arm9 linux box, I did not find any good resource.
View 5 RepliesIs there any difference between an ARM7 toolchain and an ARM9 toolchain? Or is it all ARM toolchain can be used to compile for these different processors.
View 5 Replies View Relatedi wanna do somthing in this can any one help me how i have to start with linux and how to proside to develop some small applications its very much essential for me. give me a guide path with that i have to get things ASAP.
View 1 Replies View RelatedI am new to kernel development,and I have to compile a kernel with some specific features and then install it on some machines.The problem is that these machines are slow,and hence I want to compile them on a fast desktop once and then install them on the machines.I am following this guide from Ubuntu wiki.
So what I plan to do is, download the source and generate a config file on one of the slow machines, copy both to the faster machine, generate the image on the faster machine and then install it on all the slow machines. The slow machines are almost identical (same cards, processors, OS etc.) but different from the fast machine(different OS and processor). So will this work or not?
I have a driver source which includes linux/module.h.The following error occurred during compile.the kernel source is: 2.6.33.6-147.2.4fc13.i686the compiler is: gcc-4.4.4-2.fc13.i686
In file included from /home/joseph/rpmbuild/BUILD/kernel-2.6.33/linux-2.6.33.i686/arch/x
86/include/asm/cmpxchg_64.h:4,
from /home/joseph/rpmbuild/BUILD/kernel-2.6.33/linux-2.6.33.i686/arch/x
[code]....
I've compiled the last stable ubuntu kernel (2.6.38-...) following this guide: How to compile a Ubuntu 10.10 kernel but in this guide doesn't explain how create linux-libc-dev package for that kernel? How do I do?
I've tried with fakeroot debian/rules binary-arch-headers but it returns an, IMHO, absurd error:
mkdir /home/simon/sources/kernel/ubuntu-natty/debian/linux-libc-dev/usr/include/
mkdir: cannot create directory `/home/simon/sources/kernel/ubuntu-natty/debian/linux-libc-dev/usr/include/': File exists
make: *** [install-arch-headers] Error 1
The error is correct but this folder is created in the same process!
I'm missing some features only available from MySQL 5.5.6 and therefore neither Debian's archive or dotdeb supports my needs Is it difficult (link / guide) to compile MySQL myself from my Mac or virtual debian and then distribute it to my servers, will it likely cause more problems and will I be able to compile upgrades later or change back to Debian archive (or dotdeb) when they are releasing a sufficient version? I've been administrating my servers for 2 years now and have some knowledge how things is working :-)
View 1 Replies View RelatedI'm having a hard time getting part of Asterisk (the open source PBX) called asterisk-addons to compile with mysql CDR support which I need to enable Realtime I believe. I've spent the whole day trying to fault find this one (including thinking I had ruined my box and creating a new CentOS build!) and am pretty worn outWhen I attempt to install asterisk-addons (I've tried 1.6.0.1, 1.6.0.1-patch and 1.6.1.0-rc3), I get the following line in a ./configure:
checking for mysql_config... /usr/bin/mysql_config
checking for mysql_init in -lmysqlclient... no
Then when I do a make menuselect, MySQL is not selectable and XXX"d out:
[code]....
Attempting to compile an application that is not located in any of the repos yet for 11.3 64 bit. I have downloaded the appropriate src and untarred it. However, when I attempt to run the ./configure command here is the error I receive. checking build system type... Invalid configuration `x86_64-unknown-linux-': machine `x86_64-unknown-linux' not recognized configure: error: /bin/sh ./config.sub x86_64-unknown-linux- failed
I have made sure that I have all kernel-headers packages installed and am unsure as how to proceed. I tried using the command "./configure --build=x86_64" and then receive an error stating that the "SYSTEM IS NOT SUPPORTED" and continued errors stating that gcc is not installed, eve though it is.
I am trying to work on mobile phone programming in Linux platform using C language. Can somebody guide with this? I tried to search the web but I didnt get appropriate site.Also guide me about the mobile phones compliant with linux platform for programming using C language.
View 5 Replies View Relatedi installed linux OS on my lpc3131 board with kernel 2.6.20. I want to install gcc to my board in order to compile codes without cross compiler or auxilary PCs. But i think it must be different then installing gcc rpm on Fedora PC or untar and make gcc, I dont know what i must do. what release or version of gcc should i download and what kind of changes must i do in Makefile.
View 5 Replies View RelatedI wrote a code in C to connect to MySQL by using mysql_real_connect function but I recieved error "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)" (by using mysql_error function).
I also did the following things: in mysql I typed 'SHOW VARIABLES LIKE '%SOCKET%'', it returned /var/lib/mysql/mysql.sock I typed 'mysql_config --socket' in shell, it returned /var/lib/mysql/mysql.sock I modified /etc/my.cnf file
But started to develop Embedded linux in ARM9 controller.
View 12 Replies View Relatedi 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 Relatedi am using classpath-0.98,jamvm-1.5.4 and arm9 cortex processor. so my question is after install classpath and jamvm on arm9 , i am getting around 30MB FAT file. so tell me some tips how to reduce the size of FAT file as much as possible.
View 1 Replies View RelatedI'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 RelatedBack at uni I used to love programming in assembly, we used ARM processors and some pre-made boards. Anyway, I'd like to try and get back into it, so I have acquired some basic electronic components, some prototype board, a couple of 12F675 chips and a JDM serial programmer.Now, whilst I could run this from my works laptop on Windows, I'd far prefer to use my Linux desktop! (of course!) I'll be using my favourite editor to write the code so not bothered about an all singing and dancing IDE.I have a couple of questions...
1) What can I use to assembly/compile the source code? Does gcc have any support? If not, can someone recommend a free assembler, ideally command line?
2) Is there any good simulator software out there (I've found a few but not found people who have actually used them)? It would be useful to be able to run the code through a simulator before actually uploading to the chip - saves time and effort uploading something to find I've missed a command out!
3) Any useful links, tutorials, forums?
4) Any other resources? Like I said, I can (or at least used to be able to! ) write code for an ARM chip but the instruction set it different for this. I can easily pick up languages though so not too bothered about learning from scratch. I know people will say use c, but I'd far prefer to go down the ASM route, just for my own benefit and enjoyment!
This isn't for any particular project, it's just a hobby - once I've got a sound grounding then I'll start looking at a few more elaborate things!
i want to pass variable in mysql qyery in c programming
View 1 Replies View RelatedWe are using LPC3250 ARM9 and LTIB for building the Linux 2.6.27.8 We have written some code to access GPIO and was working earlier with opensuse 9.0 We now have fedora 11 32 bit 2.6.30.10-105.2.23.fc11.i686.PAE When we make the program we get following errors we are using GCC3.4.5
#make -C /lib/modules/`uname -r`/build M=`pwd` modules
make -C /home/shekhar/lpc3250/ltib/rpm/BUILD/linux-2.6.27.8 M=`pwd` modules
make[1]: Entering directory
`/home/shekhar/lpc3250/ltib/rpm/BUILD/linux-2.6.27.8'
CC [M] /home/shekhar/samsung_lcd/gpio/char.o
cc1: error: invalid option `64'
[code]....
I compiled dropbear with arm-linux-gcc version:Quote:
arm-linux-gcc -v
Using built-in specs.
Target: arm-none-linux-gnueabi
[code]....
I am following this tutorial:But I just can't get it to compile. What do you think is wrong?
Code:
$ nasm -f elf -o loader.o loader.s
[michael:test]$ gcc -o kernel.o -c kernel.c -Wall -Wextra -nostdlib -nostartfiles -
[code]....
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?
Im looking for a script that could help me create linux users on my server online using a website.Anybody know where i could find one?or how to make it? not the best with coding doh
View 3 Replies View RelatedIm somewhat new at perl and was wondering if there was a way to run a perl script or tool made from perl, from a USB pen that would work both on Linux and on Windows?
View 1 Replies View RelatedI have recently been getting into kernel development and was wondering whether the Linux kernel or BSD kernel would be easiest for newbies (such as myself). Does anyone know? I am really considering BSD because it seems to me to have the best documentation.
View 2 Replies View RelatedI need to measure the time it takes for a program I'm writing to do Its job in microseconds resolution. I'm using Ubuntu 10.10. My Idea is, to write a device driver that directly reads the counter that produces the interrupt of RTC ticks. How do I do this, for a Linux kernel and a PC hardware?
View 4 Replies View RelatedI think this goes here, but I'm not sure. I decided that XAMPP had been troublesome enough. MySQL never worked. So I decided to instal the LAMP stack offered by YaST. I went about installing it thinking that it would all work. But it seems that I was wrong. So I try to start mysql, and here's what I get:
Code:
the-matrix:~ # mysql start
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) or
Code:
the-matrix:~ # rcmysql start
Starting service MySQL warning: /var/mysql/mysql.sock didn't appear within 30 seconds
chmod: cannot access `/var/run/mysql/mysqld.pid': No such file or directory
[Code]...
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]...
compile package C++ with GNU compiler under Linux, I can share my program's
View 3 Replies View RelatedI am unable to compile C++ program in terminal. Whenever I try to add "#include<iostream.h>" it shows an error and thats why I can not use "cout" and "cin" functions. I installed g++ for this but the problem persists.
View 4 Replies View Related