Hi all,
I have downloaded the source code of
FSviewer file manager to run it on my windowmaker and try to compile myself ( I use slackware 10.2 running 2.4.31 kernel)
The ./configure went ok. Except it was saying that I don't have the -lkvm and -lsocket library.
....
....
checking for WMAppSetMainMenu in -lWINGs... yes
checking for gethostbyname in -lnsl... yes
checking for socket in -lsocket... no
checking for kvm_read in -lkvm... no
checking for ANSI C header files... yes
checking for unistd.h... yes
....
....
I think the kvm is something for freeBSD, that what I read from the CHANGELOG and the socket I am not sure which socket library it needs. So I am not sure whether that is important anyway.
So after the configure I do make, but near the end I get the following error:
gcc -g -O2 -I/usr/X11R6/include -I/usr/include -I/usr/X11R6/include -L/usr/X11R6/lib -L/usr/lib -L/usr/X11R6/lib -o FSViewer FSViewer.o files.o FSFileBrowser.o list.o misc.o prop.o timestampWidget.o attribsInspector.o editInspector.o exeInspector.o extnInspector.o iconInspector.o viewInspector.o FSBrowser.o FSPanel.o FSUtils.o FSMenu.o FSFileView.o FSInspector.o magic.o DnD.o FSPathView.o xmodifier.o FSFinder.o FSFileButton.o FSMCList.o FSPrefs.o -Lregexp -lregx -lnsl -lWINGs -lWMaker -lXmu -lwraster -ltiff -lXpm -lpng -lz -ljpeg -lungif -lXext -lX11 -lm
FSUtils.o(.text+0x1376): In function `FSCreatePixmapWithBackingFromFile':
/root/FSViewer.app-0.2.5/src/FSUtils.c:1031: undefined reference to `RDestroyImage'
FSUtils.o(.text+0x137e):/root/FSViewer.app-0.2.5/src/FSUtils.c:1032: undefined reference to `RDestroyImage'
FSUtils.o(.text+0x148c): In function `FSCreateBlurredPixmapFromFile':
/root/FSViewer.app-0.2.5/src/FSUtils.c:1071: undefined reference to `RDestroyImage'
/usr/lib/libWINGs.a(wfont.o)(.text+0x72): In function `xlfdToFcPattern':
: undefined reference to `XftXlfdParse'
/usr/lib/libWINGs.a(wfont.o)(.text+0xce): In function `xlfdToFcPattern':
: undefined reference to `FcNameParse'
.....
.....
(I need to truncate it since it goes for some more after that. If anybody wants to know I certainly can paste them all up.)
So it is when it is trying to make the FSviewer executable I think when it fails. Now I am not well verse at all on C and how it compiles, but it seems to me that there is a call to a function on the FSUtils.c that is not yet defined (i.e. the RDestroyImage).
Now my question is how I get this RDestroyImage to be defined or even how do I know where this RDestroyImage suppose to be ?
Any help, hint, pointer or whatever from any C/C++ gurus out there is very much appreciated.
Thanks