Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-ports

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
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]

pgsql-ports by date

Next:From: Tim JoyceDate: 1999-09-27 10:14:51
Subject: rpm -e
Previous:From: telnetDate: 1999-09-26 06:26:43
Subject: .--- CD-

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group