Re: Mac OS X Install - Mailing list pgsql-ports

From Tom Lane
Subject Re: Mac OS X Install
Date
Msg-id 426.986153335@sss.pgh.pa.us
Whole thread Raw
In response to Mac OS X Install  (Scott Hill <shill@verisign.com>)
List pgsql-ports
Scott Hill <shill@verisign.com> writes:
> cc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations    access/SUBSYS.o bootstrap/SUBSYS.o
> catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o executor/SUBSYS.o
> lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o nodes/SUBSYS.o
> optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o
> rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o -lz  -o
> postgres
> /usr/bin/ld: Undefined symbols:
> __ashldi3
> __ashrdi3
> __divdi3
> __fixdfdi
> __floatdidf
> make[2]: *** [postgres] Error 1

Looks to me like you have a broken or incomplete compiler/library setup.
Those symbols are compiler-provided subroutines for primitive C operations
like arithmetic shift on long ints.  The compiler itself should take
care of making sure they are available.

I realize this isn't much help for actually solving the problem ... but
I'd suggest asking for help in an OSX-related forum, rather than here.

            regards, tom lane

pgsql-ports by date:

Previous
From: "Michael Moehle"
Date:
Subject: AW: patch for minor Win32 makefile bug
Next
From: Fred Yankowski
Date:
Subject: Re: patch for minor Win32 makefile bug