discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fix build of gnustep-base using gcc-2.95 and avahi available


From: Sebastian Reitenbach
Subject: fix build of gnustep-base using gcc-2.95 and avahi available
Date: Mon, 13 Jun 2011 09:44:20 +0200
User-agent: SOGoMail 1.3.7

Hi,

with avahi installed, gnustep-base was not compiling on OpenBSD sparc, using 
gcc-2.95. The compilation stopped the following way:

cc GSAvahiRunLoopIntegration.m -c \
      -DGNUSTEP_TARGET_DIR=\".\" -DGNUSTEP_TARGET_CPU=\"sparc\" 
-DGNUSTEP_TARGET_OS=\"openbsd4.9\" -DGNUSTEP_IS_FLATTENED=\"yes\" 
-DLIBRARY_COMBO=\"gnu-gnu-gnu\" -DGNUSTEP_BASE_INTERNAL=1 -Wall -Wcast-align 
-DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 
-fno-strict-aliasing -fPIC -g -DDEBUG -fno-omit-frame-pointer -Wall -DGSWARN 
-DGSDIAGNOSE -Wno-import -fno-stack-protector -fgnu-runtime -fgnu-runtime 
-I../Headers -I./. -I. -I/usr/local/include -I/usr/local/include 
-I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2 
-I/usr/local/include -I/usr/local/include -pthread 
-I/gnustep-base-1.22.0_writes_to_HOME/GNUstep/Library/Headers 
-I/usr/local/include \
       -o obj/libgnustep-base.obj/GSAvahiRunLoopIntegration.m.o
GSAvahiRunLoopIntegration.m: In function `GSAvahiWatchUpdate':
GSAvahiRunLoopIntegration.m:336: warning: `GSAvahiWatcher' does not respond to 
`listenForEvents:'
GSAvahiRunLoopIntegration.m: In function `GSAvahiWatchGetEvents':
GSAvahiRunLoopIntegration.m:342: warning: `GSAvahiWatcher' does not respond to 
`getEvents'
GSAvahiRunLoopIntegration.m:342: incompatible types in return
GSAvahiRunLoopIntegration.m:343: warning: control reaches end of non-void 
function
GSAvahiRunLoopIntegration.m: In function `GSAvahiWatchFree':
GSAvahiRunLoopIntegration.m:348: warning: `GSAvahiWatcher' does not respond to 
`removeFromContext'
GSAvahiRunLoopIntegration.m: In function `-[GSAvahiRunLoopContext 
removeFromRunLoop:forMode:]':
GSAvahiRunLoopIntegration.m:498: warning: `GSAvahiWatcher' does not respond to 
`unschedule'
GSAvahiRunLoopIntegration.m: In function `-[GSAvahiRunLoopContext 
scheduleInRunLoop:forMode:]':
GSAvahiRunLoopIntegration.m:527: warning: `GSAvahiWatcher' does not respond to 
`reschedule'
GSAvahiRunLoopIntegration.m: In function `-[GSAvahiRunLoopContext dealloc]':
GSAvahiRunLoopIntegration.m:554: warning: `GSAvahiWatcher' does not respond to 
`setContext:'
GSAvahiRunLoopIntegration.m: At top level:
GSAvahiRunLoopIntegration.m:565: warning: cast increases required alignment of 
target type
GSAvahiRunLoopIntegration.m:565: warning: cast increases required alignment of 
target type
GSAvahiRunLoopIntegration.m:565: warning: cast increases required alignment of 
target type
GSAvahiRunLoopIntegration.m:565: warning: cast increases required alignment of 
target type
GSAvahiRunLoopIntegration.m:565: warning: cast increases required alignment of 
target type
GSAvahiRunLoopIntegration.m:565: warning: cast increases required alignment of 
target type
gmake[4]: *** [obj/libgnustep-base.obj/GSAvahiRunLoopIntegration.m.o] Error 1
gmake[3]: *** [internal-library-all_] Error 2
gmake[2]: *** [libgnustep-base.all.library.variables] Error 2
gmake[1]: *** [internal-all] Error 2
gmake[1]: Leaving directory 
`/home/ports/pobj/gnustep-base-1.22.0/gnustep-base-1.22.0/Source'
gmake: *** [internal-all] Error 2
*** Error code 2


attached patch allows me to build gnustep-base on that host.

cheers,
Sebastian

Attachment: fix-build-of-gsbase-with-avahi-available.diff
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]