[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compiling under RedHat 7.0
Hi,
I recently upgraded my RedHat 5.2 PC to RedHat 7.0 and I'm having
problems compiling PDP++ V 2.0.3.
Firstly it seems that RedHat 7.0 comes with both egcs-1.1.2 and
gcc-2.9.6 as separate compilers. Compilation seems to work best if I
set the compiler to egcs and set the preprocessor to be the one that
comes with egcs. The one with gcc-2.9.6 spews out lots of warnings
about not being able to paste things (amongst others).
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
Any ideas?
James