1.18.0 doesn't build defconfig on Ubuntu 9.04.

Rob Landley rob at landley.net
Wed Dec 8 20:01:19 UTC 2010


On Wednesday 08 December 2010 10:38:42 walter harms wrote:
> Rob,
> can you please report the original error ? I did not see it in the ML and
> it seems interessting.

Sorry, the attachements were too big for the mailing list.  (Even compressed.)

Basically, I did a make defconfig and did a make, and it went:

  SPLIT   include/autoconf.h -> include/config/*
  HOSTCC  applets/usage
In file included from applets/usage.c:24:
include/usage.h:23:28: warning: missing terminating " character
In file included from applets/usage.c:24:
include/usage.h:25: error: expected identifier or '(' before string constant
include/usage.h:33:10: warning: missing terminating " character
include/usage.h:33: error: missing terminating " character
include/usage.h:38:26: warning: missing terminating " character
include/usage.h:41:29: warning: missing terminating " character
include/usage.h:40: error: missing terminating " character
include/usage.h:50:24: warning: missing terminating " character
include/usage.h:99:7: warning: missing terminating ' character
include/usage.h:99: error: missing terminating ' character

And so on for pages, because usage.h (and later applets.h) looked like:

/* DO NOT EDIT. This file is generated from usage.src.h */
/* vi: set sw=8 ts=8: */
/*
 * This file suffers from chronically incorrect tabification
 * of messages. Before editing this file:
 * 1. Switch you editor to 8-space tab mode.
 * 2. Do not use \t in messages, use real tab character.
 * 3. Start each source line with message as follows:
 *    |<7 spaces>"text with tabs"....
 * or
 *    |<5 spaces>"\ntext with tabs"....
 */
#ifndef BB_USAGE_H
#define BB_USAGE_H 1


#define NOUSAGE_STR "\b"


#define bunzip2_trivial_usage \
       "[-cf] [FILE]..." \

#define bunzip2_full_usage "

" \
       "Decompress FILEs (or stdin)
" \
     "
Options:" \
     "
	-c	Write to stdout" \
     "
	-f	Force" \

#define bzcat_trivial_usage \
       "FILE" \

#define bzcat_full_usage "

" \
       "Decompress to stdout" \

#define tar_trivial_usage \
       "-[" IF_FEATURE_TAR_CREATE("c") "xt" IF_FEATURE_SEAMLESS_GZ("z") \
	IF_FEATURE_SEAMLESS_BZ2("j") IF_FEATURE_SEAMLESS_LZMA("a") \
	IF_FEATURE_SEAMLESS_Z("Z") IF_FEATURE_TAR_NOPRESERVE_TIME("m") "vO] " \
	IF_FEATURE_TAR_FROM("[-X FILE] ") \
       "[-f TARFILE] [-C DIR] [FILE]..." \


> re,
>  wh

Rob
-- 
GPLv3: as worthy a successor as The Phantom Menace, as timely as Duke Nukem 
Forever, and as welcome as New Coke.


More information about the busybox mailing list