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)
|