unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15086: 24.3.50; NS variant does not build on PPC Tiger because of missing qualifier before 'vector'
@ 2013-08-13 11:17 Peter Dyballa
  2013-08-13 15:47 ` Jan Djärv
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Dyballa @ 2013-08-13 11:17 UTC (permalink / raw)
  To: 15086

Hello!

When nsterm.m is compiled errors occur:

In file included from /System/Library/Frameworks/ 
CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ 
DriverServices.h:32,
                  from /System/Library/Frameworks/ 
CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ 
CarbonCore.h:125,
                  from /System/Library/Frameworks/ 
CoreServices.framework/Headers/CoreServices.h:21,
                  from /System/Library/Frameworks/ 
ApplicationServices.framework/Headers/ApplicationServices.h:20,
                  from /System/Library/Frameworks/ 
Foundation.framework/Headers/NSAppleEventDescriptor.h:8,
                  from /System/Library/Frameworks/ 
Foundation.framework/Headers/Foundation.h:104,
                  from /System/Library/Frameworks/AppKit.framework/ 
Headers/AppKit.h:10,
                  from nsgui.h:34,
                  from dispextern.h:78,
                  from nsterm.h:21,
                  from nsterm.m:48:
/System/Library/Frameworks/CoreServices.framework/Frameworks/ 
CarbonCore.framework/Headers/MachineExceptions.h:115: error: expected  
specifier-qualifier-list before 'vector'

In file included from nsterm.m:48:
nsterm.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__'  
before 'EmacsCGFloat'
nsterm.h:364: error: expected specifier-qualifier-list before 'CGFloat'

nsterm.m: In function 'ns_color_to_lisp':
nsterm.m:1596: error: 'EmacsCGFloat' undeclared (first use in this  
function)
nsterm.m:1596: error: (Each undeclared identifier is reported only once
nsterm.m:1596: error: for each function it appears in.)
nsterm.m:1596: error: expected ';' before 'red'
nsterm.m:1611: error: 'red' undeclared (first use in this function)
nsterm.m:1611: error: 'green' undeclared (first use in this function)
nsterm.m:1611: error: 'blue' undeclared (first use in this function)
nsterm.m:1611: error: 'alpha' undeclared (first use in this function)
nsterm.m:1615: error: 'gray' undeclared (first use in this function)
nsterm.m: In function 'ns_query_color':
nsterm.m:1638: error: 'EmacsCGFloat' undeclared (first use in this  
function)
nsterm.m:1638: error: expected ';' before 'r'
nsterm.m:1640: error: 'r' undeclared (first use in this function)
nsterm.m:1640: error: 'g' undeclared (first use in this function)
nsterm.m:1640: error: 'b' undeclared (first use in this function)
nsterm.m:1640: error: 'a' undeclared (first use in this function)
nsterm.m: At top level:
nsterm.m:2561: error: expected declaration specifiers or '...' before  
'EmacsCGFloat'
nsterm.m:2561: error: expected declaration specifiers or '...' before  
'EmacsCGFloat'
nsterm.m: In function 'ns_draw_underwave':
nsterm.m:2571: error: 'x' undeclared (first use in this function)
nsterm.m:2571: error: 'width' undeclared (first use in this function)
nsterm.m:2579: error: 'EmacsCGFloat' undeclared (first use in this  
function)
nsterm.m:2579: error: expected ';' before numeric constant
nsterm.m: In function 'ns_draw_text_decoration':
nsterm.m:2623: error: too many arguments to function 'ns_draw_underwave'
nsterm.m: In function '-[EmacsView conversationIdentifier]':
nsterm.m:5333: warning: conflicting types for '-(NSInteger) 
conversationIdentifier'
/System/Library/Frameworks/AppKit.framework/Headers/NSInputManager.h: 
23: warning: previous declaration of '-(long int)conversationIdentifier'
nsterm.m: In function '-[EmacsView initFrameFromEmacs:]':
nsterm.m:5921: error: 'EmacsCGFloat' undeclared (first use in this  
function)
nsterm.m:5921: error: expected ')' before numeric constant
nsterm.m: In function '-[EmacsView windowDidExitFullScreen:]':
nsterm.m:6117: warning: 'EmacsView' may not respond to '- 
updateCollectionBehaviour'
nsterm.m:6117: warning: (Messages without a matching method signature
nsterm.m:6117: warning: will be assumed to return 'id' and accept
nsterm.m:6117: warning: '...' as arguments.)
nsterm.m: In function '-[EmacsView toggleFullScreen:]':
nsterm.m:6178: warning: 'NSWindow' may not respond to '- 
toggleFullScreen:'
nsterm.m:6225: error: 'EmacsCGFloat' undeclared (first use in this  
function)
nsterm.m:6225: error: expected ')' before numeric constant
nsterm.m:6263: error: expected ')' before numeric constant
nsterm.m: In function '-[EmacsScroller mouseDown:]':
nsterm.m:7126: error: 'last_mouse_offset' undeclared (first use in  
this function)
nsterm.m: In function '-[EmacsScroller mouseDragged:]':
nsterm.m:7170: error: 'last_mouse_offset' undeclared (first use in  
this function)
make[2]: *** [nsterm.o] Error 1
make[1]: *** [src] Error 2
make: *** [bootstrap] Error 2

Mac OS X 10.4.11, PPC, with powerpc-apple-darwin8-gcc-4.0.1 (GCC)  
4.0.1 (Apple Computer, Inc. build 5370).

--
Greetings

   Pete

Who the fsck is "General Failure," and why is he reading my disk?






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#15086: 24.3.50; NS variant does not build on PPC Tiger because of missing qualifier before 'vector'
  2013-08-13 11:17 bug#15086: 24.3.50; NS variant does not build on PPC Tiger because of missing qualifier before 'vector' Peter Dyballa
@ 2013-08-13 15:47 ` Jan Djärv
  2013-08-13 16:46   ` Peter Dyballa
  2013-08-13 18:22   ` Peter Dyballa
  0 siblings, 2 replies; 7+ messages in thread
