- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lex library -ll on hpux 11.22, hpux 11.23
Operating System - HP-UX
1753394
Members
7138
Online
108792
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-30-2003 07:25 AM
тАО12-30-2003 07:25 AM
lex library -ll on hpux 11.22, hpux 11.23
I'm having problem using the lex library, -ll, on hpux 11.22 and hpux 11.23. The library has 18 unresolved data symbols.
% cc hello.c -ll -ly
ld: (Warning) Unsatisfied symbol "yyleng" in file /usr/lib/hpux32/libl.so
ld: (Warning) Unsatisfied symbol "yylenguc" in file /usr/lib/hpux32/libl.so
ld: (Warning) Unsatisfied symbol "yyinput" in file /usr/lib/hpux32/libl.so
... and so on ...
I'm attaching a typescript file which shows the problem.
This problem does not happen with hpux 11.11.
I ran into this problem while I was building GNU binutils 2.14 on hpux 11.22 and hpux 11.23. I do have a workaround, which is:
export LEXLIB=' '
This enables binutils to build (in case anyone else has the same problem). But as you can see from the typescript, there's a problem with any program that uses lex.
% cc hello.c -ll -ly
ld: (Warning) Unsatisfied symbol "yyleng" in file /usr/lib/hpux32/libl.so
ld: (Warning) Unsatisfied symbol "yylenguc" in file /usr/lib/hpux32/libl.so
ld: (Warning) Unsatisfied symbol "yyinput" in file /usr/lib/hpux32/libl.so
... and so on ...
I'm attaching a typescript file which shows the problem.
This problem does not happen with hpux 11.11.
I ran into this problem while I was building GNU binutils 2.14 on hpux 11.22 and hpux 11.23. I do have a workaround, which is:
export LEXLIB=' '
This enables binutils to build (in case anyone else has the same problem). But as you can see from the typescript, there's a problem with any program that uses lex.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2004 04:30 AM
тАО01-05-2004 04:30 AM
Re: lex library -ll on hpux 11.22, hpux 11.23
Those symbols are supposed to be defined by the lexx.yy.c source file which is generated by the lex command. Perhaps you did not use the system's lex command when building or did not recreate the C source from the lex source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2004 07:38 AM
тАО01-05-2004 07:38 AM
Re: lex library -ll on hpux 11.22, hpux 11.23
Right. See the typescript that I attached. My sample program is:
int main ()
{
printf ("hello world\n");
return 0;
}
It doesn't get run through lex at all. I just have a Makefile that links in several system libraries, including "-ll".
It was a surprise to me that I can't use "-ll" unless I've actually run "lex" on something first, but I can deal with that. Thanks.
int main ()
{
printf ("hello world\n");
return 0;
}
It doesn't get run through lex at all. I just have a Makefile that links in several system libraries, including "-ll".
It was a surprise to me that I can't use "-ll" unless I've actually run "lex" on something first, but I can deal with that. Thanks.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP