HP3000-L Archives

October 1997, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Bixby <[log in to unmask]>
Reply To:
Date:
Wed, 8 Oct 1997 16:46:08 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
Stan Sieler writes:
> The following program works only if compiled in the
> POSIX shell *and* run from the shell.  Annoyingly,
> if compiled in POSIX, and run from CI, it fails
> (select() times out).
>
> If compiled from the CI, and run from CI or shell, it fails.

...deletia...

> /* POSIX example:                                              */
> /*    cc sock.c -o sock -lsocket                               */

...deletia...

> /* CI example:                                                 */
> /*       Note: library list from HP ESC note JA9210151100      */
> /*    :ccxl sock.c, $newpass, $null; info="-Aa"                */
> /*    :link from=$oldpass, SOCKETRL.NET.SYS,LIBCINIT.LIB.SYS,& */
> /*        LIBCANSI.LIB.SYS,LIBMANSI.LIB.SYS,LIBCRAND.LIB.SYS;& */
> /*        to=sock.pub;cap=ia,ba,ph"                            */

Maybe SOCKETRL.NET.SYS is not functionally equivalent to -lsocket aka
/usr/lib/libsocket.a?

I'd try replacing SOCKETRL.NET.SYS with /usr/lib/libsocket.a in the CI
:link example.
--
Mark Bixby                      E-mail: [log in to unmask]
Coast Community College Dist.   Web: http://www.cccd.edu/~markb/
District Information Services   1370 Adams Ave, Costa Mesa, CA, USA 92626-5429
Technical Support               +1 714 438-4647
"You can tune a file system, but you can't tune a fish." - tunefs(1M)

ATOM RSS1 RSS2