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

Re: Compiling under RedHat 7.0



I don't know if you've made any progress on this, but it looks to me
like your libX11 is not compatible with the egcs compiler (perhaps it
was compiled with gcc instead?)  As I understand it, RH 7.0 was a
disaster because it included a very raw version of egcs which was
object-file incompatible with previous versions...  This looks like a
manifestation of that problem.  Perhaps you can install an rpm with
egcs compiled libX11?? or maybe it is located in a different
directory? 

James Hammerton <james@tardis.ed.ac.uk> writes:
> So, using egcs-1.1.2, the compilation gets to the stage where it tries
> to compile the css executable and falls over as follows:
> 
>   Compiling:  css on sheridan in directory /usr/local/pdp++/src/css/LINUX at Mon J
>   an 15 18:58:24 GMT 2001
>   rm -f -rf ptrepository
>   egcs -fPIC -fno-implicit-templates -fno-exceptions -fno-rtti -o css -O -Wall -Wi
>   nline -DYYDEBUG  -DHAVE_POSIX_SIGNALS=1 -DRETSIGTYPE=void  -DLINUX  -L/usr/X11R6
>   /lib/ -L/usr/local/pdp++/lib/LINUX -L/usr/local/lib -L/usr/local/interviews/lib/
>   LINUX  -I/usr/include/g++-2 -I./src_include -I./src_include/css -I/usr/local/pdp
>   ++/include/LINUX -I/usr/local/include -I/usr/local/interviews/include   css_pars
>   e.o machine.o basic_types.o c_ptr_types.o css_builtin.o css_lex.o ta_css.o xmemo
>   ry.o css_iv.o special_math.o css_misc_funs.o csshell.o  \
> 	  css_ti.o -ltamisc -livgraphic -ltypea -livmisc -lreadline -ltermcap -lta
>   string -lIV -lX11   -lm
>   /usr/X11R6/lib//libX11.so: undefined reference to `getpwuid_r@GLIBC_2.1.2'
>   /usr/X11R6/lib//libX11.so: undefined reference to `shmctl@GLIBC_2.2'
>   /usr/X11R6/lib//libX11.so: undefined reference to `getpwnam_r@GLIBC_2.1.2'
>   /usr/local/pdp++/lib/LINUX/libtamisc.so: undefined reference to `ivManagedWindow
>   Rep::do_set(ivWindow *, unsigned int (ivManagedWindowRep::*)(ivManagedWindowRep 
>   *, ivManagedWindowHintInfo &))'
>   collect2: ld returned 1 exit status

				- Randy