On 04/08/14 03:47, Raphael Manfredi wrote:
>
> Thanks, I've fixed Configure on the "devel" branch.  You should now be able
> to compile that version of gtk-gnutella on Solaris.
>

Hi Raphael,

   Yes, the fix to Configure in the devel branch works.  However, during 
the "make" step compiling fails here:


gcc -c -I.. -I. -D_REENTRANT -D_PTHREADS -D_POSIX_PTHREAD_SEMANTICS 
-DXTHREADS -DXUSE_MTSAFE_API -I/opt/csw/include/gtk-2.0 
-I/opt/csw/lib/gtk-2.0/include -I/opt/csw/include/atk-1.0 
-I/opt/csw/include/cairo -I/opt/csw/include/gdk-pixbuf-2.0 
-I/opt/csw/include/pango-1.0 -I/opt/csw/include/glib-2.0 
-I/opt/csw/lib/glib-2.0/include -I/opt/csw/include 
-I/opt/csw/include/pixman-1 -I/opt/csw/include/freetype2 
-I/opt/csw/include/libpng15 -I/opt/csw/include/harfbuzz -D_REENTRANT 
-D_PTHREADS -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include 
-I/opt/csw/include -I/opt/csw/include/dbus-1.0 
-I/opt/csw/lib/dbus-1.0/include -I/opt/csw/include 
-I/opt/csw/include/p11-kit-1    -DCURDIR=src -O2 -g -pthread -pipe 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 
-momit-leaf-frame-pointer -W -Wall -Wformat=2 -Wshadow  main.c
sed: command garbled: s/
In file included from ./lib/event.h:43:0,
                  from ./if/core/downloads.h:28,
                  from ./if/core/fileinfo.h:34,
                  from core/share.h:47,
                  from core/fileinfo.h:38,
                  from core/downloads.h:41,
                  from core/dmesh.h:38,
                  from main.c:50:
./lib/mutex.h:108:16: error: redefinition of 'struct mutex'
  typedef struct mutex {
                 ^
In file included from /usr/include/sys/t_lock.h:20:0,
                  from /usr/include/sys/vnode.h:39,
                  from /usr/include/sys/stream.h:21,
                  from /usr/include/netinet/in.h:66,
                  from /usr/include/sys/socket.h:44,
                  from common.h:83,
                  from main.c:37:
/usr/include/sys/mutex.h:45:16: note: originally defined here
  typedef struct mutex {
                 ^
Makefile:52: recipe for target 'main.o' failed


Looks like mutex.h header in gtk-gnutella source is redefining what is 
in Solaris system headers /usr/include/sys/mutex.h.  I suppose there is 
no mutex.h in Linux?, so no check is done to look for it as a system header?

Thanks,
Jake

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
gtk-gnutella-devel mailing list
gtk-gnutella-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to