porting to freebsd alpha

From: Khaled Daham <khaled(at)mailbox(dot)telia(dot)net>
To: pgsql-ports(at)postgresql(dot)org
Subject: porting to freebsd alpha
Date: 1999-09-26 16:16:43
Message-ID: Pine.BSI.3.95.990926175540.2427A-100000@mailbox.telia.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Hello!

Ive tried to make postgresql compile on freebsd for alpha.
So far Ive changed backend/main/main.c
to look like this .

18 #if defined(__alpha) && !defined(linux)
19 #include <sys/param.h>
20 /* #include <sys/sysinfo.h>
21 #include <machine/hal_sysinfo.h> */

( it gets defined as alpha not linux by configure i assume )

The compile gets as far as this.

gcc -o postgres access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o
commands/SUBSYS.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o
main/SUBSYS.o parser/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 ../utils/version.o -lcrypt
-lcompat -lln -lm -lreadline -lhistory -ltermcap -lncurses
-export-dynamic
storage/SUBSYS.o: In function `s_lock':
s_lock.c(.text+0x410c): undefined reference to `TAS'
s_lock.c(.text+0x4110): undefined reference to `TAS'
gmake[1]: *** [postgres] Error 1

Now ive tried to understand how and where it gets decided where it should
take its test and set code from , but this is like walking in a mist for
me ( at least at the moment).

Any hints on what I could do to take this compile further ?

Thanks in advance.

/Khaled, Telia Network Services

Mail: khaled(at)telia(dot)net
Cell: 070-6785492
Work: 08-4567281

:hacker: /n./ [originally, someone who makes furniture with an axe]

Browse pgsql-ports by date

  From Date Subject
Next Message Tim Joyce 1999-09-27 10:14:51 rpm -e
Previous Message telnet 1999-09-26 06:26:43 .--- CD-