[OpenAFS] openafs 1.0.1 Solaris 5.7 compile error
Aaron M. Ucko
amu@mit.edu
06 Dec 2000 20:21:17 -0500
<ply@marvell.com> (Phuoc Ly) writes:
> I got the following error when I try to compile openafs 1.0.1 on Solaris 5.7.
> I used bison and flex since I don't have lex and yacc.
[...]
> /opt/SUNWspro/bin/cc -O -I/usr/local/src/openafs-1.0.1/sun4x_57/dest/include -dy
> -Bdynamic -o compile_et compile_et.o error_table.o
> /usr/local/src/openafs-1.0.1/sun4x_57/dest/lib/afs/util.a -lsocket -lnsl -lintl
> -ldl -ll;; \
> esac
> Undefined first referenced
> symbol in file
> yylineno compile_et.o
If you're using flex instead of lex, you need to link against -lfl
instead of -ll.
--
Aaron M. Ucko, KB1CJC <amu@mit.edu> (finger amu@monk.mit.edu)