From: Jan Djärv @ 2013-08-13 15:47 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: 15086

Hello.

I've checked in an attemted fix.  I can't check it as 10.4 is really old and I don't have any around.

	Jan D.

13 aug 2013 kl. 13:17 skrev Peter Dyballa <Peter_Dyballa@Freenet.DE>:

> Hello!
> 
> When nsterm.m is compiled errors occur:
> 
> In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h:32,
>                 from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:125,
>                 from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
>                 from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:20,
>                 from /System/Library/Frameworks/Foundation.framework/Headers/NSAppleEventDescriptor.h:8,
>                 from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:104,
>                 from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10,
>                 from nsgui.h:34,
>                 from dispextern.h:78,
>                 from nsterm.h:21,
>                 from nsterm.m:48:
> /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:115: error: expected specifier-qualifier-list before 'vector'
> 
> In file included from nsterm.m:48:
> nsterm.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'EmacsCGFloat'
> nsterm.h:364: error: expected specifier-qualifier-list before 'CGFloat'
> 
> nsterm.m: In function 'ns_color_to_lisp':
> nsterm.m:1596: error: 'EmacsCGFloat' undeclared (first use in this function)
> nsterm.m:1596: error: (Each undeclared identifier is reported only once
> nsterm.m:1596: error: for each function it appears in.)
> nsterm.m:1596: error: expected ';' before 'red'
> nsterm.m:1611: error: 'red' undeclared (first use in this function)
> nsterm.m:1611: error: 'green' undeclared (first use in this function)
> nsterm.m:1611: error: 'blue' undeclared (first use in this function)
> nsterm.m:1611: error: 'alpha' undeclared (first use in this function)
> nsterm.m:1615: error: 'gray' undeclared (first use in this function)
> nsterm.m: In function 'ns_query_color':
> nsterm.m:1638: error: 'EmacsCGFloat' undeclared (first use in this function)
> nsterm.m:1638: error: expected ';' before 'r'
> nsterm.m:1640: error: 'r' undeclared (first use in this function)
> nsterm.m:1640: error: 'g' undeclared (first use in this function)
> nsterm.m:1640: error: 'b' undeclared (first use in this function)
> nsterm.m:1640: error: 'a' undeclared (first use in this function)
> nsterm.m: At top level:
> nsterm.m:2561: error: expected declaration specifiers or '...' before 'EmacsCGFloat'
> nsterm.m:2561: error: expected declaration specifiers or '...' before 'EmacsCGFloat'
> nsterm.m: In function 'ns_draw_underwave':
> nsterm.m:2571: error: 'x' undeclared (first use in this function)
> nsterm.m:2571: error: 'width' undeclared (first use in this function)
> nsterm.m:2579: error: 'EmacsCGFloat' undeclared (first use in this function)
> nsterm.m:2579: error: expected ';' before numeric constant
> nsterm.m: In function 'ns_draw_text_decoration':
> nsterm.m:2623: error: too many arguments to function 'ns_draw_underwave'
> nsterm.m: In function '-[EmacsView conversationIdentifier]':
> nsterm.m:5333: warning: conflicting types for '-(NSInteger)conversationIdentifier'
> /System/Library/Frameworks/AppKit.framework/Headers/NSInputManager.h:23: warning: previous declaration of '-(long int)conversationIdentifier'
> nsterm.m: In function '-[EmacsView initFrameFromEmacs:]':
> nsterm.m:5921: error: 'EmacsCGFloat' undeclared (first use in this function)
> nsterm.m:5921: error: expected ')' before numeric constant
> nsterm.m: In function '-[EmacsView windowDidExitFullScreen:]':
> nsterm.m:6117: warning: 'EmacsView' may not respond to '-updateCollectionBehaviour'
> nsterm.m:6117: warning: (Messages without a matching method signature
> nsterm.m:6117: warning: will be assumed to return 'id' and accept
> nsterm.m:6117: warning: '...' as arguments.)
> nsterm.m: In function '-[EmacsView toggleFullScreen:]':
> nsterm.m:6178: warning: 'NSWindow' may not respond to '-toggleFullScreen:'
> nsterm.m:6225: error: 'EmacsCGFloat' undeclared (first use in this function)
> nsterm.m:6225: error: expected ')' before numeric constant
> nsterm.m:6263: error: expected ')' before numeric constant
> nsterm.m: In function '-[EmacsScroller mouseDown:]':
> nsterm.m:7126: error: 'last_mouse_offset' undeclared (first use in this function)
> nsterm.m: In function '-[EmacsScroller mouseDragged:]':
> nsterm.m:7170: error: 'last_mouse_offset' undeclared (first use in this function)
> make[2]: *** [nsterm.o] Error 1
> make[1]: *** [src] Error 2
> make: *** [bootstrap] Error 2
> 
> Mac OS X 10.4.11, PPC, with powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5370).
> 
> --
> Greetings
> 
>  Pete
> 
> Who the fsck is "General Failure," and why is he reading my disk?
> 
> 
> 






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#15086: 24.3.50; NS variant does not build on PPC Tiger because of missing qualifier before 'vector'
  2013-08-13 15:47 ` Jan Djärv
@ 2013-08-13 16:46   ` Peter Dyballa
  2013-08-13 18:22   ` Peter Dyballa
  1 sibling, 0 replies; 7+ messages in thread
From: Peter Dyballa @ 2013-08-13 16:46 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 15086


Am 13.08.2013 um 17:47 schrieb Jan Djärv:

> I've checked in an attemted fix.  I can't check it as 10.4 is  
> really old and I don't have any around.


I have to admit that my report is a bit faulty! Configuration was  
with GCC 4.0, but compilation was with GCC 4.2 – which I found when I  
repeated the 'make bootstrap' for a second time. But one bug, maybe  
two, was left on Tiger:

In file included from nsterm.m:48:
nsterm.h:59: error: parse error before ‘EmacsCGFloat’
nsterm.h:59: warning: type defaults to ‘int’ in declaration of  
‘EmacsCGFloat’
nsterm.h:59: warning: data definition has no type or storage class
nsterm.h:364: error: parse error before ‘CGFloat’

and

nsterm.m: In function ‘ns_color_to_lisp’:
nsterm.m:1596: error: parse error before ‘red’
nsterm.m:1611: error: ‘red’ undeclared (first use in this function)
nsterm.m:1611: error: (Each undeclared identifier is reported only once
nsterm.m:1611: error: for each function it appears in.)
nsterm.m:1611: error: ‘green’ undeclared (first use in this function)
nsterm.m:1611: error: ‘blue’ undeclared (first use in this function)
nsterm.m:1611: error: ‘alpha’ undeclared (first use in this function)
nsterm.m:1615: error: ‘gray’ undeclared (first use in this function)
nsterm.m: In function ‘ns_query_color’:
nsterm.m:1638: error: parse error before ‘r’
nsterm.m:1640: error: ‘r’ undeclared (first use in this function)
nsterm.m:1640: error: ‘g’ undeclared (first use in this function)
nsterm.m:1640: error: ‘b’ undeclared (first use in this function)
nsterm.m:1640: error: ‘a’ undeclared (first use in this function)
nsterm.m: At top level:
nsterm.m:2561: error: parse error before ‘EmacsCGFloat’
nsterm.m: In function ‘ns_draw_underwave’:
nsterm.m:2570: error: ‘s’ undeclared (first use in this function)
nsterm.m:2571: error: ‘x’ undeclared (first use in this function)
nsterm.m:2571: error: ‘width’ undeclared (first use in this function)
nsterm.m:2579: error: parse error before numeric constant
nsterm.m: In function ‘-[EmacsView conversationIdentifier]’:
nsterm.m:5333: warning: conflicting types for ‘-(NSInteger) 
conversationIdentifier’
/System/Library/Frameworks/AppKit.framework/Headers/NSInputManager.h: 
23: warning: previous declaration of ‘-(long int)conversationIdentifier’
nsterm.m: In function ‘-[EmacsView initFrameFromEmacs:]’:
nsterm.m:5921: error: parse error before numeric constant
nsterm.m: In function ‘-[EmacsView windowDidExitFullScreen:]’:
nsterm.m:6117: warning: ‘EmacsView’ may not respond to ‘- 
updateCollectionBehaviour’
nsterm.m:6117: warning: (Messages without a matching method signature
nsterm.m:6117: warning: will be assumed to return ‘id’ and accept
nsterm.m:6117: warning: ‘...’ as arguments.)
nsterm.m: In function ‘-[EmacsView toggleFullScreen:]’:
nsterm.m:6178: warning: ‘NSWindow’ may not respond to ‘- 
toggleFullScreen:’
nsterm.m:6225: error: parse error before numeric constant
nsterm.m:6263: error: parse error before numeric constant
nsterm.m: In function ‘-[EmacsScroller initFrame:window:]’:
nsterm.m:6834: warning: local declaration of ‘win’ hides instance  
variable
nsterm.m:6834: warning: assignment makes pointer from integer without  
a cast
nsterm.m:6840: warning: local declaration of ‘win’ hides instance  
variable
nsterm.m:6840: warning: passing argument 1 of ‘XWINDOW’ makes integer  
from pointer without a cast
nsterm.m:6840: warning: local declaration of ‘win’ hides instance  
variable
nsterm.m:6840: warning: passing argument 1 of ‘XWINDOW’ makes integer  
from pointer without a cast
nsterm.m:6834: confused by earlier errors, bailing out
{standard input}:8140:FATAL:.abort  detected.  Assembly stopping.


Anyway, bzr is already trying to fetch the update.

--
Greetings

   Pete

’Twas a woman who drove me to drink, and I never had the courtesy to  
thank her for it.
				— W.C. Fields






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#15086: 24.3.50; NS variant does not build on PPC Tiger because of missing qualifier before 'vector'
  2013-08-13 15:47 ` Jan Djärv
  2013-08-13 16:46   ` Peter Dyballa
@ 2013-08-13 18:22   ` Peter Dyballa
  2013-08-13 20:25     ` Jan Djärv
  1 sibling, 1 reply; 7+ messages in thread
From: Peter Dyballa @ 2013-08-13 18:22 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 15086


Am 13.08.2013 um 17:47 schrieb Jan Djärv:

> I've checked in an attemted fix.  I can't check it as 10.4 is  
> really old and I don't have any around.


Your fix does fix the problem in nsterm.m, but here is another error  
(+ warnings), when temacs is being built:

	/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning multiple  
definitions of symbol _BC
	terminfo.o definition of _BC in section (__DATA,__common)
	/opt/local/lib/libncurses.dylib(single module) definition of _BC
	/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning multiple  
definitions of symbol _PC
	terminfo.o definition of _PC in section (__DATA,__common)
	/opt/local/lib/libncurses.dylib(single module) definition of _PC
	/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning multiple  
definitions of symbol _UP
	terminfo.o definition of _UP in section (__DATA,__common)
	/opt/local/lib/libncurses.dylib(single module) definition of _UP

	/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
	_ns_check_menu_open
	_ns_check_pending_open_menu

--
Greetings

   Pete

Don't just do something, sit there.






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#15086: 24.3.50; NS variant does not build on PPC Tiger because of missing qualifier before 'vector'
  2013-08-13 18:22   ` Peter Dyballa
