Re: [MacPorts] #31057: synergy @1.3.1 fails to build COSXScreen.h:223: error: ‘DMExtendedNotificationUPP’ does not name a type

MacPorts noreply at macports.org
Wed Aug 31 19:12:54 PDT 2011


#31057: synergy @1.3.1 fails to build COSXScreen.h:223: error:
‘DMExtendedNotificationUPP’ does not name a type
-----------------------------+----------------------------------------------
 Reporter:  dan@…            |       Owner:  ascarter@…        
     Type:  defect           |      Status:  new               
 Priority:  Normal           |   Milestone:                    
Component:  ports            |     Version:  2.0.1             
 Keywords:                   |        Port:  synergy           
-----------------------------+----------------------------------------------
Changes (by ryandesign@…):

  * keywords:  synergy COSXScreen.h =>
 * cc: ryandesign@…, raimue@…, dports@… (added)
  * owner:  macports-tickets@… => ascarter@…


Old description:

> :info:build source='COSXScreenSaverUtil.m' object='COSXScreenSaverUtil.o'
> libtool=no \
> :info:build     depfile='.deps/COSXScreenSaverUtil.Po'
> tmpdepfile='.deps/COSXScreenSaverUtil.TPo' \
> :info:build     MACOSX_DEPLOYMENT_TARGET=10.2 depmode=gcc3 /bin/sh
> ../../config/depcomp \
> :info:build     /Developer/usr/bin/llvm-gcc-4.2 -DHAVE_CONFIG_H -I. -I.
> -I../.. -I../../lib/common -I../../lib/arch -I../../lib/base
> -I../../lib/mt -I../../lib/io -I../../l
> ib/synergy   -I/opt/local/include  -O2 -arch i386 -c -o
> COSXScreenSaverUtil.o `test -f 'COSXScreenSaverUtil.m' || echo
> './'`COSXScreenSaverUtil.m
> :info:build In file included from COSXScreen.cpp:15:
> :info:build COSXScreen.h:223: error: ‘DMExtendedNotificationUPP’ does not
> name a type
> :info:build In file included from /usr/include/objc/objc-api.h:28,
> :info:build                  from /usr/include/objc/objc.h:33,
> :info:build                  from
> /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:137,
> :info:build                  from
> /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:5,
> :info:build                  from OSXScreenSaverControl.h:4,
> :info:build                  from COSXScreenSaverUtil.m:16:
> :info:build /usr/include/AvailabilityMacros.h:109:14: warning: #warning
> Building for Intel with Mac OS X Deployment Target < 10.4 is invalid.
> :info:build COSXScreen.cpp: In constructor
> ‘COSXScreen::COSXScreen(bool)’:
> :info:build COSXScreen.cpp:76: error: class ‘COSXScreen’ does not have
> any field named ‘m_displayManagerNotificationUPP’
> :info:build COSXScreen.cpp:126: error: ‘m_displayManagerNotificationUPP’
> was not declared in this scope
> :info:build COSXScreen.cpp:127: error: ‘NewDMExtendedNotificationUPP’ was
> not declared in this scope
> :info:build COSXScreen.cpp:130: error: ‘DMRegisterExtendedNotifyProc’ was
> not declared in this scope
> :info:build COSXScreen.cpp:161: error: ‘m_displayManagerNotificationUPP’
> was not declared in this scope
> :info:build COSXScreen.cpp:163: error: ‘DMRemoveExtendedNotifyProc’ was
> not declared in this scope
> :info:build COSXScreen.cpp: In destructor ‘virtual
> COSXScreen::~COSXScreen()’:
> :info:build COSXScreen.cpp:219: error: ‘m_displayManagerNotificationUPP’
> was not declared in this scope
> :info:build COSXScreen.cpp:220: error: ‘DMRemoveExtendedNotifyProc’ was
> not declared in this scope
> :info:build COSXScreen.cpp: In static member function ‘static void
> COSXScreen::displayManagerCallback(void*, SInt16, void*)’:
> :info:build COSXScreen.cpp:1068: error: ‘kDMNotifyEvent’ was not declared
> in this scope
> :info:build COSXScreen.cpp: In member function ‘void
> COSXScreen::updateScreenShape()’:
> :info:build COSXScreen.cpp:1398: error: ‘GetMainDevice’ was not declared
> in this scope

