DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-12-19 16:05:05

stefanth
Member
Registered: 2010-12-14
Posts: 63

--host=arm-unknown-linux

Dear sir or Madame

I have a DNS-320 and have started to compile packages on the NAS.
All packages (so far) are fine to compile by first issue

Code:

./configure --host=arm-unknown-linux --enable-dynamic-loading  --prefix=/ffp --libdir=/ffp/lib --includedir=/ffp/include ......

However I downloaded the glibc-2.9 and tried the same but ./confgure reports

Code:

checking sysdep dirs... configure: error: The arm is not supported.

I assume I am using the wrong argument to --host but which should i use?
The compiler toolchain is fonz'es fun_plug


If I remove the '--host=..' form the ./configure line it reports the following

Code:

checking sysdep dirs... configure: error: The armv5tejl is not supported.

Regards Stefan

Offline

 

#2 2010-12-19 16:22:15

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: --host=arm-unknown-linux

Why are you trying to compile glibc? ffp includes uclibc, and your firmware has another version of uclibc or glibc (check for /lib/libc.so.6 or /lib/ld-uClibc*) What's the point in adding another C library?

Offline

 

#3 2010-12-19 16:29:11

stefanth
Member
Registered: 2010-12-14
Posts: 63

Re: --host=arm-unknown-linux

Dear fonz

I was actually trying to compile php version 5.3.4 but it was failing on the fast-cgi ( ....  -lcrypt  -o sapi/cgi/php-cgi)

Code:

ext/iconv/.libs/iconv.o: In function `_php_iconv_strlen':
/ffp/install/php-5.3.4/ext/iconv/iconv.c:615: undefined reference to `iconv'
ext/iconv/.libs/iconv.o: In function `php_iconv_string':
/ffp/install/php-5.3.4/ext/iconv/iconv.c:501: undefined reference to `iconv'

The only tip I found on the internet was to install libc ...
I had already downloaded the fun_plug libc package from http://www.inreto.de/dns323/fun-plug/0.5/packages
but I still got the error messages when compiling php so I thought the libc from the fun_plug was "to old" and
therefore I wanted to download the latest libc and recompile it to see if the php compile went ok.

Regards Stefan

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB