LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-07-2006, 09:14 AM   #1
aherrys
Member
 
Registered: Jul 2003
Posts: 73

Rep: Reputation: 15
problem running make for FSViewer


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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FSViewer won't build? Bonzodog Slackware 1 09-04-2005 04:44 AM
Problem running make menuconfig cb9fl Slackware 8 12-07-2004 01:49 AM
Problem running make xconfig The GingerNinja Linux - Newbie 2 08-23-2004 08:45 AM
problem running the make command Cszikszoy Linux - Software 2 06-08-2004 09:27 AM
Problem when running make? eXor Linux - Software 5 08-13-2003 11:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration