wehr@fmeed1.UUCP (Bruce Wehr) (11/18/89)
I had one last problem trying to get HP-UX 6.5 and Perl 3.0 Patch 4 to
play nice together. Actually, Perl itself compiled fine - it was [as]2p
that broke.
It seems that HP-UX 6.5 doesn't support the bcopy() and bzero() calls
(at least - not in libc, nor is it documented anywhere). Someone,
however, decided to slip bcopy() into the [n]dbm libraries. They chose
(for some reason) *not* to include bzero().
Well, need I go further? Yes? OK.
Larry Wall's Configure script detects bcopy() in one of the libraries
(he doesn't know which one - nor does he care) and says - HA! This
machine has bcopy()! It must have bzero(), too!
Sorry, Larry. There are still twit operating systems out there. HP-UX
is getting better. Patience. And until then, check for both (or
something).
Oh, BTW - my fix was to change d_bcopy from define to undef in
config.sh, re-run all the *.SH files (including x2p/*.SH), and re-do all
the make steps. Hope someone finds this info helpful.
--
Bruce Wehr (wehr%dptc.decnet@srlvx0.srl.ford.com)
(...!mailrus!sharkey!fmeed1!wehr) (wehr%fmeed1.uucp@mailgw.cc.umich.edu)
Ford Motor Company - Electronics Division
17000 Rotunda Drive, ETC Room LN081, Dearborn, Michigan 48121 (313)845-3039edwin@praxis.cs.ruu.nl (Edwin Kremer) (11/20/89)
In article <4521@fmeed1.UUCP> wehr@fmeed1.UUCP (Bruce Wehr) writes: > It seems that HP-UX 6.5 doesn't support the bcopy() and bzero() calls > (at least - not in libc, nor is it documented anywhere). Correct. Both routines are in the BSD library (/usr/lib/libBSD.a) that you can link using "-lBSD". It has some other interesting BSD library routines as well... I couldn't find documentation on this as well (I didn't search for it *very* hard either), but I did an "nm /usr/lib/libBSD.a" to find out. --[ Edwin ]-- -- Edwin Kremer, Department of Computer Science, University of Utrecht Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands Phone : +31 - 30 - 534104 | Telefax: +31 - 30 - 513791 E-Mail: edwin@cs.ruu.nl | UUCP to: ...!hp4nl!ruuinf!edwin
burdick@hpindda.HP.COM (Matt Burdick) (11/20/89)
> Larry Wall's Configure script detects bcopy() in one of the libraries (he > doesn't know which one - nor does he care) and says - HA! This machine > has bcopy()! It must have bzero(), too! Both are in /usr/lib/libBSD.a
rodean@hpfcdc.HP.COM (Bruce Rodean) (11/21/89)
In article <4521@fmeed1.UUCP> wehr@fmeed1.UUCP (Bruce Wehr) writes: > It seems that HP-UX 6.5 doesn't support the bcopy() and bzero() calls > (at least - not in libc, nor is it documented anywhere). Someone, > however, decided to slip bcopy() into the [n]dbm libraries. They chose > (for some reason) *not* to include bzero(). Yes it does, it only isn't advertised very well. Take a look at libBSD.a for all the bstring(3) functionality except ffs(). Regards, Bruce Rodean rodean%hpfclg@hplabs.HP.COM
wehr@fmeed1.UUCP (Bruce Wehr) (11/22/89)
I would like to thank everyone who pointed out to me that bcopy() and
bzero() (along with other neat stuff) could be found in
/usr/lib/libBDS.a (BOY! If anyone deserved an RTFM flame, it's me :-; )
Thanks again!
--
Bruce Wehr (wehr%dptc.decnet@srlvx0.srl.ford.com)
(...!mailrus!sharkey!fmeed1!wehr) (wehr%fmeed1.uucp@mailgw.cc.umich.edu)
Ford Motor Company - Electronics Division
17000 Rotunda Drive, ETC Room LN081, Dearborn, Michigan 48121 (313)845-3039decot@hpisod2.HP.COM (Dave Decot) (11/28/89)
> I would like to thank everyone who pointed out to me that bcopy() and > bzero() (along with other neat stuff) could be found in > /usr/lib/libBDS.a (BOY! If anyone deserved an RTFM flame, it's me :-; ) Slight correction... That's /usr/lib/libBSD.a, for any of you that are going to try this. Dave