@ 2013-08-13 20:25     ` Jan Djärv
  2013-08-13 22:22       ` Peter Dyballa
  2013-08-14 10:18       ` Peter Dyballa
  0 siblings, 2 replies; 7+ messages in thread
From: Jan Djärv @ 2013-08-13 20:25 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: 15086

Hello.

13 aug 2013 kl. 20:22 skrev Peter Dyballa <Peter_Dyballa@Freenet.DE>:

> 
> Am 13.08.2013 um 17:47 schrieb Jan Djärv:
> 
>> I've checked in an attemted fix.  I can't check it as 10.4 is really old and I don't have any around.
> 
> 
> Your fix does fix the problem in nsterm.m, but here is another error (+ warnings), when temacs is being built:
> 
> 	/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning multiple definitions of symbol _BC
> 	terminfo.o definition of _BC in section (__DATA,__common)
> 	/opt/local/lib/libncurses.dylib(single module) definition of _BC
> 	/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning multiple definitions of symbol _PC
> 	terminfo.o definition of _PC in section (__DATA,__common)
> 	/opt/local/lib/libncurses.dylib(single module) definition of _PC
> 	/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning multiple definitions of symbol _UP
> 	terminfo.o definition of _UP in section (__DATA,__common)
> 	/opt/local/lib/libncurses.dylib(single module) definition of _UP
> 

I can't help you with those, must be an incompatible libncurses in /opt/local/lib.  It works with standard libncurses in /usr/lib.

> 	/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
> 	_ns_check_menu_open
> 	_ns_check_pending_open_menu

I've checked in a fi for those.

	Jan D.






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#15086: 24.3.50; NS variant does not build on PPC Tiger because of missing qualifier before 'vector'
  2013-08-13 20:25     ` Jan Djärv
