porting to freebsd alpha
От | Khaled Daham |
---|---|
Тема | porting to freebsd alpha |
Дата | |
Msg-id | Pine.BSI.3.95.990926175540.2427A-100000@mailbox.telia.net обсуждение исходный текст |
Список | 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@telia.net Cell: 070-6785492 Work: 08-4567281 :hacker: /n./ [originally, someone who makes furniture with an axe]
В списке pgsql-ports по дате отправления: