unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1151: Building Emacs on Mac OS 10.3.9
@ 2008-10-12 20:27 Alex
  2008-10-13  2:41 ` YAMAMOTO Mitsuharu
  0 siblings, 1 reply; 2+ messages in thread
From: Alex @ 2008-10-12 20:27 UTC (permalink / raw)
  To: emacs-pretest-bug

I'm trying to build Emacs from CVS on my old iBook running Mac OS 10.3.9.

The last Emacs I built on this machine was GNU Emacs 22.1.1
(powerpc-apple-darwin7.9.0, Carbon Version 1.6.0) of 2007-06-05 on
Alpinobombus.local

I also tried to build Emacs 22.3 on this iBook a while ago and it
ended with the following error:
ld: /usr/lib/gcc/darwin/3.3/libgcc.a(_fixunssfdi.o) illegal reference
to symbol: ___cmpdi2 defined in indirectly referenced dynamic library
/usr/lib/libgcc_s.1.dylib

So now I'm trying Emacs from CVS:

./configure --with-ns
make bootstrap

This is where it ends:

In file included from nsterm.m:49:
keyboard.h:324: warning: redefinition of `Boolean'
/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h:255:
warning: `Boolean' previously declared here
nsterm.m: In function `ns_term_init':
nsterm.m:3864: warning: assignment from incompatible pointer type
nsterm.m:3875: warning: assignment from incompatible pointer type
nsterm.m:3886: warning: assignment from incompatible pointer type
nsterm.m: In function `-[EmacsView keyDown:]':
nsterm.m:4340: warning: multiple declarations for method `initWithCapacity:'
/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:108:
warning: using `-(id)initWithCapacity:(unsigned)numItems'
nsterm.h:315: warning: also found `-initWithCapacity:(unsigned long)c'
gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/Users/alex/Source/emacs/src
-Dtemacs    -g -O2  nsfns.m
In file included from nsfns.m:36:
keyboard.h:324: warning: redefinition of `Boolean'
/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h:255:
warning: `Boolean' previously declared here
nsfns.m: In function `interpret_services_menu':
nsfns.m:293: warning: assignment from incompatible pointer type
nsfns.m: In function `ns_do_applescript':
nsfns.m:2042: error: `typeUTF16ExternalRepresentation' undeclared
(first use in this function)
nsfns.m:2042: error: (Each undeclared identifier is reported only once
nsfns.m:2042: error: for each function it appears in.)
make[2]: *** [nsfns.o] Error 1
make[1]: *** [src] Error 2
make: *** [bootstrap] Error 2






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

* bug#1151: Building Emacs on Mac OS 10.3.9
  2008-10-12 20:27 bug#1151: Building Emacs on Mac OS 10.3.9 Alex
@ 2008-10-13  2:41 ` YAMAMOTO Mitsuharu
  0 siblings, 0 replies; 2+ messages in thread
From: YAMAMOTO Mitsuharu @ 2008-10-13  2:41 UTC (permalink / raw)
  To: Alex, 1151

>>>>> On Sun, 12 Oct 2008 22:27:41 +0200, Alex <kensanata@gmail.com> said:

> I also tried to build Emacs 22.3 on this iBook a while ago and it
> ended with the following error: ld:
> /usr/lib/gcc/darwin/3.3/libgcc.a(_fixunssfdi.o) illegal reference to
> symbol: ___cmpdi2 defined in indirectly referenced dynamic library
> /usr/lib/libgcc_s.1.dylib

Do some workarounds mentioned in etc/PROBLEMS work?

*** Mac OS X 10.3.9 (Carbon): QuickTime updater breaks build.

Some QuickTime updaters such as 7.0.4 and 7.2.0 are known to break
build at the link stage with the message like "Undefined symbols:
_HICopyAccessibilityActionDescription referenced from QuickTime
expected to be defined in Carbon".  A workaround is to use a QuickTime
reinstaller.  Alternatively, you can link with the frameworks in the
corresponding SDK by specifying LDFLAGS as
"-Wl,-F/Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks".

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp






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

end of thread, other threads:[~2008-10-13  2:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-12 20:27 bug#1151: Building Emacs on Mac OS 10.3.9 Alex
2008-10-13  2:41 ` YAMAMOTO Mitsuharu

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).