Make errors while building snapgear-4.0.0.7

gravyface <[email protected]>
Newsgroups gmane.linux.uclinux.devel
Message-ID <CAE2NshxQZTQ5sUZ6Eva7O1GPJPJy_1dziT4jFuvOfMNxX+3dvg@mail.gmail.com>
Apologies if this is a dupe, but sent first before approval on the list:

Hi all,

First time attempting to compile really anything in Linux (why not try
this? <g>), and hitting a wall with a seemingly pam-auth related error.

Build Environment:

- Ubuntu Server 12.04.5 LTS with apt versions of binutils,
build-essentials, gcc, gdb, curses (libncurses5-dev libncursesw5-dev).  I
downloaded the  arm-linux-tools-20061213.tar.gz
<https://web.archive.org/web/20100715203220/http://ftp.snapgear.org/pub/snapgear/tools/arm-linux/arm-linux-tools-20061213.tar.gz>
from
Web Archive's copy, but have no idea how to use it.

I can get whatever versions of packages needed; just let me know.

Target:

- I have more SG560s than I know what to do with after dismantling a large
site-to-site client network; I'm interested in building simple network
testing appliances (ping/arp-scan/nc/ssh) I can use when configuring
various networking devices, so I think the default libraries and utilities
should be more than adequate in the base image.

What I've done:

- Extracted http://ftp.snapgear.org/pub/snapgear/src/snapgear-4.0.7.tar.bz2 to
my home directory in a sub-folder called uclinux (full path is
/home/gravyface/uclinux/snapgear-4.0.7).  From that directory, ran "make
SecureComputing/SG560_default" which ran for 15 minutes or so, happily
compiling, until it exited with Error 2, and not a whole lot more:

ucfront-gcc arm-linux-gcc -mbig-endian -mcpu=xscale -mtune=xscale
-msoft-float -DHOST_NAME_MAX=255 -shared  .libs/pam_xauth.o  -Wl,--rpath
-Wl,/home/gravyface/uclinux/snapgear-4.0.7/lib/libpam/build/libpam/.libs
-L/home/gravyface/uclinux/snapgear-4.0.7/lib/libpam/build/libpam
/home/gravyface/uclinux/snapgear-4.0.7/lib/libpam/build/libpam/.libs/libpam.so
 -mbig-endian -mcpu=xscale -mtune=xscale -msoft-float
-Wl,--version-script=../../../modules/pam_xauth/../modules.map -Wl,-S
-Wl,-soname -Wl,pam_xauth.so -o .libs/pam_xauth.so
creating pam_xauth.la
(cd .libs && rm -f pam_xauth.la && ln -s ../pam_xauth.la pam_xauth.la)
make[8]: Leaving directory
`/home/gravyface/uclinux/snapgear-4.0.7/lib/libpam/build/modules/pam_xauth'
make[8]: Entering directory
`/home/gravyface/uclinux/snapgear-4.0.7/lib/libpam/build/modules'
make[8]: Nothing to be done for `all-am'.
make[8]: Leaving directory
`/home/gravyface/uclinux/snapgear-4.0.7/lib/libpam/build/modules'
make[7]: Leaving directory
`/home/gravyface/uclinux/snapgear-4.0.7/lib/libpam/build/modules'
Making all in po
make[7]: Entering directory
`/home/gravyface/uclinux/snapgear-4.0.7/lib/libpam/build/po'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory
`/home/gravyface/uclinux/snapgear-4.0.7/lib/libpam/build/po'
Making all in conf
make[7]: Entering directory
`/home/gravyface/uclinux/snapgear-4.0.7/lib/libpam/build/conf'
make[8]: Entering directory
`/home/gravyface/uclinux/snapgear-4.0.7/lib/libpam/build/conf'
make[8]: Nothing to be done for `all-am'.
make[8]: Leaving directory
`/home/gravyface/uclinux/snapgear-4.0.7/lib/libpam/build/conf'
make[7]: Leaving directory
`/home/gravyface/uclinux/snapgear-4.0.7/lib/libpam/build/conf'
make[7]: Entering directory
`/home/gravyface/uclinux/snapgear-4.0.7/lib/libpam/build'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory
`/home/gravyface/uclinux/snapgear-4.0.7/lib/libpam/build'
make[6]: Leaving directory
`/home/gravyface/uclinux/snapgear-4.0.7/lib/libpam/build'
make[5]: Leaving directory
`/home/gravyface/uclinux/snapgear-4.0.7/lib/libpam/build'
make[4]: Leaving directory
`/home/gravyface/uclinux/snapgear-4.0.7/lib/libpam'
make[3]: Leaving directory `/home/gravyface/uclinux/snapgear-4.0.7/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/gravyface/uclinux/snapgear-4.0.7/lib'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/gravyface/uclinux/snapgear-4.0.7'
make: *** [SecureComputing/SG560_default] Error 2


Looks to be pam-related, but with no error, I'm kind of at a loss here.

Thanks in advance!

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.