Languages and Scripting

problem linking with libl.so Unsatisfied symbol "yylenguc" etc.

 
Dave WOOD_6
New Member

problem linking with libl.so Unsatisfied symbol "yylenguc" etc.

Hello, we're trying to port anm app from Tru64 to Itanium and have a problem linking

cc +DD64 -g -o omega omega.o /wood/omega_src/VER_8_1_5/release/lib/libomega.a /wood/omega_src/VER_8_1_5/release/lib/libgeneric.a -L/opt/oracle/9i/lib -L/opt/oracle/9i/rdbms/lib -lclntsh -ll -lm
ld: (Warning) Unsatisfied symbol "yyleng" in file /usr/lib/hpux64/libl.so
ld: (Warning) Unsatisfied symbol "yylenguc" in file /usr/lib/hpux64/libl.so
ld: (Warning) Unsatisfied symbol "yytextuc" in file /usr/lib/hpux64/libl.so
ld: (Warning) Unsatisfied symbol "yyprevious" in file /usr/lib/hpux64/libl.so
ld: (Warning) Unsatisfied symbol "yytextarr" in file /usr/lib/hpux64/libl.so
5 warnings.

A similar problem is reported here but no solution is given
http://sources.redhat.com/ml/binutils/2003-12/msg00337.html

Many thanks for any help
1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: problem linking with libl.so Unsatisfied symbol "yylenguc" etc.

Basically you can NOT use -ll if you don't use HP's lex to generate definitions of the above symbols. This matches with what Michael found on the above link.