[comp.unix.xenix.sco] Zortech C++ and Xenix

ianhogg@cs.umn.edu (Ian J. Hogg) (06/19/91)

I've got a problem using Zortech C++ on SCO Xenix 386 2.3.2.  I am writing an
application in C++ that utilizes db_vista (a database library) compiled with
xenix cc.  When I link the program I get unsatisfied externals on:

  __fltused, semctl, semget, msgsnd, ftok, msgctl, msgget, msgrcv, & lockf.

It appears that ztc does not link in the xenix Slibc.a nor have they implemented
any functions that are not in their dos library.

I get even more problems if I try to link Slibc.a (and Slibcfp.a)on the ztc 
command line.  I extracted the necessary ".o"'s for everything bu __fltused from
the Xenix lib and made my own lib.  When I tried doing the same for __fltused, 
it seemed like I was heading down a path of no end of needing more and more ".o"'s from the Xenix libs.

My questions is this:  Has anyone used ztc to compile programs that need to make
system calls?  How did you do it?

What does fltused do?  Is their some way I can fake it?


I hope someone can be of help.
-- 
===============================================================================
Ian Hogg						ianhogg@cs.umn.edu
                                                        (612) 225-1401