Re: make errors

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "??" <shuaimeng(at)db(dot)pku(dot)edu(dot)cn>, <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: make errors
Date: 2004-06-30 08:11:27
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE34BDA6@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

7.4.2 is not compatible with native win32. You need to use the current development snapshot, or wait for the release of 7.5.

See http://momjian.postgresql.org/main/writings/pgsql/win32.html for information and a link to a binary snapshot if you need one.

//Magnus

>-----Original Message-----
>From: shuaimeng(at)db(dot)pku(dot)edu(dot)cn [mailto:shuaimeng(at)db(dot)pku(dot)edu(dot)cn]
>Sent: den 30 juni 2004 09:25
>To: pgsql-hackers-win32(at)postgresql(dot)org
>Subject: [pgsql-hackers-win32] make errors
>
>
>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):getaddrin
>fo.c: undefined reference to `gethostbyname(at)4'
>./../src/port/libpgport.a(getaddrinfo.o)(.text+0x1c0):getaddrin
>fo.c: undefined reference to `WSAGetLastError(at)0'
>./../src/port/libpgport.a(getaddrinfo.o)(.text+0x3d0):getaddrin
>fo.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
>
>
>
>---------------------------(end of
>broadcast)---------------------------
>TIP 4: Don't 'kill -9' the postmaster
>

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Merlin Moncure 2004-06-30 13:11:59 Re: Compile Failue on win32 - pipe.c using ereport
Previous Message 帅猛 2004-06-30 07:24:42 make errors