BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000529 [BusyBox] Other minor always 11-04-05 09:30 12-14-05 21:15
Reporter swsnyder View Status public  
Assigned To BusyBox
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0000529: 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 ()".
Additional Information # arm-elf-gcc -v
Reading specs from /opt/armutils_2.5.85.0/toolchain/lib/gcc-lib/arm-elf/2.95.3/specs
gcc version 2.95.3 20010315 (release)

Using uClibc v0.9.26.

Busybox build was invoked like this:

  make CFLAGS_EXTRA="-mtune=arm7tdmi -O2" LDFLAGS="-Wl,-elf2flt"
Attached Files

- Relationships

- Notes
(0000673)
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
 
(0000776)
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
12-14-05 21:15 landley Resolution open => fixed
12-14-05 21:15 landley Fixed in Version  => svn


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker