rihad wrote:/usr/src/lib/libpam/modules/pam_echo/pam_echo.c is compiled with -Werror (treat warnings as errors). And I get:
For a few past days, after doing make update, buildworld always fails when building "pam". Couldn't find it on this list! TIA
Have you set -02 or similar in your /etc/make.conf? My buildworld also fails if i set any optimizations.
Just a guess
/usr/src/lib/libpam/modules/pam_echo/pam_echo.c: In function `_pam_echo':
/usr/src/lib/libpam/modules/pam_echo/pam_echo.c:92: warning: dereferencing type-punned pointer will break strict-aliasing rules
*** Error code 1
So the build fails. gcc version 3.3.3 [FreeBSD] 20031106
make.conf does have CPUTYPE?=p4 CFLAGS= -O2 -pipe
I'll try to build it without -O2, thanks.
_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"