cks-devl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cks-devl] error on make


From: Waldemar Brodkorb
Subject: Re: [cks-devl] error on make
Date: Fri, 25 Jan 2002 18:17:38 +0100
User-agent: Mutt/1.3.25i

Hi,
>From the keyboard of inchi2000,

> Hello!
> 
> I get the following error when I type "make" for installing cks. I already
> edited the cks_config.c with the postgresql-infos, but can you give me an more
> detailed instruction what lines I have to edit? Do I need to create a new
> user in postgre or a new database?
> 
> Thanks, Markus
> 
> 
> address@hidden cks-0.0.8]# make
> Making all in src
> make[1]: Wechsel in das Verzeichnis Verzeichnis ╗/root/cks-0.0.8/src?
> gcc  -g -O2  -o cksd  cksd.o db.o cgi.o datastructures.o parse.o radix.o
> std_typ
> es.o md5.o sha.o keys.o merge_keys.o retrieve.o cks_config.o cks_socket.o
> cks_lo
> g.o cks_debug.o
> cksd.o: In function `accept_connect':
> /root/cks-0.0.8/src/cksd.c:342: undefined reference to `PQsetdbLogin'
> /root/cks-0.0.8/src/cksd.c:344: undefined reference to `PQstatus'

[ ... ]

> /root/cks-0.0.8/src/retrieve.c:210: undefined reference to `PQntuples'
> /root/cks-0.0.8/src/retrieve.c:214: undefined reference to `PQclear'
> collect2: ld returned 1 exit status
> make[1]: *** [cksd] Fehler 1
> make[1]: Verlassen des Verzeichnisses Verzeichnis
> ╗/root/cks-0.0.8/src?
> make: *** [all-recursive] Fehler 1

gcc and ld didn't find the libraries and include files of your
postgres database.

Please install these files. (-dev or -devel package)
What distribution do you use? 

What is the output of ./configure and what you see in config.log?

bye
    Waldemar

-- 
Are your questions smart enough?
http://www.tuxedo.org/~esr/faqs/smart-questions.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]