[pdp-discuss] Compile error, 3.2a7 on Linux, Fedora Core 2

Randall C. O'Reilly oreilly at psych.colorado.edu
Thu Jan 19 10:16:35 MST 2006


You should compile IV from scratch -- grab the latest iv-17-pdp.tar.gz from 
the CU ftp server.  

- Randy

On Thursday 19 January 2006 10:08, Randall, Allan (Contractor) wrote:
> Hi,
>
> I am attempting to compile on a Linux x86 machine, Fedora Core 2. The
> binaries install and work fine, but the programmer version does not
> compile. I tried v3.1 and got an error, but found a message here from
> someone who had what looked like the same error, and a response saying to
> use 3.2 instead. So I tried that, but now I am getting a huge number of
> "undefined reference" errors. I have reproduced the first several, and the
> last several below (the whole list of errors is quite large, but I can post
> it if needed). These errors all mention "iv", so it looks like maybe it is
> failing to pull in the InterViews libraries? I installed them from the
> binaries archive in /usr/local/interviews, which does seem to be included
> in the -L of the g++ compile line below, so I am wondering what is wrong.
> The version of gcc is 3.3.3. Does anyone recognize this problem?
>
> Perhaps I should try a different version than either 3.1 or 3.2a7?
>
> Thanks,
>
> Allan Randall
>
> Allan.Randall at drdc-rddc.gc.ca
>
> --
>
> ...
>
> make[3]: Entering directory `/usr/local/pdp++/src/css/LINUX'
>
> Compiling:  css on pccentrifuge2 in directory
> /usr/local/pdp++/src/css/LINUX at Thu Jan 19 11:36:20 EST 2006 rm -f -rf
> ptrepository
> g++ -fPIC -fno-implicit-templates -fno-exceptions -o css -O2 -Wall
> -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./src_include -I./src_include/css
> -I/usr/local/pdp++/include/LINUX -I/usr/local/interviews/include  
> css_parse.o machine.o basic_types.o c_ptr_types.o css_builtin.o css_lex.o
> ta_css.o xmemory.o css_iv.o special_math.o css_misc_funs.o csshell.o  \
> css_ti.o -ltamisc -livgraphic -ltypea -livmisc -lreadline -ltermcap
> -ltastring -lIVhines -ljpeg -lX11 -lz   -lm
>
> css_iv.o(.text+0x35): In function `cssivSession::cssivSession[not-in-charge]
()':
> : undefined reference to `dpIOHandler::dpIOHandler[not-in-charge]()'
>
> css_iv.o(.text+0x85): In function `cssivSession::cssivSession[in-charge]()':
> : undefined reference to `dpIOHandler::dpIOHandler[not-in-charge]()'
>
> css_iv.o(.text+0xf8): In function `cssivSession::Init()':
> : undefined reference to `dpDispatcher::instance()'
>
> css_iv.o(.text+0x109): In function `cssivSession::Init()':
> : undefined reference to `dpDispatcher::instance()'
>
> css_iv.o(.text+0x15d): In function `cssivSession::Stop()':
> : undefined reference to `ivSession::instance()'
>
> css_iv.o(.text+0x191): In function `cssivSession::Quit()':
> : undefined reference to `ivSession::instance()'
>
> css_iv.o(.text+0x1e3): In function `cssivSession::ProcEvent(ivSession*)':
> : undefined reference to `ivEvent::ivEvent[in-charge]()'
>
> css_iv.o(.text+0x203): In function `cssivSession::ProcEvent(ivSession*)':
> : undefined reference to `ivEvent::type() const'
>
> ...lots more of the same...
>
> /usr/local/pdp++/lib/LINUX/libtamisc.so: undefined reference to `typeinfo
> for ivPatch' /usr/local/pdp++/lib/LINUX/libivmisc.so: undefined reference
> to `ivAdjustable::notify_all() const'
> /usr/local/pdp++/lib/LINUX/libivgraphic.so: undefined reference to
> `ivCanvasRep::finish_repair()' /usr/local/pdp++/lib/LINUX/libtamisc.so:
> undefined reference to
> `ivPrinter::ivPrinter[in-charge](std::basic_ostream<char,
> std::char_traits<char> >*)' /usr/local/pdp++/lib/LINUX/libtamisc.so:
> undefined reference to `ivSuperpose::ivSuperpose[in-charge](ivLayout*,
> ivLayout*, ivLayout*, ivLayout*, ivLayout*)'
> /usr/local/pdp++/lib/LINUX/libtamisc.so: undefined reference to
> `ivInputHandler::canvas() const' /usr/local/pdp++/lib/LINUX/libivmisc.so:
> undefined reference to `ivObservable::detach(ivObserver*)'
> /usr/local/pdp++/lib/LINUX/libtypea.so: undefined reference to
> `ivDialog::run()' collect2: ld returned 1 exit status
> make[3]: *** [css] Error 1
> make[3]: Leaving directory `/usr/local/pdp++/src/css/LINUX'
> make[2]: *** [optBin_impl] Error 2
> make[2]: Leaving directory `/usr/local/pdp++/src/css/LINUX'
> make[1]: *** [optBin] Error 2
> make[1]: Leaving directory `/usr/local/pdp++/src/css'
> make: *** [distBins] Error 1
>
> _______________________________________________
> PDP-Discuss mailing list
> PDP-Discuss at psych-srv3.Colorado.EDU
> http://psych-srv3.Colorado.EDU/mailman/listinfo/pdp-discuss


More information about the PDP-Discuss mailing list