HP3000-L Archives

August 1997, Week 3

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:
Sat, 16 Aug 1997 17:24:47 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (83 lines)
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.
--
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