* Porting from V to OSF/1 v3.2
@ 1995-11-27 5:00 Try to guess who I am
1995-11-28 5:00 ` Karen Michaels
1995-11-29 5:00 ` Ti Kan
0 siblings, 2 replies; 3+ messages in thread
From: Try to guess who I am @ 1995-11-27 5:00 UTC (permalink / raw)
Hi, there,
I have a program which can be compiled in V. However, when I compile it
under OSF/1 using cc, I got several error messages that told me the following
files do not exist.
/usr/include/sys/feature_tests.h
/usr/include/sys/machtype.h
/usr/include/sys/unistd.h
/usr/include/sys/t_lock.h
/usr/include/sys/machlock.h
/usr/include/sys/dki_lkiinfo.h
/usr/include/sys/dl.h
/usr/include/sys/sleepq.h
/usr/include/sys/turnstile.h
/usr/include/sys/mutex.h
/usr/include/sys/strmdep.h
/usr/include/sys/byteorder.h
/usr/include/vm/seg_enum.h
Could anyone tell me where these files are supposed to be in OSF/1?
I'm appreciating for your help, thank you.
Adley Lo
--
?/ This is Adley Lo. . . email : alo@ingenia.com /?
?/ \_/ g3adley@cdf.toronto.edu /?
?/ br662@torfree.net /?
?/ http://www.cdf.toronto.edu/cgi-bin/hpp?adley.html /?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Porting from V to OSF/1 v3.2
1995-11-27 5:00 Porting from V to OSF/1 v3.2 Try to guess who I am
@ 1995-11-28 5:00 ` Karen Michaels
1995-11-29 5:00 ` Ti Kan
1 sibling, 0 replies; 3+ messages in thread
From: Karen Michaels @ 1995-11-28 5:00 UTC (permalink / raw)
g3adley@cdf.toronto.edu wrote:
> I have a program which can be compiled in V. However, when I compile > it under OSF/1 using cc, I got several error messages that told me
> the following files do not exist.
>
>/usr/include/sys/feature_tests.h
>/usr/include/sys/machtype.h
>/usr/include/sys/unistd.h
>/usr/include/sys/t_lock.h
>/usr/include/sys/machlock.h
>/usr/include/sys/dki_lkiinfo.h
>/usr/include/sys/dl.h
>/usr/include/sys/sleepq.h
>/usr/include/sys/turnstile.h
>/usr/include/sys/mutex.h
>/usr/include/sys/strmdep.h
>/usr/include/sys/byteorder.h
>/usr/include/vm/seg_enum.h
>
> Could anyone tell me where these files are supposed to be in OSF/1?
Only one of these files exists on Digital UNIX:
/usr/include/unistd.h
There is a file called "/usr/include/mach_types.h". Perhaps this is the
same as "/usr/include/sys/machtype.h".
By the way, we have a FREE tool that is designed to help people
porting to Digital UNIX. It analyzes C, C++ and Fortran source code
and points out problems and potential problems. If you want more
information about it, send mail to port-comments@zko.dec.com.
Karen Michaels
Digital Equipment Corporation
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Porting from V to OSF/1 v3.2
1995-11-27 5:00 Porting from V to OSF/1 v3.2 Try to guess who I am
1995-11-28 5:00 ` Karen Michaels
@ 1995-11-29 5:00 ` Ti Kan
1 sibling, 0 replies; 3+ messages in thread
From: Ti Kan @ 1995-11-29 5:00 UTC (permalink / raw)
Try to guess who I am (g3adley@cdf.toronto.edu) wrote:
: I have a program which can be compiled in V. However, when I compile it
: under OSF/1 using cc, I got several error messages that told me the following
: files do not exist.
: /usr/include/sys/feature_tests.h
: /usr/include/sys/machtype.h
: /usr/include/sys/unistd.h
: /usr/include/sys/t_lock.h
: /usr/include/sys/machlock.h
: /usr/include/sys/dki_lkiinfo.h
: /usr/include/sys/dl.h
: /usr/include/sys/sleepq.h
: /usr/include/sys/turnstile.h
: /usr/include/sys/mutex.h
: /usr/include/sys/strmdep.h
: /usr/include/sys/byteorder.h
: /usr/include/vm/seg_enum.h
: Could anyone tell me where these files are supposed to be in OSF/1?
Looks like you're porting a device driver or something that goes in the
kernel. UNIX SVR4 supports what's called the DDI/DKI (Device Driver
Interface/Device Kernel Interface) that defines all of these interfaces
that a driver can use. However, non SVR4 UNIX platforms (such as OSF/1)
do not support the same interfaces. So, aside from the missing header
files, you will have siginificant porting work ahead of you to make your
code fit an OSF/1 kernel.
Sorry for the bad news.
-Ti
--
/// Ti Kan Windows 95 < Macintosh 89 < UNIX 70
/// AMB Research Laboratories, Sunnyvale, CA. USA
/// Internet: ti@amb.org
////// UUCP: ...!uunet!bazooka!ti
/// URL: http://www.omega.com/~ti/www/tikan/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1995-11-29 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-11-27 5:00 Porting from V to OSF/1 v3.2 Try to guess who I am
1995-11-28 5:00 ` Karen Michaels
1995-11-29 5:00 ` Ti Kan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox