Yep, changing the order solved the types issue!
# make clean
rm -f milter-greylist milter-greylist.o pending.o sync.o dnsrbl.o
list.o conf_yacc.o dump_yacc.o conf.o autowhite.o dump.o spf.o acl.o
conf_yacc.c conf_lex.c dump_yacc.c dump_lex.c rc-redhat.sh rc-bsd.sh
rc-solaris.sh rc-debian.sh rc-gentoo.sh rc-suse.sh
# make
gcc -g -O2 -Wall -D_BSD_SOURCE -c milter-greylist.c
gcc -g -O2 -Wall -D_BSD_SOURCE -c pending.c
gcc -g -O2 -Wall -D_BSD_SOURCE -c sync.c
gcc -g -O2 -Wall -D_BSD_SOURCE -c dnsrbl.c
gcc -g -O2 -Wall -D_BSD_SOURCE -c list.c
bison -y -p`echo conf_yacc.c|sed 's/^\([^_]\{1,\}_\).*$/\1/'`
conf_yacc.y
mv y.tab.c conf_yacc.c
flex -oconf_lex.c conf_lex.l
gcc -g -O2 -Wall -D_BSD_SOURCE -c conf_yacc.c
conf_lex.c:2305: warning: `yy_flex_realloc' defined but not used
bison -y -p`echo dump_yacc.c|sed 's/^\([^_]\{1,\}_\).*$/\1/'`
dump_yacc.y
mv y.tab.c dump_yacc.c
flex -odump_lex.c dump_lex.l
gcc -g -O2 -Wall -D_BSD_SOURCE -c dump_yacc.c
dump_lex.c:1683: warning: `yy_flex_realloc' defined but not used
gcc -g -O2 -Wall -D_BSD_SOURCE -c conf.c
gcc -g -O2 -Wall -D_BSD_SOURCE -c autowhite.c
gcc -g -O2 -Wall -D_BSD_SOURCE -c dump.c
gcc -g -O2 -Wall -D_BSD_SOURCE -c spf.c
gcc -g -O2 -Wall -D_BSD_SOURCE -c acl.c
gcc -o milter-greylist milter-greylist.o pending.o sync.o dnsrbl.o
list.o conf_yacc.o dump_yacc.o conf.o autowhite.o dump.o spf.o
acl.o -lc_r -lmilter
/usr/lib/libc.so: WARNING! setkey(3) not present in the system!
/usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
/usr/lib/libc.so: warning: mktemp() possibly used unsafely; consider
using mkstemp()
/usr/lib/libc.so: WARNING! des_setkey(3) not present in the system!
/usr/lib/libc.so: WARNING! encrypt(3) not present in the system!
/usr/lib/libc.so: warning: tmpnam() possibly used unsafely; consider
using mkstemp()
/usr/lib/libc.so: warning: this program uses f_prealloc(), which is
not recommended.
/usr/lib/libc.so: WARNING! des_cipher(3) not present in the system!
/usr/lib/libc.so: warning: tempnam() possibly used unsafely; consider
using mkstemp()
sed "s|@BINDIR[@]|/usr/local/bin|g; s|@SBINDIR[@]|/usr/local/sbin|g;
s|@USER[@]|root|g" rc-bsd.sh.in > rc-bsd.sh
sed "s|@BINDIR[@]|/usr/local/bin|g; s|@SBINDIR[@]|/usr/local/sbin|g;
s|@USER[@]|root|g" rc-redhat.sh.in > rc-redhat.sh
sed "s|@BINDIR[@]|/usr/local/bin|g; s|@SBINDIR[@]|/usr/local/sbin|g;
s|@USER[@]|root|g" rc-solaris.sh.in > rc-solaris.sh
sed "s|@BINDIR[@]|/usr/local/bin|g; s|@SBINDIR[@]|/usr/local/sbin|g;
s|@USER[@]|root|g" rc-debian.sh.in > rc-debian.sh
sed "s|@BINDIR[@]|/usr/local/bin|g; s|@SBINDIR[@]|/usr/local/sbin|g;
s|@USER[@]|root|g" rc-gentoo.sh.in > rc-gentoo.sh
sed "s|@BINDIR[@]|/usr/local/bin|g; s|@SBINDIR[@]|/usr/local/sbin|g;
s|@USER[@]|root|g" rc-suse.sh.in > rc-suse.sh
# make test
make: don't know how to make test. Stop
Bill
On Aug 1, 2006, at 9:11 AM, Emmanuel Dreyfus wrote:
> On Tue, Aug 01, 2006 at 09:00:17AM -0700, Bill Levering wrote:
>> /usr/include/regex.h:46: syntax error before `regoff_t'
>> /usr/include/regex.h:46: warning: type defaults to `int' in
>> declaration of `regoff_t'
>> /usr/include/regex.h:46: warning: data definition has no type or
>> storage class
>> /usr/include/regex.h:56: syntax error before `regoff_t'
>> *** Error code 1
>
> Does it helps to include <regex.h> after <sys/types.h> ?
>
> --
> Emmanuel Dreyfus
> manu@...
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>Message
Re: [milter-greylist] milter-greylist 2.1.11 - test
2006-08-01 by Bill Levering
Attachments
- No local attachments were found for this message.