🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #378

definition of L_SET missing if SVR3?

#378
From: Scott Sheldon Bertilson
Date: Thu, 24 Jan 1991 08:07
26 lines
2264 bytes
  I've got g++ apparently running OK, but got stuck compiling
	tests/test.hello.cc
because it says "L_SET" is undefined.  I don't believe that this
is normally defined by any include files in SVR3 (Altos SVR3.1),
and can't find any conditional compilation stuff that defines it
in header files with gcc or g++.  (Can't find it in the "standard"
header files on SCO ODT either...)
  Where am I supposed to get it or stash a definition?
				Thanks..Scott S. Bertilson
					ssb%quest.UUCP@cs.umn.edu
					scott@poincare.geom.umn.edu

P.S. Here's a compile with "-v":
g++ version 1.37.1 (based on GCC 1.37)
 /usr/gnu/aglib/gcc-cpp -+ -v -DUSG -DCOFF_ENCAPSULATE -DLDXX="" -DCRT1X="/usr/gnu/lib/crt1+.o" -I/usr/ssb/GNU/libg++-1.37.0/g++-include -undef -D__GNUC__ -D__GNUG__ -D__cplusplus -Dunix -Di386 -D__unix__ -D__i386__ -D__OPTIMIZE__ -Wall test.hello.cc /usr/tmp/cca27762.cpp
GNU CPP version 1.37.1
 /usr/gnu/aglib/gcc-cc1plus /usr/tmp/cca27762.cpp -quiet -dumpbase test.hello.cc -fstrength-reduce -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized -g -O -Wall -version -o /usr/tmp/cca27762.s
GNU C++ version 1.37.1 (based on GCC 1.37) (80386, BSD syntax) compiled by GNU C version 1.37.1.
default target switches: -m80387
In file included from /usr/ssb/GNU/libg++-1.37.0/g++-include/sys/fcntl.h:8, from /usr/ssb/GNU/libg++-1.37.0/g++-include/sys/file.h:22, from test.hello.cc:14:
//usr/include/sys/fcntl.h:43: warning: `flock' was declared `extern' and later `static'
test.hello.cc: In method void *tfile::load ():
test.hello.cc:106: `L_SET' undeclared (first use this function)
test.hello.cc:106: (Each undeclared identifier is reported only once
test.hello.cc:106: for each function it appears in.)
Technical Details
Message-ID: <9101240207.AA11110@quest.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!CS.UMN.EDU!quest!ssb

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!CS.UMN.EDU!quest!ssb
From: quest!ssb@CS.UMN.EDU (Scott Sheldon Bertilson)
Newsgroups: gnu.g++.help,comp.lang.c++
Subject: definition of L_SET missing if SVR3?
Message-ID: <9101240207.AA11110@quest.UUCP>
Date: 24 Jan 91 08:07:43 GMT
Sender: daemon@tut.cis.ohio-state.edu
Followup-To: gnu.g++.help
Organization: Gatewayed from the GNU Project mailing list help-g++@prep.ai.mit.edu
Lines: 26