Re: [ROOT] error during compilation

From: Elena Vataga (vataga@fnal.gov)
Date: Tue Mar 18 2003 - 12:14:20 MET


Hello!

The very first error I get was

** Building freetype/src/freetype-2.1.3/objs/.libs/libfreetype.a...
gmake[1]: Entering directory
`/home/users/vataga/ROOT/root/freetype/src/freetype-2.1.3'
builds/detect.mk:97: no file name for `include'
builds/modules.mk:74: no file name for `include'

AFter I put libfreetype.a (from /usr/X11R6/lib/)
in freetype/src/freetype-2.1.3/objs/.libs/
by hand, so gmake went ahead untill those missing links.

Repeat, I used to build root on my PC many times, it was always working
before....

I used ./configure linux
before gmake

Thanks,
	Elena


On Tue, 18 Mar 2003, Fons Rademakers wrote:

> Seems something went wrong with the libfreetpe build on your machine. Do
> you have libfreetype.a in your $ROOTSYS/lib directory?
>
> Cheers, Fons.
>
>
> On Tue, 2003-03-18 at 11:36, Elena Vataga wrote:
> > Hello!
> >
> > I was trying to make cvs upgrade, but failed this time:
> >
> > g++ -O  -o bin/root.exe main/src/rmain.o  \
> > 	   -Llib -lCore -lCint -lHist -lGraf -lGraf3d -lTree -lMatrix
> > -lRint -lm -ldl -L/usr/lib -lpthread -rdynamic
> > lib/libGraf.so: undefined reference to `FT_Init_FreeType'
> > lib/libGraf.so: undefined reference to `FT_Load_Glyph'
> > lib/libGraf.so: undefined reference to `FT_Done_Face'
> > lib/libGraf.so: undefined reference to `FT_Get_Kerning'
> > lib/libGraf.so: undefined reference to `FT_Get_Char_Index'
> > lib/libGraf.so: undefined reference to `FT_Set_Charmap'
> > lib/libGraf.so: undefined reference to `FT_Get_Glyph'
> > lib/libGraf.so: undefined reference to `FT_Vector_Transform'
> > lib/libGraf.so: undefined reference to `FT_Done_FreeType'
> > lib/libGraf.so: undefined reference to `FT_Set_Char_Size'
> > lib/libGraf.so: undefined reference to `FT_Done_Glyph'
> > lib/libGraf.so: undefined reference to `FT_Library_Version'
> > lib/libGraf.so: undefined reference to `FT_Glyph_Get_CBox'
> > lib/libGraf.so: undefined reference to `FT_New_Face'
> > lib/libGraf.so: undefined reference to `FT_Glyph_Transform'
> > collect2: ld returned 1 exit status
> > gmake: *** [bin/root.exe] Error 1
> >
> >
> > Please, could you help me?
> > I am using RH6
> > gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
> >
> > 	Thank you in advance,
> > 			Elena
> --
> Org:    CERN, European Laboratory for Particle Physics.
> Mail:   1211 Geneve 23, Switzerland
> E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
> WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480
>



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET