Operating System - HP-UX
1847855 Members
3059 Online
104021 Solutions
New Discussion

Error with "/usr/contrib/X11R6/lib/pa20_64/libXmu.a" ?

 
SOLVED
Go to solution
Stuart Abramson_2
Honored Contributor

Error with "/usr/contrib/X11R6/lib/pa20_64/libXmu.a" ?

One of our users is compiling the new VNC Server product.

He is getting this error message:



c++ -o vncviewer argsresources.o colour.o desktop.o dialogs.o ful

/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (argsresources.o) wa.

/usr/ccs/bin/ld: /usr/contrib/X11R6/lib/pa20_64/libXmu.a: Not a valid library (.

*** Error exit code 1


and indeed, when you look at the library in question:

# cd /usr/contrib/X11R6/lib/pa20_64/
saroot@wcshps06:/usr/contrib/X11R6/lib/pa20_64# ll
total 3168
-r-xr-xr-x 1 bin bin 433760 Nov 14 2000 libXaw.2
-r-xr-xr-x 1 bin bin 770850 Jun 12 2002 libXaw.a
-r-xr-xr-x 1 bin bin 154968 Nov 14 2000 libXmu.2
-r-xr-xr-x 1 bin bin 253348 Jun 12 2002 libXmu.a
saroot@wcshps06:/usr/contrib/X11R6/lib/pa20_64# file *
libXaw.2: ELF-64 shared object file - PA-RISC 2.0 (LP64)
libXaw.a: archive file
libXmu.2: ELF-64 shared object file - PA-RISC 2.0 (LP64)
libXmu.a: archive file


the file in question is an "archive file".

Is there a problem here? What is the problem?
1 REPLY 1
Mike Stroyan
Honored Contributor
Solution

Re: Error with "/usr/contrib/X11R6/lib/pa20_64/libXmu.a" ?

Perhaps the rest of the files are 32-bit objects, so the linker does not want the 64-bit version of libXmu.a.

There is a 32-bit version in /usr/contrib/X11R6/lib/libXmu.a.