🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.linux.development.apps
1 messages
1 total messages Started by Shayne G. Wright Fri, 29 Mar 1996 21:13
Are these assumptions about libraries and headers correct ?
#11
Author: Shayne G. Wright
Date: Fri, 29 Mar 1996 21:13
51 lines
2245 bytes
	Hi

		I am trying to compile procps-0.99 and encounter
	this message :

/usr/X11R6/lib/libXt.so: undefined reference to `XkbLookupKeySym'

		I guess my assumption is, does the problem have
	anything to do with the header files in /usr/X11R6/include/X11/
	Or specifically a missing Xt/ subdirectory and/or a missing
	XkbLookupKeySym.h file. This is new to me, so please correct 
	me if I am wrong.

		Secondly, what is the difference between lib*.a, 
	lib*.sa, and lib*.so.* files ?

--- Relevant info ---
		I have encountered undefined reference problems before
	and have had no problem fixing them, but this time I'm not
	sure of the cause. I am doing an ELF compilation and the file 
	/usr/X11R6/lib/libXt.so is a link to libXt.so.6 which is, in
	turn a link to libXt.so.6.0, and ELF library.

krusty[procps-0.99a]=2=>>file libXt.*
libXt.a:        current ar archive
libXt.so:       symbolic link to libXt.so.6
libXt.so.6:     symbolic link to libXt.so.6.0
libXt.so.6.0:   ELF 32-bit LSB dynamic lib i386 (386 and up) Version 1

	Permissions are set (for the parent directories as well) :

krusty[procps-0.99a]=3=>>ls -al libXt.*
-rw-r--r--   356750 Feb 28 00:34 libXt.a
lrwxrwxrwx       12 Mar 23 00:21 libXt.so -> libXt.so.6
lrwxrwxrwx       12 Mar 23 00:21 libXt.so.6 -> libXt.so.6.0*
-rwxr-xr-x   308539 Feb 28 00:34 libXt.so.6.0*
	
	And for further verification :

krusty[lib]=2=>>nm libXt.so |grep XkbLookupKeySym
         U XkbLookupKeySym
krusty[lib]=3=>>nm libXt.a | grep XkbLookupKeySym 
         U XkbLookupKeySym

--- End of relevant scripts ---

	I am using GCC-2.7.0 on a system running Linux-1.3.72

			As always my thanks
			Take Care 
			Shayne
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads