[PATCH] getty.c

nawawi mohd.nawawi at gmail.com
Mon Sep 18 07:42:21 UTC 2006


attached here the patch.

On 9/18/06, nawawi <mohd.nawawi at gmail.com> wrote:
> Hi,
>
> I think its bug..
>
> getty.c error while compile with syslog function not enable
>
> ======================================
> /root/mfs2.1-dev/src/busybox/kejap/busybox/loginutils/getty.c: In
> function ‘getty_main’:
> /root/mfs2.1-dev/src/busybox/kejap/busybox/loginutils/getty.c:825:
> warning: implicit declaration of function ‘openlog’
> /usr/include/sys/syslog.h:181: warning: previous declaration of
> ‘openlog’ was here
> /root/mfs2.1-dev/src/busybox/kejap/busybox/loginutils/getty.c:825:
> error: incompatible implicit declaration of function ‘openlog’
> /usr/include/sys/syslog.h:181: error: previous implicit declaration of
> ‘openlog’ was here
> /root/mfs2.1-dev/src/busybox/kejap/busybox/loginutils/getty.c:825:
> error: ‘LOG_PID’ undeclared (first use in this function)
> /root/mfs2.1-dev/src/busybox/kejap/busybox/loginutils/getty.c:825:
> error: (Each undeclared identifier is reported only once
> /root/mfs2.1-dev/src/busybox/kejap/busybox/loginutils/getty.c:825:
> error: for each function it appears in.)
> /root/mfs2.1-dev/src/busybox/kejap/busybox/loginutils/getty.c:825:
> error: ‘LOG_AUTH’ undeclared (first use in this function)
> make[1]: *** [busybox_unstripped] Error 1
> make: *** [_all] Error 2
> =================================================
>
> but its ok when CONFIG_SYSLOGD is enable
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getty.c.patch
Type: text/x-patch
Size: 404 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060918/51546fe4/attachment-0002.bin 


More information about the busybox mailing list