By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,541 Members | 1,455 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,541 IT Pros & Developers. It's quick & easy.

Postgresql 7.4.1 Compile problem for SCO 5.0.5

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
[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.