@ 2013-08-13 22:22       ` Peter Dyballa
  2013-08-14 10:18       ` Peter Dyballa
  1 sibling, 0 replies; 7+ messages in thread
From: Peter Dyballa @ 2013-08-13 22:22 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 15086


Am 13.08.2013 um 22:25 schrieb Jan Djärv:

> I've checked in a fi for those.

Now temacs and bootstrap-emacs could be built, autoloads are being built right now…

--
Greetings

  Pete

Spam will be a thing of the past in two years' time.
				– Bill Gates, Jan 2004






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#15086: 24.3.50; NS variant does not build on PPC Tiger because of missing qualifier before 'vector'
  2013-08-13 20:25     ` Jan Djärv
  2013-08-13 22:22       ` Peter Dyballa
@ 2013-08-14 10:18       ` Peter Dyballa
  1 sibling, 0 replies; 7+ messages in thread
From: Peter Dyballa @ 2013-08-14 10:18 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 15086


Am 13.08.2013 um 22:25 schrieb Jan Djärv:

> I've checked in a fi for those.

The resulting application has problems to start, even when I rename  
my init file (~/.emacs.d/default.el is left then, it sets up calendar  
a bit). In shell when I tray to launch it as nextstep/Emacs.app/ 
Contents/MacOS/Emacs I see:

	2013-08-14 12:01:19.984 Emacs[12888] CFLog (0): CFMessagePort:  
bootstrap_register(): failed 1103 (0x44f), port = 0x2e03, name =  
'org.gnu.Emacs.ServiceProvider'
	See /usr/include/servers/bootstrap_defs.h for the error codes.
	2013-08-14 12:01:19.985 Emacs[12888] CFLog (99):  
CFMessagePortCreateLocal(): failed to name Mach port  
(org.gnu.Emacs.ServiceProvider)

which presumingly is fine. It works only when it is launched in  
Terminal as "nextstep/Emacs.app/Contents/MacOS/Emacs -nw". With and  
without my init file.

The NS variant from GNU Emacs 24.3 still works.

--
Greetings

   Pete

One cannot live by television, video games, top ten CDs, and dumb  
movies alone.
				– Amiri Baraka, 1999






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-08-14 10:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-13 11:17 bug#15086: 24.3.50; NS variant does not build on PPC Tiger because of missing qualifier before 'vector' Peter Dyballa
2013-08-13 15:47 ` Jan Djärv
2013-08-13 16:46   ` Peter Dyballa
2013-08-13 18:22   ` Peter Dyballa
2013-08-13 20:25     ` Jan Djärv
2013-08-13 22:22       ` Peter Dyballa
2013-08-14 10:18       ` Peter Dyballa

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).