OpenWrt Forum Archive

Topic: Compile of trunk fails - Atheros

The content of this topic has been archived on 28 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I have the router dir-300, when compiling the openwrt from the trunk version, I get the following error:

luis@ubuntu:/media/MULTIMEDIA/Dir-300/Openwrt/trunk/openwrt$ make world
 make[1] world
 make[2] tools/install
 make[3] -C tools/m4 compile
 make[3] -C tools/m4 install
 make[3] -C tools/autoconf compile
 make[3] -C tools/autoconf install
 make[3] -C tools/automake compile
 make[3] -C tools/automake install
 make[3] -C tools/bison compile
 make[3] -C tools/bison install
 make[3] -C tools/sed compile
 make[3] -C tools/sed install
 make[3] -C tools/pkg-config compile
 make[3] -C tools/pkg-config install
 make[3] -C tools/mklibs compile
 make[3] -C tools/mklibs install
 make[3] -C tools/sstrip compile
 make[3] -C tools/sstrip install
 make[3] -C tools/ipkg-utils compile
 make[3] -C tools/ipkg-utils install
 make[3] -C tools/genext2fs compile
 make[3] -C tools/genext2fs install
 make[3] -C tools/lzma-old compile
 make[3] -C tools/lzma-old install
 make[3] -C tools/squashfs compile
 make[3] -C tools/squashfs install
 make[3] -C tools/lzma compile
 make[3] -C tools/lzma install
 make[3] -C tools/squashfs4 compile
 make[3] -C tools/squashfs4 install
 make[3] -C tools/mtd-utils compile
 make[3] -C tools/mtd-utils install
 make[3] -C tools/mkimage compile
 make[3] -C tools/mkimage install
 make[3] -C tools/firmware-utils compile
 make[3] -C tools/firmware-utils install
 make[3] -C tools/patch-cmdline compile
 make[3] -C tools/patch-cmdline install
 make[3] -C tools/quilt compile
make -r world: build failed. Please re-run make with V=99 to see what's going on
make: *** [world] Error 1
luis@ubuntu:/media/MULTIMEDIA/Dir-300/Openwrt/trunk/openwrt$

and make V=99

Generating /usr/bin/gawk wrapper
rm -f compat/column.in compat/date.in compat/getopt.in compat/mktemp.in compat/sendmail.in
README.in -> README
quilt.1.in -> quilt.1
while read line; do                        \
      case "$line" in                        \
      '@REFERENCE''@')                        \
        make -s reference |                    \
        /media/MULTIMEDIA/Dir-300/Openwrt/trunk/openwrt/staging_dir/host/bin/sed -e 's/^quilt \([^ ]*\)\(.*\)/.IP "\\fB\1\\fP\2 " 4/'    \
           -e $'s/^  \\(-[^\t]*\\)\t\\?/.IP "    \\1" 8\\\n/'    \
           -e $'s/^  \t\\?//'                    \
        ;;                                \
      *)                                \
        echo "$line"                        \
        ;;                                \
      esac;                                \
    done < doc/quilt.1.in 2>&1 > doc/quilt.1
/usr/bin/pod2man bin/guards > bin/guards.1
make[4]: *** No rule to make target `compat/column.in', needed by `po/quilt.pot'.  Stop.
make[4]: Leaving directory `/media/MULTIMEDIA/Dir-300/Openwrt/trunk/openwrt/build_dir/host/quilt-0.47'
make[3]: *** [/media/MULTIMEDIA/Dir-300/Openwrt/trunk/openwrt/build_dir/host/quilt-0.47/.built] Error 2
make[3]: Leaving directory `/media/MULTIMEDIA/Dir-300/Openwrt/trunk/openwrt/tools/quilt'
make[2]: *** [tools/quilt/compile] Error 2
make[2]: Leaving directory `/media/MULTIMEDIA/Dir-300/Openwrt/trunk/openwrt'
make[1]: *** [/media/MULTIMEDIA/Dir-300/Openwrt/trunk/openwrt/staging_dir/target-mips_uClibc-0.9.30.1/stamp/.tools_install_nnn] Error 2
make[1]: Leaving directory `/media/MULTIMEDIA/Dir-300/Openwrt/trunk/openwrt'
make: *** [world] Error 2

any idea what's going on?

Hi all,
Im also facing the same issue
Anyone figured out how to fix this ??

Regards,
Sathya

I just ran make V=99 again after getting this error and it didn't repeat itself.

The resulting image worked fine.

Quilt versions past .46 seem to be a bit wonky, I had trouble getting .47 and .48 to work in Slackware.

(Last edited by BelialDW on 10 Feb 2010, 12:15)

BelialDW wrote:

I just ran make V=99 again after getting this error and it didn't repeat itself.

Same happened here. If you run into this error just try again and it will compile.

Still, I would like to know what is happening.

The discussion might have continued from here.