Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Feb 2007 14:47:53 -0800 (PST)
From:      youshi10@u.washington.edu
To:        freebsd-questions@freebsd.org
Subject:   Re: Can't get make buildworld to work with recent cvsup. - Addl
Message-ID:  <Pine.LNX.4.43.0702091447530.5619@hymn09.u.washington.edu>
In-Reply-To: <eqid4m$f0l$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 9 Feb 2007, Alain Wolf wrote:

> On 09.02.2007 03:03, * Nicole Harrington wrote:
>> --- Garrett Cooper <youshi10@u.washington.edu> wrote:
>>> Nicole Harrington wrote:
>>>>  Something setup wrong some place??
>>>>
>>>>  cd /usr/src/lib ; make
>>>>
>>>> .....
>>>> c -pg -O2 -fno-strict-aliasing -pipe
>>> -march=opteron
>>>> -I/usr/src/lib/libftpio
>>>> -Wall -DINET6  -c /usr/src/lib/libftpio/ftpio.c -o
>>>> ftpio.po
>>>> cc -pg -O2 -fno-strict-aliasing -pipe
>>> -march=opteron
>>>> -I/usr/src/lib/libftpio
>>>> -Wall -DINET6  -c ftperr.c -o ftperr.po
>>>> building profiled ftpio library
>>>> ranlib libftpio_p.a
>>>> cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe
>>>> -march=opteron
>>>> -I/usr/src/lib/libftpio -Wall -DINET6  -c
>>>> /usr/src/lib/libftpio/ftpio.c
>>>> -o
>>>> ftpio.So
>>>> cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe
>>>> -march=opteron
>>>> -I/usr/src/lib/libftpio -Wall -DINET6  -c ftperr.c
>>> -o
>>>> ftperr.So
>>>> building shared library libftpio.so.6
>>>> gzip -cn /usr/src/lib/libftpio/ftpio.3 >
>>> ftpio.3.gz
>>>> ===> libgeom (all)
>>>> cc -O2 -fno-strict-aliasing -pipe -march=opteron
>>>> -I/usr/src/lib/libgeom
>>>> -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
>>>> -Wno-unused-parameter
>>>> -Wstrict-prototypes -Wmissing-prototypes
>>>> -Wpointer-arith
>>>> -Wno-uninitialized -c
>>>> /usr/src/lib/libgeom/geom_getxml.c
>>>> cc -O2 -fno-strict-aliasing -pipe -march=opteron
>>>> -I/usr/src/lib/libgeom
>>>> -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
>>>> -Wno-unused-parameter
>>>> -Wstrict-prototypes -Wmissing-prototypes
>>>> -Wpointer-arith
>>>> -Wno-uninitialized -c
>>>> /usr/src/lib/libgeom/geom_stats.c
>>>> cc -O2 -fno-strict-aliasing -pipe -march=opteron
>>>> -I/usr/src/lib/libgeom
>>>> -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
>>>> -Wno-unused-parameter
>>>> -Wstrict-prototypes -Wmissing-prototypes
>>>> -Wpointer-arith
>>>> -Wno-uninitialized -c
>>>> /usr/src/lib/libgeom/geom_xml2tree.c
>>>> /usr/src/lib/libgeom/geom_xml2tree.c:255: error:
>>>> syntax error before
>>>> '*' token
>>>> /usr/src/lib/libgeom/geom_xml2tree.c:256: warning:
>>>> type qualifiers
>>>> ignored on
>>>> function return type
>>>> /usr/src/lib/libgeom/geom_xml2tree.c:256: warning:
>>>> return type defaults
>>>> to `int'
>>>> /usr/src/lib/libgeom/geom_xml2tree.c:256: warning:
>>>> function declaration
>>>> isn't a
>>>> prototype
>>>> /usr/src/lib/libgeom/geom_xml2tree.c: In function
>>>> `CharData':
>>>> /usr/src/lib/libgeom/geom_xml2tree.c:260: error:
>>>> `userData' undeclared
>>>> (first
>>>> use in this function)
>>>> /usr/src/lib/libgeom/geom_xml2tree.c:260: error:
>>> (Each
>>>> undeclared
>>>> identifier is
>>>> reported only once
>>>> /usr/src/lib/libgeom/geom_xml2tree.c:260: error:
>>> for
>>>> each function it
>>>> appears
>>>> in.)
>>>> /usr/src/lib/libgeom/geom_xml2tree.c:262: error:
>>> `s'
>>>> undeclared (first
>>>> use in
>>>> this function)
>>>> /usr/src/lib/libgeom/geom_xml2tree.c:263: error:
>>> `len'
>>>> undeclared
>>>> (first use in
>>>> this function)
>>>> /usr/src/lib/libgeom/geom_xml2tree.c: In function
>>>> `geom_xml2tree':
>>>> /usr/src/lib/libgeom/geom_xml2tree.c:286: error:
>>>> syntax error before
>>>> "parser"
>>>> /usr/src/lib/libgeom/geom_xml2tree.c:296: error:
>>>> `parser' undeclared
>>>> (first use
>>>> in this function)
>>>> /usr/src/lib/libgeom/geom_xml2tree.c:296: warning:
>>>> implicit declaration
>>>> of
>>>> function `XML_ParserCreate'
>>>> /usr/src/lib/libgeom/geom_xml2tree.c:301: warning:
>>>> implicit declaration
>>>> of
>>>> function `XML_SetUserData'
>>>> /usr/src/lib/libgeom/geom_xml2tree.c:302: warning:
>>>> implicit declaration
>>>> of
>>>> function `XML_SetElementHandler'
>>>> /usr/src/lib/libgeom/geom_xml2tree.c:303: warning:
>>>> implicit declaration
>>>> of
>>>> function `XML_SetCharacterDataHandler'
>>>> /usr/src/lib/libgeom/geom_xml2tree.c:304: warning:
>>>> implicit declaration
>>>> of
>>>> function `XML_Parse'
>>>> /usr/src/lib/libgeom/geom_xml2tree.c:307: warning:
>>>> implicit declaration
>>>> of
>>>> function `XML_ParserFree'
>>>> *** Error code 1
>>>>
>>>> Stop in /usr/src/lib/libgeom.
>>>> *** Error code 1
>>>>
>>>> Stop in /usr/src/lib.
>>>>
>>>>
>>>>  ARGG!!
>>>>
>>>>    Nicole
>>> Doesn't look like it's compiling libgeom or geom
>>> related dependencies.
>>> What's your /etc/make.conf look like and what
>>> version are you trying to
>>> compile with buildworld?
>>
>>
>>  Actually.. That seems to be happening with even no
>> /etc/make.conf
>>
>>  I even copied the /usr/src from another older server
>> that built fine to this server (same server type) and
>> it fails in the same way.
>>
>>
>>  It's just driving me crazy.
>>
>>   Nicole
>>
>>
>>   Nicole
>>
>>
>>> -Garrett
>>
> According to the Handbook ....
>
> 21.4.7.2 Compile the Base System
>
> You must be in the /usr/src directory:
>
> # cd /usr/src
> # make -j4 buildworld

Ah, didn't notice that line. If you intend to make from a subdirectory in /usr/src, you should run "make clean depend install"--this shouldn't occur that often though.
-Garrett




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.43.0702091447530.5619>