Problem installing PopLog on RedHat 9 - error in linking 
Author Message
 Problem installing PopLog on RedHat 9 - error in linking

Hi,

I am trying to install PopLog on RedHat 9 using the
bham-linux-poplog.tar.gz file, but when running the initial install
script via ./run_install, the install bombs out as per the log below.
I'm pretty new to linux and am not sure exactly what's happening here,
but it looks fairly terminal. Could anyone give me some pointers? Not
sure what relevant info to include here so please ask and I will try to
provide.

TIA, Jay

Quote:
> mkdir: cannot create directory `/usr/local/poplog': File exists
>    Motif found OK
> Unpacking poplog+motif. May take some time
> UNPACKING POPLOG TAR FILE COMPLETE
> main poplog system installed in /usr/local/poplog/v15.53a
> ======================================================
> directories in /usr/local/poplog/v15.53a/pop
> total 84
> drwxr-xr-x    2 1807     90           4096 Feb 14  1989 adm
> -rw-r--r--    1 1807     90             25 May 11  1995 CDIRS
> drwxr-xr-x    2 1807     90           4096 Aug 21  2000 com
> drwxr-xr-x    3 1807     90           4096 Mar 26  1999 doc
> drwxr-xr-x    4 1807     90           4096 Aug  7  1998 extern
> drwxr-xr-x    2 1807     90          16384 Jun  5  2002 help
> drwxr-xr-x   17 1807     90           4096 Mar  9 15:42 lib
> drwxr-xr-x    7 1807     90           4096 Jan  5  1990 lisp
> lrwxrwxrwx    1 1807     90             11 May  1 23:55 local -> ../../local
> drwxr-xr-x    2 1807     90           4096 Jan 10 16:11 obj
> drwxr-xr-x    7 1807     90           4096 Jul  1  1992 plog
> drwxr-xr-x    5 1807     90           4096 Aug 22  1989 pml
> drwxr-xr-x    2 1807     90           4096 Mar  9 18:02 pop
> drwxr-xr-x    3 1807     90           4096 Mar 26  1999 ref
> drwxr-xr-x    3 1807     90           8192 Jan 10 17:07 src
> drwxr-xr-x    2 1807     90           4096 Sep  9  1999 teach
> drwxr-xr-x    3 1807     90           4096 Aug  7  1998 ved
> drwxr-xr-x    8 1807     90           4096 Aug  7  1998 x
> ======================================================
> Now rebuilding system images
> Sussex Poplog Version 15.53
> relinking -- using /usr/local/poplog/v15.53a/pop/pop/poplink_cmnd
> /usr/local/poplog/v15.53/pop/obj/src.olb(devio.o)(.text+0xbc0): In function `x.L3C':
> : undefined reference to `errno'
> /usr/local/poplog/v15.53/pop/obj/src.olb(devio.o)(.text+0xcd7): In function `x.L3C':
> : undefined reference to `errno'
> /usr/local/poplog/v15.53/pop/obj/src.olb(devio.o)(.text+0xd7e): In function `xc.Sys.Io.Sync_or_close':
> : undefined reference to `errno'
> /usr/local/poplog/v15.53/pop/obj/src.olb(devio.o)(.text+0xd97): In function `xc.Sys.Io.Sync_or_close':
> : undefined reference to `errno'
> /usr/local/poplog/v15.53/pop/obj/src.olb(devio.o)(.text+0xda0): In function `xc.Sys.Io.Sync_or_close':
> : undefined reference to `errno'
> /usr/local/poplog/v15.53/pop/obj/src.olb(devio.o)(.text+0xda9): more undefined references to `errno' follow
> collect2: ld returned 1 exit status
> checking for newpop11
> ls: newpop11: No such file or directory
> COULD NOT LINK NEWPOP11:
> Try commenting out poplink_cmnd
> OR
> Try asking for help via comp.lang.pop or pop-forum AT cs.bham.ac.uk



Tue, 18 Oct 2005 07:13:26 GMT  
 Problem installing PopLog on RedHat 9 - error in linking
Hi,

After some digging, the error message is generated by lib/ld-linux.XXX

and appears to come from the use of ERRNO in $popsrc/devio.p, which in turn
uses the macro ERRNO defined in $popsrc/unixdefs.ph, and that uses _extern
defined in syspop.p

I'm guessing that something we link to for pop-11 uses a thread library and
the linker sets some kind of flag.

A possible (quick and dirty) workaround to satisfy the linker and others...

1/ in external/lib put pop-11 errno, with suitable get and set routines to
read a thread local errno.
2/ Modify the macro(s) in unixdefs to invoke the get/set as needed to read
errno from where ever the thread local copy was.

Just my penny's worth
Joe



Fri, 21 Oct 2005 20:51:08 GMT  
 Problem installing PopLog on RedHat 9 - error in linking
Quote:

> I am trying to install PopLog on RedHat 9 using the
> bham-linux-poplog.tar.gz file, but when running the initial install
> script via ./run_install, the install bombs out as per the log below.
> I'm pretty new to linux and am not sure exactly what's happening here,
> but it looks fairly terminal. Could anyone give me some pointers? Not
> sure what relevant info to include here so please ask and I will try to
> provide.

> TIA, Jay

[...]

Objects & Images module at the University of Reading, right?
Although I cannot help you with the bham-linux-poplog.tar.gz package I
installed Poplog with another package a week ago. The package I am using is
linux-pc-1553a.tar.gz. It provides an install script at
./INSTALL/LINK_MOTIF_POPLOG which worked for me with minor modifications.
Try using this package - it contains everything neccessary to complete the
assignment.

BTW: Redhat uses a lot of non-standard filenames and directory structures so
it can be that the installation script won't work. If you get stuck just
write a follow-up or drop me a mail. However, I would recommend switching
to another distro (like Debian or SuSE, or Gentoo, if you're more advanced
and have a fast computer).

Hope that helps,
Jan



Sat, 29 Oct 2005 17:43:48 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. [Fwd: Re: Problem installing PopLog on RedHat 9 - error in linking]

2. [Fwd: Re: Problem installing PopLog on RedHat 9 - error in

3. Problem installing SimpleScalar 2.0 on Redhat Linux 7.0

4. Problem installing HBC on REDHat 5.0

5. problems installing PGPLOT on redhat linux 9

6. python2.1 install problem on redhat 7.1

7. pyopengl install problem on redhat 8.0

8. experimental patch for poplog for v15.53 on Redhat 9

9. relinking poplog for redhat 7.3

10. Installing poplog: some bugs and some thoughts

11. Installing poplog on Madrake 8.2

12. Installing Poplog under SuSE Linux 7.3

 

 
Powered by phpBB® Forum Software