ssb@CS.UMN.EDU (Scott Sheldon Bertilson) (01/24/91)
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.)