🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.internals
Article #2416

Re: SVR4: getminor(D3DK)

#2416
From: Thomas Jagodits
Date: Mon, 14 Dec 1992 12:06
37 lines
1731 bytes
In article <1992Dec14.034005.13663@hawkmoon.mn.org> det@hawkmoon.mn.org (Derek Terveer) writes:
>I am having problems with the getminor() call.  I am making some calls
>to getminor() in order to extract the minor numbers, according to the
>ddi/dki ref manual:
>
>
>#define  dev_to_cont(dev)  (ushort)(((getminor((dev_t)dev))>>10)&3)
>

	[some deleted text]

>        The UNIX Operating System will now be rebuilt.
>        This will take some time.  Please wait.
>
>Undefined                       first referenced
> symbol                             in file
>__minor                             sdsg/Driver.o
>__major                             sdsg/Driver.o
>__makedev                           sdsg/Driver.o
>ld: ../cf.d/unix: fatal error: Symbol referencing errors. No output written to .
>./cf.d/unix
>ERROR: Can not link-edit unix
>
>Why?
>

	Did you miss to include <sys/sysmacros.h> ?
	All the listed undefined are there.

>derek
>-- 
>Derek Terveer   Work:	derekt@stpaul.gov	+1 612 292 6009
>		Play:	det@hawkmoon.mn.org	+1 612 683 0413
>"Big business and big government distract us with entertainment;
> they manufacture our consent while we destroy the environment."

	thomas.
Technical Details
Message-ID: <1992Dec14.120638.25587@spectrum.xerox.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!nigel.msen.com!hela.iti.org!cs.widener.edu!dsinc!ub!galileo.cc.rochester.edu!rochester!rocksanne!vega2!jagodits
References: <1992Dec14.034005.13663@hawkmoon.mn.org>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!nigel.msen.com!hela.iti.org!cs.widener.edu!dsinc!ub!galileo.cc.rochester.edu!rochester!rocksanne!vega2!jagodits
From: jagodits@vega2.wrc.Xerox.COM (Thomas Jagodits)
Newsgroups: comp.unix.internals
Subject: Re: SVR4: getminor(D3DK)
Message-ID: <1992Dec14.120638.25587@spectrum.xerox.com>
Date: 14 Dec 92 12:06:38 GMT
References: <1992Dec14.034005.13663@hawkmoon.mn.org>
Sender: news@spectrum.xerox.com
Organization: Xerox
Lines: 37