Re: ROOT 5.12.00 and CVS don't compile on FreeBSD 6.1

From: Stefan Roiser <stefan.roiser_at_cern.ch>
Date: Tue, 1 Aug 2006 17:47:49 +0200


Hi Pierre-Luc,

unfortunately I also don't have access to FreeBSD (only Mac :-)). I've committed a change to Reflex which should solve the problem below which should enable produce the proper typedef for 64 bit integer. I attach the diff so you might try it out.

Cheers

        Stefan


On 28 Jul 2006, at 21:11, Pierre-Luc Drouin wrote:

> Hi,
>
> it has compiled for a while, but now I get another error:
>
> bin/rmkdepend -R -freflex/src/Kernel.d -Y -w 1000 -- -pipe -W -Wall
> -fPIC -I/usr/X11R6/include -Iinclude -D__cplusplus -- reflex/src/
> Kernel.cxx
> g++ -O2 -pipe -W -Wall -fPIC -I/usr/X11R6/include -Iinclude -o
> reflex/src/Kernel.o -c reflex/src/Kernel.cxx
> reflex/src/Kernel.cxx: In constructor `ROOT::Reflex::Reflex::Reflex
> ()':
> reflex/src/Kernel.cxx:155: error: `longlong' undeclared (first use
> this function)
> reflex/src/Kernel.cxx:155: error: (Each undeclared identifier is
> reported only once for each function it appears in.)
> reflex/src/Kernel.cxx:163: error: `ulonglong' undeclared (first use
> this function)
> gmake: *** [reflex/src/Kernel.o] Error 1
>
> Thanks!
>
> Pierre-Luc Drouin
>
>
> Pierre-Luc Drouin wrote:
>> Axel Naumann wrote:
>>> Hi,
>>>
>>> uh, sorry, still not solved... I don't have access to a FreeBSD6.1
>>> machine, so we need your help.
>>>
>>> Please reverse the order of the #includes in mainroot.cxx, i.e. put
>>> #include <string>
>>> before
>>> extern "C" {
>>> Does that help?
>>>
>>> Cheers, Axel.
>>>
>>>
>>> Pierre-Luc Drouin wrote:
>>>
>>>> Hi,
>>>>
>>>> I get the following errors when I try to compile ROOT on FreeBSD
>>>> 6.1:
>>>>
>>>> gcc -O -pipe -W -Wall -fPIC -I/usr/X11R6/include -Iinclude -
>>>> DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -o
>>>> build/rmkdepend/cppsetup.o -c build/rmkdepend/cppsetup.c
>>>> gcc -O -pipe -W -Wall -fPIC -I/usr/X11R6/include -Iinclude -
>>>> DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -o
>>>> build/rmkdepend/ifparser.o -c build/rmkdepend/ifparser.c
>>>> gcc -O -pipe -W -Wall -fPIC -I/usr/X11R6/include -Iinclude -
>>>> DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -o
>>>> build/rmkdepend/include.o -c build/rmkdepend/include.c
>>>> gcc -O -pipe -W -Wall -fPIC -I/usr/X11R6/include -Iinclude -
>>>> DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -o
>>>> build/rmkdepend/main.o -c build/rmkdepend/main.c
>>>> gcc -O -pipe -W -Wall -fPIC -I/usr/X11R6/include -Iinclude -
>>>> DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -o
>>>> build/rmkdepend/parse.o -c build/rmkdepend/parse.c
>>>> gcc -O -pipe -W -Wall -fPIC -I/usr/X11R6/include -Iinclude -
>>>> DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -o build/
>>>> rmkdepend/pr.o
>>>> -c build/rmkdepend/pr.c
>>>> g++ -O -pipe -W -Wall -fPIC -I/usr/X11R6/include -Iinclude -
>>>> DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -o
>>>> build/rmkdepend/mainroot.o -c build/rmkdepend/mainroot.cxx
>>>> In file included from /usr/include/c++/3.4/bits/postypes.h:46,
>>>> from /usr/include/c++/3.4/iosfwd:50,
>>>> from /usr/include/c++/3.4/bits/stl_algobase.h:70,
>>>> from /usr/include/c++/3.4/bits/char_traits.h:46,
>>>> from /usr/include/c++/3.4/string:47,
>>>> from build/rmkdepend/mainroot.cxx:19:
>>>> /usr/include/c++/3.4/cwchar:166: error: `::vfwscanf' has not
>>>> been declared
>>>> /usr/include/c++/3.4/cwchar:170: error: `::vswscanf' has not
>>>> been declared
>>>> /usr/include/c++/3.4/cwchar:174: error: `::vwscanf' has not been
>>>> declared
>>>> /usr/include/c++/3.4/cwchar:191: error: `::wcstof' has not been
>>>> declared
>>>> Running build/unix/compiledata.sh
>>>> Making include/compiledata.h
>>>> bin/rmkdepend -R -fcint/src/g__cfunc.d -Y -w 1000 -- -pipe -W -Wall
>>>> -fPIC -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__ROOT -
>>>> DG__REDIRECTIO
>>>> -DG__OSFDLL -Iinclude -- cint/src/g__cfunc.c
>>>> gmake: bin/rmkdepend: Command not found
>>>> gmake: *** [cint/src/g__cfunc.o] Error 127
>>>>
>>>>
>

-- 
Stefan Roiser
CERN, PH Department
CH - 1211 Geneva 23
Mob:+41 76 487 5334
Tel:+41 22 767 4838
Fax:+41 22 766 9119
Received on Tue Aug 01 2006 - 17:48:13 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:00 MET