RE: trouble compiling gnome-libs



I checked that and gcc printed the full path.  It was something like
	/usr/lib/gcclib/2.7.2/libgcc.a

Is the compiler version a problem?

Ed

> -----Original Message-----
> From:	Raja R Harinath [SMTP:harinath@cs.umn.edu]
> Sent:	Tuesday, March 31, 1998 1:20 PM
> To:	Ed Davison
> Cc:	recipient list not shown; @redhat.com@bevo
> Subject:	Re: trouble compiling gnome-libs
> 
> Ed Davison <Ed.Davison@bus.utexas.edu> writes:
> > Anyone know how to remedy this?
> > 
> > Making all in libgnomeui
> > make[2]: Entering directory `/usr/src/gnome-libs-0.13/libgnomeui'
> > /bin/sh ../libtool --mode=link gcc -g -O2  -o ted_demo  ted_demo.o
> > ../libgnomeui/libgnomeui.la ../libgnome/libgnome.la
> > ../support/libgnomesupport.la -ldl  -lgtk -lgdk -lglib -lm
> > -L/usr/X11R6/lib  -lSM -lICE -lX11 -lXext -lgdk_imlib
> ../intl/libintl.a
> > -lm 
> > gcc -g -O2 -o .libs/ted_demo ted_demo.o -Wl,-rpath
> -Wl,/usr/local/lib
> > ../libgnomeui/.libs/libgnomeui.so -Wl,-rpath -Wl,/usr/local/lib
> > ../libgnome/.libs/libgnome.so -Wl,-rpath -Wl,/usr/local/lib
> > ../support/.libs/libgnomesupport.so -ldl -lgtk -lgdk -lglib -lm
> > -L/usr/X11R6/lib -lSM -lICE -lX11 -lXext -lgdk_imlib
> ../intl/libintl.a
> > -lm
> > /usr/X11R6/lib/libtiff.so.1: undefined reference to `__eprintf'
> 						     ^^^^^^^^^^^^^
> > make[2]: *** [ted_demo] Error 1
> > make[2]: Leaving directory `/usr/src/gnome-libs-0.13/libgnomeui'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/src/gnome-libs-0.13'
> > make: *** [all-recursive-am] Error 2
> 
> Looks like you have a broken `gcc'.  `__eprintf' should be defined in
> `libgcc.a', which is automatically included into any link.  Check the
> output of
> 
> 	gcc --print-libgcc-file-name
> 
> If it just prints `libgcc.a' without any path, your `gcc' setup is
> broken.
> 
> - Hari
> -- 
> Raja R Harinath ------------------------------ harinath@cs.umn.edu
> "When all else fails, read the instructions."      -- Cahn's Axiom
> "Our policy is, when in doubt, do the right thing."   -- Roy L Ash
> 
> 
> -- 
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]