New description:

 {{{
 :info:build source='COSXScreenSaverUtil.m' object='COSXScreenSaverUtil.o'
 libtool=no \
 :info:build     depfile='.deps/COSXScreenSaverUtil.Po'
 tmpdepfile='.deps/COSXScreenSaverUtil.TPo' \
 :info:build     MACOSX_DEPLOYMENT_TARGET=10.2 depmode=gcc3 /bin/sh
 ../../config/depcomp \
 :info:build     /Developer/usr/bin/llvm-gcc-4.2 -DHAVE_CONFIG_H -I. -I.
 -I../.. -I../../lib/common -I../../lib/arch -I../../lib/base
 -I../../lib/mt -I../../lib/io -I../../l
 ib/synergy   -I/opt/local/include  -O2 -arch i386 -c -o
 COSXScreenSaverUtil.o `test -f 'COSXScreenSaverUtil.m' || echo
 './'`COSXScreenSaverUtil.m
 :info:build In file included from COSXScreen.cpp:15:
 :info:build COSXScreen.h:223: error: ‘DMExtendedNotificationUPP’ does not
 name a type
 :info:build In file included from /usr/include/objc/objc-api.h:28,
 :info:build                  from /usr/include/objc/objc.h:33,
 :info:build                  from
 /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:137,
 :info:build                  from
 /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:5,
 :info:build                  from OSXScreenSaverControl.h:4,
 :info:build                  from COSXScreenSaverUtil.m:16:
 :info:build /usr/include/AvailabilityMacros.h:109:14: warning: #warning
 Building for Intel with Mac OS X Deployment Target < 10.4 is invalid.
 :info:build COSXScreen.cpp: In constructor ‘COSXScreen::COSXScreen(bool)’:
 :info:build COSXScreen.cpp:76: error: class ‘COSXScreen’ does not have any
 field named ‘m_displayManagerNotificationUPP’
 :info:build COSXScreen.cpp:126: error: ‘m_displayManagerNotificationUPP’
 was not declared in this scope
 :info:build COSXScreen.cpp:127: error: ‘NewDMExtendedNotificationUPP’ was
 not declared in this scope
 :info:build COSXScreen.cpp:130: error: ‘DMRegisterExtendedNotifyProc’ was
 not declared in this scope
 :info:build COSXScreen.cpp:161: error: ‘m_displayManagerNotificationUPP’
 was not declared in this scope
 :info:build COSXScreen.cpp:163: error: ‘DMRemoveExtendedNotifyProc’ was
 not declared in this scope
 :info:build COSXScreen.cpp: In destructor ‘virtual
 COSXScreen::~COSXScreen()’:
 :info:build COSXScreen.cpp:219: error: ‘m_displayManagerNotificationUPP’
 was not declared in this scope
 :info:build COSXScreen.cpp:220: error: ‘DMRemoveExtendedNotifyProc’ was
 not declared in this scope
 :info:build COSXScreen.cpp: In static member function ‘static void
 COSXScreen::displayManagerCallback(void*, SInt16, void*)’:
 :info:build COSXScreen.cpp:1068: error: ‘kDMNotifyEvent’ was not declared
 in this scope
 :info:build COSXScreen.cpp: In member function ‘void
 COSXScreen::updateScreenShape()’:
 :info:build COSXScreen.cpp:1398: error: ‘GetMainDevice’ was not declared
 in this scope
 }}}

--

Comment:

 Please use WikiFormatting.
 Remember to Cc the port's maintainer.
 Note that we have an existing open ticket #26516 for updating syergy to
 1.3.7; you may want to try the updated version of the port mentioned in
 that ticket.

-- 
Ticket URL: <https://trac.macports.org/ticket/31057#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list