HELP: XView 3.2/Linux 1.1.59 Compile errors

HELP: XView 3.2/Linux 1.1.59 Compile errors

Post by Andrew Manneri » Wed, 01 Mar 1995 21:05:59



I'm having some problems with Xview 3.2.
I am trying to port a number of xview/x11 based applications, currently
running on Solaris, over to Linux.
When I first installed my Linux system, I tried out the system by compiling
a few simple 'hello world' type programs for Openlook. No problems then.
But now I hame having great difficulties...

  - gcc wouldnt compile an xview program that had compiled previously.
    The command line that had worked previously was:
    gcc -o xtest xtest.c -L/usr/X11/lib -L/usr/openwin/lib -lolgx -lxview -lX11
    Now it wont work. The error was:
    /usr/openwin/lib/libxview.sa(__T01566.o): Undefined symbol
            "__NEEDS_SHRLIB_libolg_3" referenced.
    This error came up four times with the '__T01566.o' changed to other
    numbers.
    I have fixed this using the gcc '-u ...' option. But why do I suddenly need
    to do this?

  - compiling with the -g option produces over 60 similar errors, but to
    many different routines, so the '-u' fix is not practicle.  
    A example is:
        /usr/openwin/lib/libxview.a(p_paint.o): Undefined symbol      
                _olgx_draw_box referenced from text segment

  - Starting any xview app (including meminfo & workman) causes this:
    'XView warning: Problems setting default modifier mapping (Server package)'
    The time to load applications is now about 15-20 seconds before this
    warning appears and the application runs. Plain X11 apps (ghostview etc)
    work with no problems.

The only changes that have been made to the system recently were to install
the GNU pascal compiler, and a rebuild of the kernel to trim unneeded drivers.
I have tried booting off the unmodified kernel also.  This makes no difference.
I have also re-installed the Slackware D, X, XD and XV disks.

System details are:
  486DX/33, 16Mb RAM, 32Mb swap.
  Adaptec 1542CF SCSI controller + 1GB Seagate SCSI hard disk
  Cirrus Logic 542x ISA Video card (SVGA xserver)
  Linux 1.1.59 (Slackware Professional)
  XFree86 3.1
  gcc 2.5.8

Has anyone else had similar problems? Better still, how did you fix it?
Many thanks for any suggestions...
Andrew

--
-----------------------------------------------------------------------------

      Systems Engineer         |  Not again!"   |
   London Underground Ltd      |    - HHGTTG    |    Canary Wharf, London

 
 
 

HELP: XView 3.2/Linux 1.1.59 Compile errors

Post by Hans de Graa » Thu, 02 Mar 1995 22:25:37



>I am trying to port a number of xview/x11 based applications, currently
>running on Solaris, over to Linux.
>  - gcc wouldnt compile an xview program that had compiled previously.
>    The command line that had worked previously was:
>    gcc -o xtest xtest.c -L/usr/X11/lib -L/usr/openwin/lib -lolgx -lxview -lX11
>    Now it wont work. The error was:
>    /usr/openwin/lib/libxview.sa(__T01566.o): Undefined symbol
>        "__NEEDS_SHRLIB_libolg_3" referenced.

>System details are:
>  XFree86 3.1

It looks like you are trying to use the old XView libraries (XFree 2.x)
with the new X libraries (Xfree 3.1).

Either get the compiler to link with your older X libraries, or upgrade
your XView libraries.

Hans
--

Delft University of Technology        Department of Information Systems
-----------------------------------------------------------------------
<a href=http://www.twi.tudelft.nl/People/J.J.deGraaff.html>WWW link</a>

 
 
 

HELP: XView 3.2/Linux 1.1.59 Compile errors

Post by Martin Bu » Fri, 03 Mar 1995 20:31:30



>   - gcc wouldnt compile an xview program that had compiled previously.
>     The command line that had worked previously was:
>     gcc -o xtest xtest.c -L/usr/X11/lib -L/usr/openwin/lib -lolgx -lxview -lX11
>     Now it wont work. The error was:
>     /usr/openwin/lib/libxview.sa(__T01566.o): Undefined symbol
>        "__NEEDS_SHRLIB_libolg_3" referenced.
>     This error came up four times with the '__T01566.o' changed to other
>     numbers.
>     I have fixed this using the gcc '-u ...' option. But why do I suddenly need
>     to do this?

gcc tells you everything, you just have to read it: libxview needs the
shared lib libolg, so you just have to reorder your commandline:
gcc -o xtest xtest.c -L/usr/X11/lib -L/usr/openwin/lib -lxview -lolgx -lX11
                                                       ^^^^^^^^^^^^^^

Quote:>   - compiling with the -g option produces over 60 similar errors, but to
>     many different routines, so the '-u' fix is not practicle.  
>     A example is:
>    /usr/openwin/lib/libxview.a(p_paint.o): Undefined symbol      
>            _olgx_draw_box referenced from text segment

Same problem as above.

Quote:>   - Starting any xview app (including meminfo & workman) causes this:
>     'XView warning: Problems setting default modifier mapping (Server package)'
>     The time to load applications is now about 15-20 seconds before this
>     warning appears and the application runs. Plain X11 apps (ghostview etc)
>     work with no problems.

Sorry, no idea about this one :-(
Did you do some strange things with xmodmap?

Bye,
Martin
--
+=============================================================================+


| University of Ulm, Germany       WWW: http://wwwuser.rz.uni-ulm.de/~s_buck/ |
| PGP 2.3a Key available.       Snail-Mail: Paukengasse 2, 89077 Ulm, Germany |
+=============================================================================+
#include <disclaimer.h>

 
 
 

1. Not compiling the 1.1.59 kernel (HELP !!)

Hello..

I'm trying to recompile the 1.1.59 kernel from the SLackware distr.
Only installed the A and D disks, and it doesn't compile.
( i want to enable QIC-02) I get different errors everytime, Gcc error, object
errors and all other error-shit. It's already keepinhg me busy for 3 days,
and this just wont work !!

If anybody has an idea ??
I'm just using a 486 with an IDE drive and no other fancy stuff (besides an
qic-02 streamer)

HELP !!!

Paul

2. Job Vacancy - Regional IT Manager (based in Singapore)

3. 1.1.59 Swapper Error? Help!

4. System Manager in a Box (SMiaB)- New Beta Version 0.9.2b Released.

5. XVIEW- where is the latest for Sol 5.7, Xview 3.2 producing compile errors...

6. Hp 8xxx Cd writer

7. HELP! NSCA on Linux 1.1.59

8. URGENT: major security problem with Linux 1.1.6

9. HELP: Linux 1.1.59 as SLIP Server

10. HELP with ftpshut (Linux 1.1.59)

11. Linux 1.1.59 Panic after boot - Help!

12. How do you compile DOSEMU-52 under 1.1.59?

13. Can't re-Compile 1.1.59 (Slackware) Kernel