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

make errors

From: 帅猛 <shuaimeng(at)db(dot)pku(dot)edu(dot)cn>
To: pgsql-hackers-win32(at)postgresql(dot)org <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: make errors
Date: 2004-06-30 07:24:42
Message-ID: 200406301520484.SM01572@sm (view raw or flat)
Thread:
Lists: pgsql-hackers-win32
hi!
i tried with postgresql-7.4.2 with MinGW and MSYS

my configure arguments are :--without-zlab --disable-spinlocks

but when make i met such errors:

any advice would be appreciated ,by the way, i'm a newbie :o

	make[3]: Leaving directory `/home/Administrator/postgresql-7.4.2/src/backend/utils'
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -L../../src/port    access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/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 -lreadline -lwsock32 -lm  -lpgport -o postgres
bootstrap/SUBSYS.o(.text+0x3f02):bootstrap.c: undefined reference to `sigsetmask'
commands/SUBSYS.o(.text+0x372e):async.c: undefined reference to `kill'
libpq/SUBSYS.o(.text+0x63c4):pqsignal.c: undefined reference to `sigmask'
libpq/SUBSYS.o(.text+0x63d2):pqsignal.c: undefined reference to `sigmask'
libpq/SUBSYS.o(.text+0x63e0):pqsignal.c: undefined reference to `sigmask'
libpq/SUBSYS.o(.text+0x63ee):pqsignal.c: undefined reference to `sigmask'
libpq/SUBSYS.o(.text+0x63fc):pqsignal.c: undefined reference to `sigmask'
libpq/SUBSYS.o(.text+0x640a):pqsignal.c: more undefined references to `sigmask' follow
port/SUBSYS.o(.text+0x6db):pg_sema.c: undefined reference to `kill'
port/SUBSYS.o(.text+0x16ba):pg_shmem.c: undefined reference to `kill'
postmaster/SUBSYS.o(.text+0xf36):postmaster.c: undefined reference to `sigsetmask'
postmaster/SUBSYS.o(.text+0x12f6):postmaster.c: undefined reference to `fork'
postmaster/SUBSYS.o(.text+0x1b55):postmaster.c: undefined reference to `sigsetmask'
postmaster/SUBSYS.o(.text+0x1b88):postmaster.c: undefined reference to `sigsetmask'
postmaster/SUBSYS.o(.text+0x1c53):postmaster.c: undefined reference to `sigsetmask'
postmaster/SUBSYS.o(.text+0x2c66):postmaster.c: undefined reference to `sigsetmask'
postmaster/SUBSYS.o(.text+0x2c80):postmaster.c: undefined reference to `sigsetmask'
postmaster/SUBSYS.o(.text+0x2e29):postmaster.c: more undefined references to `sigsetmask' follow
postmaster/SUBSYS.o(.text+0x30be):postmaster.c: undefined reference to `kill'
postmaster/SUBSYS.o(.text+0x30cd):postmaster.c: undefined reference to `kill'
postmaster/SUBSYS.o(.text+0x3192):postmaster.c: undefined reference to `sigsetmask'
postmaster/SUBSYS.o(.text+0x34d5):postmaster.c: undefined reference to `kill'
postmaster/SUBSYS.o(.text+0x360a):postmaster.c: undefined reference to `WIFEXITED'
postmaster/SUBSYS.o(.text+0x3645):postmaster.c: undefined reference to `WEXITSTATUS'
postmaster/SUBSYS.o(.text+0x3675):postmaster.c: undefined reference to `WIFSIGNALED'
postmaster/SUBSYS.o(.text+0x36a1):postmaster.c: undefined reference to `WTERMSIG'
postmaster/SUBSYS.o(.text+0x3769):postmaster.c: undefined reference to `kill'
postmaster/SUBSYS.o(.text+0x384c):postmaster.c: undefined reference to `fork'
postmaster/SUBSYS.o(.text+0x3cf9):postmaster.c: undefined reference to `sigsetmask'
postmaster/SUBSYS.o(.text+0x3e16):postmaster.c: undefined reference to `sigsetmask'
postmaster/SUBSYS.o(.text+0x431b):postmaster.c: undefined reference to `sigsetmask'
postmaster/SUBSYS.o(.text+0x43a5):postmaster.c: undefined reference to `sigsetmask'
postmaster/SUBSYS.o(.text+0x466e):postmaster.c: undefined reference to `fork'
postmaster/SUBSYS.o(.text+0x2a0b):postmaster.c: undefined reference to `kill'
postmaster/SUBSYS.o(.text+0x4fd0):pgstat.c: undefined reference to `pipe'
postmaster/SUBSYS.o(.text+0x51c4):pgstat.c: undefined reference to `fork'
postmaster/SUBSYS.o(.text+0x6103):pgstat.c: undefined reference to `pipe'
postmaster/SUBSYS.o(.text+0x6113):pgstat.c: undefined reference to `fork'
postmaster/SUBSYS.o(.text+0x6906):pgstat.c: undefined reference to `sigsetmask'
storage/SUBSYS.o(.text+0x30c2):fd.c: undefined reference to `fsync'
storage/SUBSYS.o(.text+0x30e2):fd.c: undefined reference to `fsync'
storage/SUBSYS.o(.text+0x41c0):fd.c: undefined reference to `ftruncate'
storage/SUBSYS.o(.text+0x7738):pmsignal.c: undefined reference to `getppid'
storage/SUBSYS.o(.text+0x7740):pmsignal.c: undefined reference to `kill'
storage/SUBSYS.o(.text+0xc2a3):proc.c: undefined reference to `kill'
storage/SUBSYS.o(.text+0xefd6):md.c: undefined reference to `sync'
storage/SUBSYS.o(.text+0xefe4):md.c: undefined reference to `sync'
tcop/SUBSYS.o(.text+0x339d):postgres.c: undefined reference to `sigsetmask'
tcop/SUBSYS.o(.text+0x4e76):postgres.c: undefined reference to `sigmask'
tcop/SUBSYS.o(.text+0x4e8e):postgres.c: undefined reference to `sigsetmask'
tcop/SUBSYS.o(.text+0x50d1):postgres.c: undefined reference to `sigsetmask'
utils/SUBSYS.o(.text+0x76ae4):miscinit.c: undefined reference to `kill'
./../src/port/libpgport.a(random.o)(.text+0x5):random.c: undefined reference to `lrand48'
./../src/port/libpgport.a(getaddrinfo.o)(.text+0x185):getaddrinfo.c: undefined reference to `gethostbyname(at)4'
./../src/port/libpgport.a(getaddrinfo.o)(.text+0x1c0):getaddrinfo.c: undefined reference to `WSAGetLastError(at)0'
./../src/port/libpgport.a(getaddrinfo.o)(.text+0x3d0):getaddrinfo.c: undefined reference to `inet_ntoa(at)4'
./../src/port/libpgport.a(srandom.o)(.text+0x5):srandom.c: undefined reference to `srand48'
make[2]: *** [postgres] Error 1
make[2]: Leaving directory `/home/Administrator/postgresql-7.4.2/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/Administrator/postgresql-7.4.2/src'
make: *** [all] Error 2


        shuaimeng(at)db(dot)pku(dot)edu(dot)cn



pgsql-hackers-win32 by date

Next:From: Magnus HaganderDate: 2004-06-30 08:11:27
Subject: Re: make errors
Previous:From: Tom LaneDate: 2004-06-30 03:31:07
Subject: Re: dup(0) failed after 3195 successes: Bad file descriptor

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