[OpenAFS-devel] where to set compile flags

Martin MOKREJŠ mmokrejs@natur.cuni.cz
Thu, 12 Dec 2002 19:30:06 +0100 (CET)


On Thu, 12 Dec 2002, Derrick J Brashear wrote:

> > Isn't much better solutions. I see some prepared Makefile.sgi65 are being
> > copied over, it seems I really cannot add -g2 easily. Could someone who
> > developed the auto* part shed more light into the process?
>
> The auto* stuff was glued over the old build system, which then started
> evolving underneath
>
> Try
> make DBG=-g

Well, that unfortunately did not help either:

cc -Dsgi_65 -O -I/scratch/openafs-1.2.8-rc3/src/config -I. -I/scratch/openafs-1.2.8-rc3/include -I/usr/include/sys/fs -n32 -mips3 -woff 1009,1110,1116,1164,1171,1177,1183,1185,1204,1233,1515,1516,1548,1169,1174,1177,1196,1498,1506,1552 -g2 -I/usr/local/include -I/software/@sys/usr/include -I/usr/local/BerkeleyDB.4.0/include -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -I/software/@sys/usr/include/libxml2 -I/software/@sys/usr/include/libwmf  -c -o partition.o partition.c
cc-1367 cc: ERROR File = partition.c, Line = 291
  A pointer to an incomplete class type is not allowed.

            if (dp->d_name[0] == 'V') {
                ^

cc-1367 cc: ERROR File = partition.c, Line = 365
  A pointer to an incomplete class type is not allowed.

        strncat(pname, de->d_name, 20);
                       ^

2 errors detected in the compilation of "partition.c".
make[3]: *** [partition.o] Error 2
make[3]: Leaving directory `scratch/openafs-1.2.8-rc3/src/vol'

-- 
Martin Mokrejs <mmokrejs@natur.cuni.cz>, <m.mokrejs@gsf.de>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics <http://mips.gsf.de>
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585