syslogd build error

Robert Connolly robert at linuxfromscratch.org
Tue Mar 27 20:17:00 PDT 2007


For now use:

make RPM_OPT_FLAGS="-D_FORTIFY_SOURCE=0"

Notice the added "_". I'll fix it in svn right now.

robert

On Tuesday March 27 2007 23:06, George Boudreau wrote:
> Robert,
>   With a little hand-holding I was able to convince jhalfs to build most
> of HLFS/glibc. At the moment I have bumped into the following errors
> when I reach syslogd. (This build is with 2.6.20.4 and the associated
> grsecurity patch.)  Does the following trace ring any bells?
>
>
> gcc -DFORTIFY_SOURCE=0 -O3 -DSYSV -fomit-frame-pointer -Wall
> -fno-strength-reduce -DALLOW_KERNEL_LOGGING -c sysl
> syslog.c:85: error: expected declaration specifiers or '...' before
> numeric constant
>
> syslog.c:86: error: conflicting types for '__syslog_chk'
>
> /usr/include/bits/syslog.h:26: error: previous declaration of
> '__syslog_chk' was here
>
> syslog.c:95: error: expected ')' before numeric constant
>
> syslog.c:99: error: expected identifier or '(' before '{' token
>
> make[1]: *** [syslog.o] Error 1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/hlfs-dev/attachments/20070327/8a3a0e91/attachment.sig>


More information about the hlfs-dev mailing list