[rkward-tracker] [ rkward-Bugs-2117316 ] Compilation on PCBSD

SourceForge.net noreply at sourceforge.net
Thu Sep 18 05:16:52 UTC 2008


Bugs item #2117316, was opened at 2008-09-18 05:16
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459007&aid=2117316&group_id=50231

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Compilation on PCBSD

Initial Comment:
Hi,
to compile on PCBSD I must done minor changes:


rthread.cpp 
line 36:
+ #include <pthread.h> 
why:
PTHREAD_KILL(3)        FreeBSD Library Functions Manual        PTHREAD_KILL(3)

NAME
     pthread_kill -- send a signal to a specified thread

LIBRARY
     POSIX Threads Library (libpthread, -lpthread)

SYNOPSIS
     #include <pthread.h>
     #include <signal.h>

     int
     pthread_kill(pthread_t thread, int sig);


-----------------------------------------------------------
rksignalsupport.cpp
line 26...:
#if 0  //Vlapek: dirty fix 
#ifndef __sighandler_t
typedef void (*__sighandler_t) (int);
#endif
#endif //Vlapek: dirty fix 

why:
rkward/rbackend/rksignalsupport.cpp:27: error: conflicting declaration 'typedef void (* __sighandler_t)(int)'                                                                                    
/usr/include/sys/signal.h:142: error: '__sighandler_t' has a previous declaration as 'typedef void (__sighandler_t)(int)'                              

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

DetectPthread.Cmake
line4:
-CHECK_INCLUDE_FILE(phthread_np.h HAVE_PTHREAD_NP_H)
+CHECK_INCLUDE_FILES("pthread.h" HAVE_PTHREAD_NP_H)
why: I try to find around about this, but cmake don't have found existing phthread_np.h file:
/usr/src/include %ls -l pthread*.h
-rw-r--r--  1 root  wheel  10311 Nov 14  2007 pthread.h
-rw-r--r--  1 root  wheel   2772 Oct  4  2005 pthread_np.h
(I don't know many about Cmake internals)
btw I don't sure about 'phthread_np.h'

-----------------------------------------------------------
CMakeList.txt
line14:
+INCLUDE(FindX11)
INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${X11_INCLUDE_DIR} )

why:X.h was not found
-----------------------------------------------------------
rkwardapplication.cpp
Line 22:
-#include <X.h> 
+#include <X11/X.h> 

why:header was not found

-----------------------------------------------------------
FindR.CMake
line 89:
-	SET(R_USED_LIBS ${R_USED_LIBS} Rlapack gfortran)
+	SET(R_USED_LIBS ${R_USED_LIBS} )

Why: ???

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459007&aid=2117316&group_id=50231




More information about the rkward-tracker mailing list