- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- yacc problems on HP-UX 11
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
02-13-2002 04:10 AM
02-13-2002 04:10 AM
yacc problems on HP-UX 11
http://hpux.connect.org.uk/hppd/cgi-bin/search and installed using swinstall
flex was obtained from
http://www.gnu.org/software/flex/flex.html
Does anyone know why byacc fails (creates a core)
$ make clean
rm -f a.out *.bak core errs scan.tmp
rm -f flex parse.c parse.h *.o alloca.c *.lint lex.yy.c lex.yy.cc libfl.a config.log config.cache
$ make
gcc -c -I. -I/omg/apache22/flex-2.5.4 -g -O ccl.c
gcc -c -I. -I/omg/apache22/flex-2.5.4 -g -O dfa.c
gcc -c -I. -I/omg/apache22/flex-2.5.4 -g -O ecs.c
gcc -c -I. -I/omg/apache22/flex-2.5.4 -g -O gen.c
gcc -c -I. -I/omg/apache22/flex-2.5.4 -g -O main.c
gcc -c -I. -I/omg/apache22/flex-2.5.4 -g -O misc.c
gcc -c -I. -I/omg/apache22/flex-2.5.4 -g -O nfa.c
/opt/byacc/bin/byacc -d /omg/apache22/flex-2.5.4/parse.y
*** Termination signal 138
Stop.
$
Thanks for any help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 04:15 AM
02-13-2002 04:15 AM
Re: yacc problems on HP-UX 11
What is output of
file core
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 05:25 AM
02-13-2002 05:25 AM
Re: yacc problems on HP-UX 11
Berkeley Yacc is in the public domain. The data structures and algorithms
used in Berkeley Yacc are all either taken from documents available to the
general public or are inventions of the author. Anyone may freely distribute
source or binary forms of Berkeley Yacc whether unchanged or modified.
Distributers may charge whatever fees they can obtain for Berkeley Yacc.
Programs generated by Berkeley Yacc may be distributed freely.
Bugs may be reported to
corbett@berkeley.edu
Do not expect rapid responses.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 05:37 AM
02-13-2002 05:37 AM
Re: yacc problems on HP-UX 11
Are you using gnu's binutil's (as, and ld)?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 05:47 AM
02-13-2002 05:47 AM
Re: yacc problems on HP-UX 11
Still waiting on
file core
Also make sure your patches are upto date
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 06:19 AM
02-13-2002 06:19 AM
Re: yacc problems on HP-UX 11
I am fairly sure that a 138 is a sigbus
Example
'file CORE'
CORE: core file from 'icd' - received SIGBUS
If this is so there is a problem in the byacc.
Make sure you have the latest patches.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 06:27 AM
02-13-2002 06:27 AM
Re: yacc problems on HP-UX 11
can you post your kernel parameters? the version of gcc? the version of your OS, and when the last patch bundle was applied?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 07:23 AM
02-13-2002 07:23 AM
Re: yacc problems on HP-UX 11
Guys - thanks for replies, I got diverted and have only just got back - I'll answer what I can:
1) output of file core:$ file core
core: core file from 'byacc' - received SIGBUS
the byacc was obtained from
http://hpux.connect.org.uk/hppd/cgi-bin/search
and installed using swinstall - the only warning was that could not link /bin to /usr/bin as the link already existed, so assumed this was not a problem.
2) Are you using gnu's binutil's (as, and ld)?
- not sure what this means. I'm trying to install Apache, which needs flex, which needs byacc. I've invoked configure with various options and then make in the Apache install directory, but the flex build crashes with termination signal 138 when invoking byacc
3) Also make sure your patches are upto date
- how can I tell if my pathces are up to date ?
4) can you post your kernel parameters? the version of gcc? the version of your OS, and when the last patch bundle was applied?
- how do I report my kernal parameters
gcc
$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.9-hppa-991112/specs
gcc version 2.9-hppa-991112
OS
$ uname -a
HP-UX wpsc02 B.11.00 U 9000/800 105911507 unlimited-user license
- how can I tell when the last patch bundle was applied.
BTW - I am just a standard user, not a sys admin, so should it be possible for me to install Apache (needs flex (needs byacc)) without having root password
Thanks
Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 07:30 AM
02-13-2002 07:30 AM
Re: yacc problems on HP-UX 11
then try posting output of
swlist -l fileset -a title -a revision -a state
Example patch
Patch Name: PHCO_23873
Patch Description: s700_800 11.00 sh-posix(1) cumulative patch
Creation Date: 01/04/26
Post Date: 01/05/07
Repost: 01/09/28
The patch documentation was modified to remove references to
here-document related defects that are not fully addressed.
The defects described in Service Request 1653264812
(DSDe443517), are 1653288449 (JAGaa67949) and 1653238170
(DSDe440895) not fully addressed in the patch so references
to these defect fixes were removed from the patch
documentation.
Hardware Platforms - OS Releases:
s700: 11.00
s800: 11.00
Products: N/A
Filesets:
OS-Core.CORE-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP
OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP
Automatic Reboot?: No
Status: General Release
Critical: No
Category Tags:
defect_repair general_release
Path Name: /hp-ux_patches/s700_800/11.X/PHCO_23873
Symptoms:
PHCO_23873:
1. Shell core dumps on receiving an early
SIGWINCH signal during its startup.
2. When a functon, that calls a return builtin
immediately after executing a nonshell builtin,
is executed with -c option, shell exits abruptly.
PHCO_22537:
1. sh-posix read does not set REPLY by default.
2. sh-posix gets SIGBUS when executing scripts.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 07:56 AM
02-13-2002 07:56 AM
Re: yacc problems on HP-UX 11
Please see file attachment swlist.output
Thanks
Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2002 12:06 AM
02-14-2002 12:06 AM
Re: yacc problems on HP-UX 11
problem 1 all software should be on configured
# CIFS-Client HP CIFS/9000 Client A.01.02
CIFS-Client.CIFSCLIENT-RUN Run-time programs and libraries for CIFS/9000 Client for 64-bit systems A.01.02 corrupt
# CIFS-Client HP CIFS/9000 Client A.01.06
CIFS-Client.CIFSCLIENT-RUN Run-time programs and libraries for CIFS/9000 Client for 64-bit systems A.01.06 corrupt
# CIFS-Development CIFS/9000 server source code files A.01.02
CIFS-Development.CIFS-PRG CIFS/9000 source code files A.01.02 configured
# CIFS-Server CIFS/9000 (Samba) File and Print Services A.01.02
CIFS-Server.CIFS-ADMIN CIFS/9000 (Samba) Web Administration Tool (SWAT) A.01.02 configured
CIFS-Server.CIFS-DOC Samba Documentation (original) A.01.02 configured
CIFS-Server.CIFS-MAN UNIX MAN pages A.01.02 configured
CIFS-Server.CIFS-RUN Run-time programs and libraries A.01.02 configured
CIFS-Server.CIFS-UTIL Scripts and utilities A.01.02 configured
# CPS Compiler Parallel Support Library B.11.00
Your CIFS runtime is on corrupt and needs reinstalling.
Problem 2. Patch level.
Ensure that all of these patches are on your machine.You can download the ones you need from itrc
PHCO_23651
PHCO_23873
PHCO_23963
PHCO_25707
PHKL_22589
PHKL_22677
PHKL_23226
PHKL_24027
PHSS_24301
PHSS_24303
try again.
Normally if sigbus is found in a 3rd party program we cannot help very much.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2002 12:35 AM
02-14-2002 12:35 AM
Re: yacc problems on HP-UX 11
Problem is almost sorted for the moment - I had the wrong options in a script for configure. Once I had resolved that, then Apache builds. Thanks for your help so far.
BUT................
I need to build Apache with SSL support; I have built open-ssl and set the path to ssl in the Apache configure script. However, the Apache configure script reports:
Error: Cannot find SSL binaries under /omg/apache22/openssl-engine-0.9.6c/ssl
+ SSL interface plugin: Configured DBM (-ldbm)
I think it's best to close this dialogue - I'll open another one for building SSL support
Thanks
Geoff