[BusyBox 0000529]: Syntax (macro definition) error stops build
bugs at busybox.net
bugs at busybox.net
Thu Dec 15 05:15:39 UTC 2005
The following issue has been CLOSED
======================================================================
http://busybox.net/bugs/view.php?id=529
======================================================================
Reported By: swsnyder
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 529
Category: Other
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 11-04-2005 09:30 PST
Last Modified: 12-14-2005 21:15 PST
======================================================================
Summary: Syntax (macro definition) error stops build
Description:
First, I should note that this is with version busybox-1.1.0-pre1,
downloaded from the Busybox website. (This version does not appears in
the version choices offered above.)
arm-elf-gcc -I/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/include
-I/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/include
-I/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/libbb -Wall
-Wstrict-prototypes -Wshadow -Os -malign-functions=0 -malign-jumps=0
-malign-loops=0 -fomit-frame-pointer -D_GNU_SOURCE -DNDEBUG
-mtune=arm7tdmi -O2 -c -o
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/applets/applets.o
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/applets/applets.c
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/applets/applets.c:447:
macro `parse_config_file' used without args
make[1]: ***
[/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/applets/applets.o]
Error 1
The problem is that parse_config_file() is a macro, defined as "#define
parse_config_file(x)" but is called at line 447 as just "parse_config_file
()".
======================================================================
----------------------------------------------------------------------
dajomas - 11-08-05 09:16
----------------------------------------------------------------------
I have noticed that if you change line 333 to:
#define parse_config_file()
The compilation will run through succesfully.
Greetinx
Johan
----------------------------------------------------------------------
landley - 12-14-05 21:15
----------------------------------------------------------------------
svn 12715
Issue History
Date Modified Username Field Change
======================================================================
11-04-05 09:30 swsnyder New Issue
11-04-05 09:30 swsnyder Status new => assigned
11-04-05 09:30 swsnyder Assigned To => BusyBox
11-07-05 22:31 dajomas Issue Monitored: dajomas
11-08-05 09:16 dajomas Note Added: 0000673
12-14-05 21:15 landley Status assigned => closed
12-14-05 21:15 landley Note Added: 0000776
======================================================================
More information about the busybox-cvs
mailing list