Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge errors on Dlink DSM-G600 (PPC).
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
orvtech
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2004
Posts: 115
Location: US. Florida

PostPosted: Wed Oct 31, 2007 4:21 pm    Post subject: Emerge errors on Dlink DSM-G600 (PPC). Reply with quote

This is the basic info on the hardware and environment of the machine where im having problems:
  • CPU: 170 MHz Freescale MPC8241 with MPC603e Motorola PowerPC core
  • RAM: 32 MB ESMT M12L128168A
  • Flash ROM: 4 MB Spansion S29GL032M90
  • USB: 2 port USB2.0 NEC D720101GJ
  • IDE controller: Acard ATP-865
  • LAN: 10/100/1000Mb IC Plus IP1000A
  • WIFI: 2.4GHz 54Mbps Ralink RT2560 miniPCI
  • Serial: 9600 8N1 TTL
  • Bootloader: U-Boot 0.2.0 without network support
  • Stock kernel: Linux-2.4.21-pre4
  • Stock C library: uClibc 0.9.26


so i am trying to emerge some packages but i am having some trouble. here is the error, i get the same 'kind' of error with the other 4 packages

Code:
>>> Emerging (1 of 4) sys-apps/setarch-2.0 to /
Adjusting permissions recursively: '/var/tmp/ccache'
 * setarch-2.0.tar.gz MD5 ;-) ...                                                                                      [ ok ]
 * setarch-2.0.tar.gz RMD160 ;-) ...                                                                                   [ ok ]
 * setarch-2.0.tar.gz SHA1 ;-) ...                                                                                     [ ok ]
 * setarch-2.0.tar.gz SHA256 ;-) ...                                                                                   [ ok ]
 * setarch-2.0.tar.gz size ;-) ...                                                                                     [ ok ]
 * checking ebuild checksums ;-) ...                                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                                 [ ok ]
 * checking setarch-2.0.tar.gz ;-) ...                                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking setarch-2.0.tar.gz to /var/tmp/portage/sys-apps/setarch-2.0/work
 * Applying setarch-1.8-linux-headers.patch ...                                                                        [ ok ]
 * Applying setarch-1.9-links.patch ...                                                                                [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-apps/setarch-2.0/work/setarch-2.0 ...
cc -Os -pipe -mcpu=603e -mtune=603e  -Wl,-z,relro  setarch.c   -o setarch
setarch.c: In function 'show_help':
setarch.c:51: error: 'program_invocation_short_name' undeclared (first use in this function)
setarch.c:51: error: (Each undeclared identifier is reported only once
setarch.c:51: error: for each function it appears in.)
setarch.c: In function 'show_usage':
setarch.c:69: error: 'program_invocation_short_name' undeclared (first use in this function)
setarch.c: In function 'main':
setarch.c:163: error: 'program_invocation_short_name' undeclared (first use in this function)
make: *** [setarch] Error 1
 *
 * ERROR: sys-apps/setarch-2.0 failed.
 * Call stack:
 *   ebuild.sh, line 1695:  Called dyn_compile
 *   ebuild.sh, line 1033:  Called qa_call 'src_compile'
 *   ebuild.sh, line   44:  Called src_compile
 *   ebuild.sh, line  705:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-apps/setarch-2.0/temp/build.log'.
 *

 * Messages for package sys-apps/setarch-2.0:

 *
 * ERROR: sys-apps/setarch-2.0 failed.
 * Call stack:
 *   ebuild.sh, line 1695:  Called dyn_compile
 *   ebuild.sh, line 1033:  Called qa_call 'src_compile'
 *   ebuild.sh, line   44:  Called src_compile
 *   ebuild.sh, line  705:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-apps/setarch-2.0/temp/build.log'.
 *

the other packages are:
Code:
DSM-G600 ~ # emerge -uDvpN world

These are the packages that would be merged, in order:

Calculating world dependencies... done!
[ebuild  N    ] sys-apps/setarch-2.0  0 kB
[ebuild     U ] sys-apps/busybox-1.5.1 [1.2.1] USE="-debug -make-symlinks -savedconfig (-selinux) -static (-netboot%)" 0 kB
[ebuild     U ] sys-apps/gawk-3.1.5-r5 [3.1.5-r2] USE="(-nls)" 0 kB
[ebuild     U ] sys-devel/gcc-4.1.2 [4.1.1] USE="mudflap* -altivec -bootstrap -build -d% -doc -fortran -gcj -gtk -hardened -ip28 -ip32r10k (-multilib) -multislot (-n32) (-n64) (-nls) -nocxx -objc -objc++ -objc-gc -test -vanilla" 0 kB

Total: 4 packages (3 upgrades, 1 new), Size of downloads: 0 kB

My 'emerge --info' is:
Code:
DSM-G600 ~ # emerge --info
Portage 2.1.3.16 (uclibc/ppc/2.4, gcc-4.1.1, uclibc-0.9.28.3-r0, 2.4.21-pre4 ppc)
=================================================================
System uname: 2.4.21-pre4 ppc 82xx
Timestamp of tree: Sun, 28 Oct 2007 01:47:01 +0000
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.6.3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.4.26-r1
ACCEPT_KEYWORDS="ppc"
CBUILD="powerpc-pc-linux-uclibc"
CFLAGS="-Os -pipe -mcpu=603e -mtune=603e"
CHOST="powerpc-pc-linux-uclibc"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -pipe -mcpu=603e -mtune=603e"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://64.50.238.52/ http://open-systems.ufl.edu/mirrors/gentoo http://mirror.utdlug.org/linux/distributions/gentoo/ http://gentoo.netnitco.net"
LDFLAGS="-Wl,-z,relro"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="bzip2 cracklib gzip logrotate mudflap ncurses openmp pcre ppc rar readline session spl syslog uclibc unicode zlib" ELIBC="uclibc" KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="dummy fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY


let me know if you have had this problem before, ive tried 'emerge -e system' and skipping the packages that give problems (like busybox) with no luck.
_________________
http://orvtech.com
http://www.linuxevolution.org
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Thu Nov 01, 2007 9:50 pm    Post subject: Reply with quote

do you boot from harddisk ? (i'm running a project with an embedded ppc board and uboot that bootstraps from the hd)
why 2.4 kernel ? why don't you use 2.6 ? ... 32Mb of ram
interesting price about DLINK DSM-G600 on ebay: 120euro

.... may it be i will buy one : P


regards
Back to top
View user's profile Send private message
orvtech
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2004
Posts: 115
Location: US. Florida

PostPosted: Thu Nov 01, 2007 10:08 pm    Post subject: Reply with quote

ddc wrote:
do you boot from harddisk ? (i'm running a project with an embedded ppc board and uboot that bootstraps from the hd)
why 2.4 kernel ? why don't you use 2.6 ? ... 32Mb of ram
interesting price about DLINK DSM-G600 on ebay: 120euro

.... may it be i will buy one : P


regards


120 euro is expensive. i solved my problem. allready. i will answer you in 2 hours when i get home more exteded. but basically i hade to downgrade and maslk a few packages. im waiting for the emerge -e world to finish to make sure that evrything is OK.
_________________
http://orvtech.com
http://www.linuxevolution.org
Back to top
View user's profile Send private message
orvtech
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2004
Posts: 115
Location: US. Florida

PostPosted: Thu Nov 01, 2007 11:23 pm    Post subject: Reply with quote

I had to make this changes
Code:

DSM-G600 tmp # cat /etc/portage/package.mask
>=sys-devel/gcc-4.0
>=sys-apps/setarch-2.0
>=sys-apps/gawk-3.1.5-r5


Code:

DSM-G600 tmp # cat /etc/portage/package.keywords
sys-libs/uclibc ~ppc
~sys-devel/gcc-3.4.6-r2 ~ppc


and then re emrge those packages. at this point i still have some problems with the package screen but i will attempt to solve it a bit more and try other packages that i can think of that are usefull (nmap, lynx, bittornado, etc...) and post a howto on how to install on this hardware.

there is a community already for this hardware. http://www..dsmg600.info
_________________
http://orvtech.com
http://www.linuxevolution.org
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Fri Nov 02, 2007 9:35 am    Post subject: Reply with quote

thank you for your how/to
what is the right price you suggest to search for ?

i'm very interested about this DSMG600

the project i was speaking about is http://elinux.org/DHT-Walnut-Flameman
Back to top
View user's profile Send private message
orvtech
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2004
Posts: 115
Location: US. Florida

PostPosted: Fri Nov 02, 2007 10:31 am    Post subject: Reply with quote

ddc wrote:
thank you for your how/to
what is the right price you suggest to search for ?

i'm very interested about this DSMG600

the project i was speaking about is http://elinux.org/DHT-Walnut-Flameman

Best Buy has it for $99
Circuitcity has it in $129.99
im sure that if you buy an used one from ebay it should be between $50~$80

which in Euros is less.
_________________
http://orvtech.com
http://www.linuxevolution.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum