468,168 Members | 1,447 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,168 developers. It's quick & easy.

Postgresql 7.4.1 Compile problem for SCO 5.0.5

I am trying to compile postgresql 7.4.1 for sco 5.0.5 and get the following error:

"thread.c", line 269: error: undefined symbol: h_errno

Any ideas?

../configure --with-libs=/usr/local/lib --with-includes=/usr/local/include

herbie!/tmp/postgresql-7.4.1 # gmake
gmake -C doc all
gmake[1]: Entering directory `/tmp/postgresql-7.4.1/doc'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/tmp/postgresql-7.4.1/doc'
gmake -C src all
gmake[1]: Entering directory `/tmp/postgresql-7.4.1/src'
gmake -C port all
gmake[2]: Entering directory `/tmp/postgresql-7.4.1/src/port'
cc -b elf -O -I../../src/include -I/usr/local/include -c thread.c
"thread.c", line 269: error: undefined symbol: h_errno
gmake[2]: *** [thread.o] Error 1
gmake[2]: Leaving directory `/tmp/postgresql-7.4.1/src/port'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/tmp/postgresql-7.4.1/src'
gmake: *** [all] Error 2
herbie!/tmp/postgresql-7.4.1 #
Nov 12 '05 #1
1 1368
[sarcasm]What? header incompatibilities on a sco os? I thought
contributors to linux stole all of that code![/sarcasm]

Sorry I can't be of any real help!

Gavin

Jeffrey Pogodzinski wrote:
I am trying to compile postgresql 7.4.1 for sco 5.0.5 and get the following error:

"thread.c", line 269: error: undefined symbol: h_errno

Any ideas?

./configure --with-libs=/usr/local/lib --with-includes=/usr/local/include

herbie!/tmp/postgresql-7.4.1 # gmake
gmake -C doc all
gmake[1]: Entering directory `/tmp/postgresql-7.4.1/doc'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/tmp/postgresql-7.4.1/doc'
gmake -C src all
gmake[1]: Entering directory `/tmp/postgresql-7.4.1/src'
gmake -C port all
gmake[2]: Entering directory `/tmp/postgresql-7.4.1/src/port'
cc -b elf -O -I../../src/include -I/usr/local/include -c thread.c
"thread.c", line 269: error: undefined symbol: h_errno
gmake[2]: *** [thread.o] Error 1
gmake[2]: Leaving directory `/tmp/postgresql-7.4.1/src/port'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/tmp/postgresql-7.4.1/src'
gmake: *** [all] Error 2
herbie!/tmp/postgresql-7.4.1 #

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Bill Grigg | last post: by
4 posts views Thread by Ryan Mack | last post: by
29 posts views Thread by Paul Ganainm | last post: by
reply views Thread by Marc G. Fournier | last post: by
59 posts views Thread by Jeff Bowden | last post: by
1 post views Thread by phil campaigne | last post: by
1 post views Thread by gcdp | last post: by
reply views Thread by kamranasdasdas | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.