HP3000-L Archives

August 1997, Week 5

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:
Raghuram B <[log in to unmask]>
Reply To:
Raghuram B <[log in to unmask]>
Date:
Wed, 20 Aug 1997 12:02:34 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (88 lines)
Hi!

        Thanx for the prompt response. It's a software written partly
in C and partly in C++, in HP-UX.  I'm making the modifications you
suggested.  Will get back with further troubles (if any)!

With regards,
Raghuram

Mark Bixby wrote:
>
> Raghuram B writes:
> >         While trying to compile and link some software in MPE/iX
> > 5.5, I encountered the following run-time (loader) errors.  Please
> > respond,if intrinsics for any of these are available or if there
> > are any other ways to resolve them.
>
> Looks like you're trying to port a C program from Unix.  Which program and
> from what flavor of Unix?
>
> MPE does not support any of these unresolved externals in POSIX.
>
> > UNRESOLVED EXTERNALS: strdup  (LDRERR 512)
>
> How Apache deals with this:
>
> #ifdef NEED_STRDUP
> char *strdup (const char *str)
> {
>   char *dup;
>
>   if(!(dup = (char *)malloc (strlen (str) + 1)))
>       return NULL;
>   dup = strcpy (dup, str);
>
>   return dup;
> }
> #endif
>
> > UNRESOLVED EXTERNALS: tempnam  (LDRERR 512)
>
> Shouldn't be too hard to generate a unique filename on your own without this.
>
> > UNRESOLVED EXTERNALS: initgroups  (LDRERR 512)
>
> Process groups aren't supported at all by MPE.  Just comment out this call.
>
> > UNRESOLVED EXTERNALS: cfgetispeed  (LDRERR 512)
> > UNRESOLVED EXTERNALS: cfgetospeed  (LDRERR 512)
> > UNRESOLVED EXTERNALS: cfsetispeed  (LDRERR 512)
> > UNRESOLVED EXTERNALS: cfsetospeed  (LDRERR 512)
> > UNRESOLVED EXTERNALS: tcsetattr  (LDRERR 512)
> > UNRESOLVED EXTERNALS: tcflush  (LDRERR 512)
> > UNRESOLVED EXTERNALS: tcgetattr  (LDRERR 512)
>
> These should all be doable via the intrinsics FCONTROL and FDEVICECONTROL.
>
> > UNRESOLVED EXTERNALS: gettimeofday  (LDRERR 512)
>
> Try and use another time function....
>
> > UNRESOLVED EXTERNALS: fgetccent  (LDRERR 512)
> > UNRESOLVED EXTERNALS: cnodes  (LDRERR 512)
>
> I've never heard of these.
>
> > UNRESOLVED EXTERNALS: setmntent  (LDRERR 512)
> > UNRESOLVED EXTERNALS: getmntent  (LDRERR 512)
> > UNRESOLVED EXTERNALS: endmntent  (LDRERR 512)
>
> You're out of luck here, since the concepts of file systems and mount points
> does not exist in MPE.
>
> > UNRESOLVED EXTERNALS: utmpname  (LDRERR 512)
> > UNRESOLVED EXTERNALS: setutent  (LDRERR 512)
> > UNRESOLVED EXTERNALS: getutline  (LDRERR 512)
> > UNRESOLVED EXTERNALS: endutent  (LDRERR 512)
> > UNRESOLVED EXTERNALS: pututline  (LDRERR 512)
>
> There is no such thing as utmp in MPE POSIX.
>
> > UNRESOLVED EXTERNALS: __dl__FPv  (LDRERR 512)
> > UNRESOLVED EXTERNALS: __nw__FUi  (LDRERR 512)
> > UNRESOLVED EXTERNALS: towupper__FUi  (LDRERR 512)
> > UNRESOLVED EXTERNALS: towlower__FUi  (LDRERR 512)
>
> Never heard of these.

ATOM RSS1 RSS2