Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: Make Error: conf_lex.c

2004-10-11 by martinmcwhorter

> It is generated using lex (or flex) from conf_lex.l
> Do you have another error before about this operation? 

No other error.
 
> lex conf_lex.l should give you a lex.yy.c
> rename it to conf_lex.c and you should be able to resume the build.
> 
> If lex fails, please report the error.

Lex does not fail, but make failed after that with:

dump_yacc.y:44:22: dump_lex.c: No such file or directory
make: *** [dump_yacc.o] Error 1

So I did a lex dump_lex.l > dump_lex.c

I ran make again now I get:
[root@lennon milter-greylist-1.4]# make
gcc -g -O2 -Wall -D_XOPEN_SOURCE=500 -D_BSD_SOURCE   -c -o dump_yacc.o
dump_yacc.c
gcc -o milter-greylist milter-greylist.o pending.o except.o sync.o
conf_yacc.o dump_yacc.o conf.o autowhite.o dump.o spf.o  -lresolv
-lnsl -lpthread -lmilter
dump_yacc.o(.text+0x2c4): In function `dump_parse':
/usr/local/src/milter-greylist-1.4/y.tab.c:467: undefined reference to
`dump_error'
dump_yacc.o(.text+0x2d9):/usr/local/src/milter-greylist-1.4/y.tab.c:335:
undefined reference to `dump_error'
dump_yacc.o(.text+0x471):/usr/local/src/milter-greylist-1.4/y.tab.c:434:
undefined reference to `dump_lex'
dump_yacc.o(.text+0x58d):/usr/local/src/milter-greylist-1.4/y.tab.c:294:
undefined reference to `dump_lex'
dump.o(.text+0x369): In function `dump_reload':
/usr/local/src/milter-greylist-1.4/dump.c:237: undefined reference to
`dump_in'
collect2: ld returned 1 exit status
make: *** [milter-greylist] Error 1

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.