I've used VirtualBoxed Ubuntu 9.04 machine,
1. downloaded snake-os-sdk_0.9.tar.bz2 & samba-3.5.3.tar.gz
2. unpacked to /var/www/snakes/snake-os-sdk & /var/www/snakes/samba
3. executed
export PATH=$PATH:/var/www/snakes/snake-os-sdk/arm-uclibc-3.4.6/bin
# export LD_LIBRARY_PATH=/var/www/snakes/snake-os-sdk/arm-uclibc-3.4.6/
lib
# export LDFLAGS=-L/var/www/snakes/snake-os-sdk/arm-uclibc-3.4.6/lib
# export CPPFLAGS=-I/var/www/snakes/snake-os-sdk/arm-uclibc-3.4.6/
include
# export CC=/var/www/snakes/snake-os-sdk/arm-uclibc-3.4.6/arm-linux-
gcc
Actually i was guessing the paths, as they are not documented and I'm
too nube in linux
4. cd /var/www/snakes/samba/source3
5. ./configure --host arm-linux --prefix=/var/www/snakes/smb
I've got a warning "If you wnated to set the --build type, don't use --
host. if cross compiler is detected then cross compile will be used.'
And an error "error while loading shared libraries: /var/www/snakes/
snake-os-sdk/arm-uclibc-3.4.6/lib/libpthread.so.0: ELF file OS ABI
invalid"
And one more "configure: error: working directory cannot be
determined"
Could you please help of what I can try next?
On May 25, 1:50 pm, Ricardo Gomes da Silva <
cado...@gmail.com> wrote:
> Ryotsuke,
>
> as far as I know:
>
> 0. No, but I cross-compiled Lighttpd, so you may wanna take a look on that
> page (
http://groups.google.com/group/dealextreme-nas-/web/lighttpd-installa...).
>
> 1. You'll need a Linux enviroment with compilers and stuff like that and
> also you'll need Snake OS SDK installed. Then you'll need to "adjust" your
> software to compile on it (in my case I just need to add a --host on
> ./configure).
>