My configure on 'master' fails with the following.  I need to link with
-lfl to get the symbol yywrap.  I don't know why we haven't been
encountering this before.

Error running make; make install on c2html: Could not execute "cd 
/home/jed/petsc/mpich-optg/externalpackages/c2html-0.9.4 && make && make 
install && make clean":
flex ./c2html.l
gcc  -O -I. -I. -DCOMPRESSION=1  -o c2html lex.yy.c ./mymain.c ./colors.c 
Makefile:67: recipe for target 'c2html' failed/tmp/ccFJeTaT.o: In function 
`yylex':
lex.yy.c:(.text+0x334d): undefined reference to `yywrap'
collect2: error: ld returned 1 exit status
make: *** [c2html] Error 1
.
 Try disable c2html with --with-c2html=0
*******************************************************************************


Solution is to pass LEXLIB=-lfl to c2html's configure, though I don't
know if we need to test for -lfl first (AFAIK, it's a standard part of
the flex distribution).  Also note that there is a newer c2html.

https://aur.archlinux.org/packages/c2/c2html/PKGBUILD

Attachment: pgpQCUdMecRI_.pgp
Description: PGP signature

Reply via email to