Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Pages: 1
LinuxMCE is a very cool home automation & media control project, with 'follow-me' media, and a gyro-based navigation of media. I am porting all the media modules to run on the D-Link NAS. I haven't compiled for this platform before.
I took the mysql package that was already prebuilt for it ( in fun_plug 0.5) and is working fine, but I need to build the dev packages in order to compile the other linuxmce sources, and I'm having trouble finding out exactly how to do this.
Does somebody have the step by step instructions for building mysqlclient-dev for this? If somebody is able to help me, I can give him ssh access to my build system.
I'm using an Ubuntu Gutsy 64b, I've compiled the tool chain. I've found the libmysql15-dev.arm.deb but is for Debian Sarge
Any help would be really appreciated.
Thanks,
CJ
Offline
cj_man wrote:
need to build the dev packages
What's the 'dev packages'? If you're looking for header files, have a closer look at the mysql package you've just installed.
Also, I will delete your account if you ever again post the same question more than once.
Offline
I've compiled mysql according to this thread http://dns323.kood.org/forum/viewtopic. … 37&p=1
also downloaded prebuilt debian sarge libmysqlclient-dev16 from http://ftp.de.debian.org/debian/pool/ma … -1_arm.deb
but with both of them I've got segmentation fault at compile time
"arm-linux-g++ -shared -fPIC -Wall -Os -D_GNU_SOURCE -I./ -I../../ -I../ -I../DCE/ -I../../DCE -I../VIPShared/ -I../../VIPShared -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUSE_LZO_DATAGRID -I/home/DNS323/GPL/mysql-5.1.23-rc-linux-arm/include/mysql -DUSE_MYSQL_WRAPPER -o libPlutoUtils.so CommonIncludes.o FileUtils.o MultiThreadIncludes.o Other.o ProcessUtils.o StringUtils.o DatabaseUtils.o getch.o md5c.o minilzo.o uuencode.o LinuxSerialUSB.o ThreadedClass.o LZO.o ../db_wrapper/db_wrapper.o ../db_wrapper/ClientSocket.o ../db_wrapper/Socket.o -L/home/DNS323/GPL/mysql-5.1.23-rc-linux-arm/lib/mysql/ -lmysqlclient
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
/home/DNS323/GPL/uclibc-toolchain-src-20040609/gcc-3.3.x/toolchain_arm/lib/gcc-lib/arm-linux-uclibc/3.3.3/../../../../arm-linux-uclibc/bin/ld: BFD 2.14.90.0.7 20031029 assertion fail /home/DNS323/GPL/uclibc-toolchain-src-20040609/gcc-3.3.x/toolchain_build_arm/binutils-2.14.90.0.7/bfd/elf32-arm.h:3782
make: *** [libPlutoUtils.so] Error 1"
"arm-linux-g++ -shared -fPIC -Wall -Os -D_GNU_SOURCE -I./ -I../../ -I../ -I../DCE/ -I../../DCE -I../VIPShared/ -I../../VIPShared -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUSE_LZO_DATAGRID -I/home/DNS323/GPL/mysql-5.1.23-rc-linux-arm/include/mysql -DUSE_MYSQL_WRAPPER -o libPlutoUtils.so CommonIncludes.o FileUtils.o MultiThreadIncludes.o Other.o ProcessUtils.o StringUtils.o DatabaseUtils.o getch.o md5c.o minilzo.o uuencode.o LinuxSerialUSB.o ThreadedClass.o LZO.o ../db_wrapper/db_wrapper.o ../db_wrapper/ClientSocket.o ../db_wrapper/Socket.o -L/home/DNS323/GPL/temp/libmysqlclient16/usr/lib -lmysqlclient_r
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
/home/DNS323/GPL/uclibc-toolchain-src-20040609/gcc-3.3.x/toolchain_arm/lib/gcc-lib/arm-linux-uclibc/3.3.3/../../../../arm-linux-uclibc/bin/ld: BFD 2.14.90.0.7 20031029 assertion fail /home/radu/DNS323/GPL/uclibc-toolchain-src-20040609/gcc-3.3.x/toolchain_build_arm/binutils-2.14.90.0.7/bfd/elf32-arm.h:3782
make: *** [libPlutoUtils.so] Error 1"
Offline
Sorry about posting but I'm trying to solve this for two days now:(
I was referring at the headers
mysql.h
libmysqlclient.so
libmysqlclient_r.so
The sources that I need to compile need to be linked to libmysqlclient_r
ifeq ($(ARCH),arm)
CXX = arm-linux-g++
CXXFLAGS = -fPIC -Wall -Os -D_GNU_SOURCE
CPPFLAGS += -I/home/DNS323/GPL/mysql-5.1.23-rc-linux-arm/include/mysql
#LDFLAGS += -L/home/DNS323/GPL/mysql-5.1.23-rc-linux-arm/lib/mysql/ -lmysqlclient_r
LDFLAGS += -L/home/DNS323/GPL/temp/libmysqlclient16/usr/lib -lmysqlclient_r
endif
Thanks.
Offline
cj_man wrote:
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
Are you compiling in a debian chroot running on Linux 2.6.12.6? It's likely a problem with the kernel. I've had such problems, too. Seems to work fine with 2.6.25.1 kernels.
Don't know about the debian packages, but header files and libmysqlclient_r are definitely included in forre's mysql packages:
http://81.216.140.39/dns-323/mysql_and_php/
http://dns323.kood.org/howto:ffp
Offline
I'm compiling using the GPL toolchain. I want to make those work as a fun_plug. I have installed fonz plugging and mysql
Offline
cj_man wrote:
I'm compiling using the GPL toolchain. I want to make those work as a fun_plug. I have installed fonz plugging and mysql
if that means you're really cross-compiling (i.e. compiler not running on your dns-323), then you've got a problem with your cross-toolchain and/or your linux installation.
Offline
Can please someone help me compile this files:
http://svn.linuxmce.org/pluto/trunk/src/SerializeClass/
http://svn.linuxmce.org/pluto/trunk/src/PlutoUtils/
http://svn.linuxmce.org/pluto/trunk/src/DCE/
http://svn.linuxmce.org/pluto/trunk/src/MessageSend/
http://svn.linuxmce.org/pluto/trunk/src/UpdateMedia/
Thanks.
Offline
Pages: 1