HP3000-L Archives

January 2000, 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:
Reply To:
Date:
Thu, 13 Jan 2000 09:51:09 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (27 lines)
>> You can use the c89 compiler under the MPE/iX Shell to accomplish
>> what you need.

>That made my actual test code go through the compiler, but I still
>get an unresolved on alarm.

>Commands used:

>ccxl timers.c timers.o $null -Aa -g
>link from=timers.o, xdbend.lib.sys;to=timers.bin; &
>   rl=^oarls.lib;xl="oraclexl.pub.oracle6";cap=ia,ba,ph,mr,pm;privlev=2

You're missing the C libraries. IIRC, alarm() was only implemented in the
POSIX library, not in LIBC.LIB.SYS. Try including /lib/libc.a as an RL
in the link. I'm not sure this will work, but it is worth a try. If that
fails, do the compile and link from within the shell (use c89 to do
both).

Alternately, use gcc instead of c89 (if you've installed the GNU tools).

Hope this helps.

Regards,


M.

ATOM RSS1 RSS2