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 2007-03-31 04:41:08

learner1
Member
Registered: 2007-03-24
Posts: 12

help: can anyone make a ncftp package. Thanks in advance

anyone can help to compile a ncftp package. Thanks

Offline

 

#2 2007-03-31 16:55:44

learner1
Member
Registered: 2007-03-24
Posts: 12

Re: help: can anyone make a ncftp package. Thanks in advance

I have successfully compiled the chaintool(gcc3.3) but when I complied ncftp with

export PATH=$PATH:/opt/uclibc-powerpc/gcc-3.3/bin
cd /usr/local/src/ncftp-3.2.0/
./configure --prefix=/usr/src/610/powerpc-uclibc-toolchain/toolchain_powerpc --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu --target=powerpc-linux-uclibc
make CROSS=powerpc-linux- CC=/opt/uclibc-powerpc/gcc-3.3/bin/powerpc-linux-gcc

but I got :

make[1]: Entering directory `/usr/local/src/ncftp-3.2.0/sio'
Precompiling syshdrs.h:                                               [ERROR]
  /opt/uclibc-powerpc/gcc-3.3/bin/powerpc-linux-gcc -D_REENTRANT -D_LARGEFILE64
  _SOURCE -O2 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-
  function-cast -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wmiss
  ing-declarations -Winline -Wmissing-format-attribute -Wformat-security -Wdisa
  bled-optimization -Wno-format-y2k -DLINUX=26009 -DLINUX_GLIBC=23004 -DHAVE_CO
  NFIG_H -DLINUX=26009 -DLINUX_GLIBC=23004 -I/usr/local/src/ncftp-3.2.0 -I/usr/
  local/src/ncftp-3.2.0/libncftp -I/usr/local/src/ncftp-3.2.0/sio -I/usr/local/
  src/ncftp-3.2.0/Strn syshdrs.h
  powerpc-linux-gcc: compilation of header file requested
make[1]: *** [syshdrs.h.gch] Error 1
make[1]: Leaving directory `/usr/local/src/ncftp-3.2.0/sio'
make: *** [libs] Error 2

how can I fix this. I tried include the gcc include the directory, but it doesn't work for me. please help

Offline

 

#3 2007-03-31 23:33:42

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: help: can anyone make a ncftp package. Thanks in advance

I can look into this at Monday. Till then you can maybe try this toolchain and tips you can find from here: http://dns323.kood.org/forum/t5-toolchain.html


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#4 2007-04-01 06:02:15

learner1
Member
Registered: 2007-03-24
Posts: 12

Re: help: can anyone make a ncftp package. Thanks in advance

Thanks very much Sala,

Here is what I did.

I download your fixed chaintool and compiled under RedHat AS4U1. it is successful. Then I cp the whole directory to /opt. I downloaded ncftp @ ftp://ftp.ncftp.com/ncftp/ncftp-3.2.0-src.tar.gz. and use the configure as above. But I can't get it complied.

Offline

 

#5 2007-04-02 15:35:53

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: help: can anyone make a ncftp package. Thanks in advance

Here it is:
http://dns323.kood.org/downloads/ncftp-3.2.0.tar.bz2

I did use

Code:

CC=powerpc-linux-uclibc-gcc CFLAGS="-Os -pipe -mcpu=603e -mtune=603e" ./configure --target="powerpc-uclibc-linux-gnu" --host="i686-linux-gnu" --build="powerpc-uclibc-linux-gnu"
make

DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#6 2007-04-02 23:33:31

learner1
Member
Registered: 2007-03-24
Posts: 12

Re: help: can anyone make a ncftp package. Thanks in advance

Thanks very much

I complied a lsof,

Last edited by learner1 (2007-04-03 04:57:49)

Offline

 

#7 2007-04-08 00:53:01

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: help: can anyone make a ncftp package. Thanks in advance

learner1 wrote:

Then I cp the whole directory to /opt.

There are many full path symlinks you need to fix if you planing to move your precompiled toolchain to a new location.


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#8 2010-01-04 08:27:19

tektor
New member
Registered: 2009-10-18
Posts: 1

Re: help: can anyone make a ncftp package. Thanks in advance

sala wrote:

Here it is:
http://dns323.kood.org/downloads/ncftp-3.2.0.tar.bz2

I did use

Code:

CC=powerpc-linux-uclibc-gcc CFLAGS="-Os -pipe -mcpu=603e -mtune=603e" ./configure --target="powerpc-uclibc-linux-gnu" --host="i686-linux-gnu" --build="powerpc-uclibc-linux-gnu"
make

Would you mind terribly putting that up again?  I could really use it, and don't have a toolchain setup to build it.  Would much appreciate it.

Thanks in advance!

(FYI, trying to run duplicity, which appears to require it.)

Last edited by tektor (2010-01-04 08:29:43)

Offline

 

#9 2010-01-07 15:47:16

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: help: can anyone make a ncftp package. Thanks in advance

tektor wrote:

sala wrote:

Here it is:
http://dns323.kood.org/downloads/ncftp-3.2.0.tar.bz2

I did use

Code:

CC=powerpc-linux-uclibc-gcc CFLAGS="-Os -pipe -mcpu=603e -mtune=603e" ./configure --target="powerpc-uclibc-linux-gnu" --host="i686-linux-gnu" --build="powerpc-uclibc-linux-gnu"
make

Would you mind terribly putting that up again?  I could really use it, and don't have a toolchain setup to build it.  Would much appreciate it.

Thanks in advance!

(FYI, trying to run duplicity, which appears to require it.)

Hm, I dont have it any more. You could chroot into debian or gentoo to get it working.


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB