From: Sebastian A. <sp...@sy...> - 2007-03-12 09:41:34
|
Kristian Kielhofner wrote: > On 3/10/07, Sebastian Auriol <sp...@sy...> wrote: >> AstLinux 0.4 branch from yesterday fails to compile in the wanpipe >> package (which is enabled by default): snip >> BTW, this was with 1 concurrent job set to run; i385; i586; Generic >> i586 and VIA. >> >> Kind regards, >> >> Sebastian >> > > Sebastian, > > I just built 0.4 from scratch for geni586 with concurrent jobs set > to 10. Everything went fine. > > The rm /usr/include/linux errors are "normal". That's another > reason why you shouldn't run the build environment as root! > > Anyways, it looks like you haven't unpacked zaptel ($(ZAPTEL_DIR) > was not set, so the wanpipe makefile looked in /usr/src/zaptel by > default). Can you make sure that zaptel was unpacked (look in > build_i586 for zaptel-*)? Perhaps it got confused about which version of zaptel to use: [seb@IVRA1 astlinux-0.4]$ ls build_i586/zaptel* -l -d lrwxrwxrwx 1 seb asterisk 48 Jan 18 18:02 build_i586/zaptel -> /home/seb/astlinux-0.4/build_i586/zaptel-1.2.9.1 drwxr-xr-x 9 seb asterisk 4096 Mar 9 19:42 build_i586/zaptel-1.2.15 drwxr-xr-x 8 seb asterisk 8192 Mar 9 19:41 build_i586/zaptel-1.2.9.1 [seb@IVRA1 astlinux-0.4]$ I did a make clean before a svn update, but not a make distclean (to save time - I thought I could get away with not rebuilding the toolchain)... Also, with a single processor machine, are there benefits to running two simultaneous jobs? Kind regards, Sebastian |
From: Sebastian A. <sp...@sy...> - 2007-03-12 17:00:19
|
Kristian wrote: > On 3/12/07, Sebastian Auriol <sp...@sy...> wrote: >> >> Perhaps it got confused about which version of zaptel to use: >> >> [seb@IVRA1 astlinux-0.4]$ ls build_i586/zaptel* -l -d >> lrwxrwxrwx 1 seb asterisk 48 Jan 18 18:02 build_i586/zaptel -> >> /home/seb/astlinux-0.4/build_i586/zaptel-1.2.9.1 >> drwxr-xr-x 9 seb asterisk 4096 Mar 9 19:42 build_i586/zaptel-1.2.15 >> drwxr-xr-x 8 seb asterisk 8192 Mar 9 19:41 >> build_i586/zaptel-1.2.9.1 [seb@IVRA1 astlinux-0.4]$ >> >> I did a make clean before a svn update, but not a make distclean (to >> save time - I thought I could get away with not rebuilding the >> toolchain)... >> >> Kind regards, >> >> Sebastian >> > > Sebastian, > > That is possible. Manually remove your zaptel directories > and try again. I tried removing the old zaptel directories but that didn't help (I didn't try removing the new zaptel directory) so I did a "make dirclean" and then a "rm -f -r build_i586" and then tried another make. It looks like there are still issues and that maybe the old version of zaptel was a red herring. I note that zaptel-1.2.15 has been extracted but has not been built yet. I don't know which is supposed to be built first - zaptel or wanpipe? But maybe this is the issue here: "cc1: /usr/src/zaptel: not a directory" Taken from the log below: make[3]: Leaving directory `/home/seb/astlinux-0.4/build_i586/wanpipe-3.1.0.p8/util/wancfg' make[2]: Leaving directory `/home/seb/astlinux-0.4/build_i586/wanpipe-3.1.0.p8/util' Done rm: cannot remove `/usr/include/linux/if_wanpipe.h': Permission denied rm: cannot remove `/usr/include/linux/if_wanpipe_common.h': Permission denied rm: cannot remove `/usr/include/linux/sdla_asy.h': Permission denied rm: cannot remove `/usr/include/linux/sdla_chdlc.h': Permission denied rm: cannot remove `/usr/include/linux/sdla_fr.h': Permission denied rm: cannot remove `/usr/include/linux/sdla_ppp.h': Permission denied rm: cannot remove `/usr/include/linux/sdla_x25.h': Permission denied rm: cannot remove `/usr/include/linux/sdladrv.h': Permission denied rm: cannot remove `/usr/include/linux/sdlapci.h': Permission denied rm: cannot remove `/usr/include/linux/sdlasfm.h': Permission denied rm: cannot remove `/usr/include/linux/wanpipe.h': Permission denied rm: cannot remove `/usr/include/linux/wanrouter.h': Permission denied make KBUILD_VERBOSE=0 -C /home/seb/astlinux-0.4/build_i586/linux-2.6.16.12 SUBDIRS=/home/seb/astlinux-0.4/build_i586/wanpipe-3.1.0.p8/patches/kdrivers/ src/net EXTRA_FLAGS="-I/home/seb/astlinux-0.4/build_i586/wanpipe-3.1.0.p8/patches/kd rivers/include -I/home/seb/astlinux-0.4/build_i586/wanpipe-3.1.0.p8/patches/kdrivers/includ e/annexg -I/home/seb/astlinux-0.4/build_i586/wanpipe-3.1.0.p8/patches/kdrivers/wanec -D__LINUX__ -I/home/seb/astlinux-0.4/build_i586/wanpipe-3.1.0.p8/patches/kdrivers/wanec -I/home/seb/astlinux-0.4/build_i586/wanpipe-3.1.0.p8/patches/kdrivers/wanec/ oct6100_api -I/home/seb/astlinux-0.4/build_i586/wanpipe-3.1.0.p8/patches/kdrivers/wanec/ oct6100_api/include -I/home/seb/astlinux-0.4/build_i586/linux-2.6.16.12/include/linux -I/home/seb/astlinux-0.4/build_i586/zaptel-1.2.15 " ZAPDIR=/home/seb/astlinux-0.4/build_i586/zaptel-1.2.15 HOMEDIR=/home/seb/astlinux-0.4/build_i586/wanpipe-3.1.0.p8 modules make[2]: Entering directory `/home/seb/astlinux-0.4/build_i586/linux-2.6.16.12' CC [M] /home/seb/astlinux-0.4/build_i586/wanpipe-3.1.0.p8/patches/kdrivers/src/net/ ../wanrouter/af_wanpipe_src.o cc1: /usr/src/zaptel: not a directory make[3]: *** [/home/seb/astlinux-0.4/build_i586/wanpipe-3.1.0.p8/patches/kdrivers/src/net /../wanrouter/af_wanpipe_src.o] Error 1 make[2]: *** [_module_/home/seb/astlinux-0.4/build_i586/wanpipe-3.1.0.p8/patches/kdrivers /src/net] Error 2 make[2]: Leaving directory `/home/seb/astlinux-0.4/build_i586/linux-2.6.16.12' make[1]: *** [all_kmod] Error 2 make[1]: Leaving directory `/home/seb/astlinux-0.4/build_i586/wanpipe-3.1.0.p8' make: *** [/home/seb/astlinux-0.4/build_i586/wanpipe-3.1.0.p8/.built] Error 2 [seb@IVRA1 astlinux-0.4]$ Kind regards, Sebastian |
From: Kristian K. <kri...@gm...> - 2007-03-12 16:28:48
|
On 3/12/07, Sebastian Auriol <sp...@sy...> wrote: > > Perhaps it got confused about which version of zaptel to use: > > [seb@IVRA1 astlinux-0.4]$ ls build_i586/zaptel* -l -d > lrwxrwxrwx 1 seb asterisk 48 Jan 18 18:02 build_i586/zaptel -> > /home/seb/astlinux-0.4/build_i586/zaptel-1.2.9.1 > drwxr-xr-x 9 seb asterisk 4096 Mar 9 19:42 build_i586/zaptel-1.2.15 > drwxr-xr-x 8 seb asterisk 8192 Mar 9 19:41 build_i586/zaptel-1.2.9.1 > [seb@IVRA1 astlinux-0.4]$ > > I did a make clean before a svn update, but not a make distclean (to save > time - I thought I could get away with not rebuilding the toolchain)... > > Also, with a single processor machine, are there benefits to running two > simultaneous jobs? > > Kind regards, > > Sebastian > Sebastian, That is possible. Manually remove your zaptel directories and try again. The rule of thumb for parallel compiles is to use N CPUs + 1. So on a uni machine you would use -j2. That is why it is the default. :) I have a few eight way machines that I run anywhere from -j10 to -j12 on. -- Kristian Kielhofner |