[BusyBox] Re: [BusyBox-cvs] cvs commit to busybox by andersen

Mark Whitley markw at lineo.com
Thu Mar 15 18:10:28 UTC 2001


On Thu, Mar 15, 2001 at 10:56:44AM -0700, andersen at busybox.net wrote:
> Repository: busybox
> who:        andersen
> time:       Thu Mar 15 10:56:44 MST 2001
> 
> 
> Log Message:
> 
> Update the changelog, in preparation for making the 0.50 release

Don't release just yet, I found a problem with the preprocessor stmts at the
top of logread.c:

Steps to reproduce:

  - In the Config.h applet section, enable only the BB_SYSLOGD applet
  - In the Config.h feature section, enable only BB_FEATURE_IPC_SYSLOG
  - Compile with 'make'

Produces the following:


	logread.c:30: #error Sorry.  Looks like you are using libc5.  
	logread.c:31: #error libc5 shm support isnt good enough.
	logread.c:32: #error Please disable BB_FEATURE_IPC_SYSLOG 
	make: *** [logread.o] Error 1

Note: I am compiling against glibc. Turning the feature off and compiling
produces a busybox like so:

	$ ldd busybox
        libc.so.6 => /lib/libc.so.6 (0x40019000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

I tried changing the logic in the stmt on line 29 from an || to an && (just
like I did for dpkg.c a minute ago) but that didn't fix it. I tried a bunch of
other combindations, but for some reason I always get the error.

Any suggestions, guys? I'm a little perplexed at this one.


Mark Whitley
markw at lineo.com





More information about the busybox mailing list