database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
ㆍPostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
PostgreSQL Q&A 514 게시물 읽기
No. 514
cc -o sample1 sample1.c 에러 ..
작성자
최진백
작성일
2000-02-03 17:06
조회수
10,502

$ cc /o sample1 sample1.c 이라고 compile 하니

다음과 같은 메세지가 나옵니다.

libpq/fe.h 는 include 를 했는 데.

혹, 다른 compiler나, library option이 있는지요?

감사합니다.

 

/tmp/cca089731.o: In function `exit_nicely':

/tmp/cca089731.o(.text+0x8): undefined reference to `PQfinish'

/tmp/cca089731.o: In function `main':

/tmp/cca089731.o(.text+0x62): undefined reference to `PQsetdbLogin'

/tmp/cca089731.o(.text+0x73): undefined reference to `PQstatus'

/tmp/cca089731.o(.text+0x9c): undefined reference to `PQerrorMessage'

/tmp/cca089731.o(.text+0xce): undefined reference to `PQexec'

/tmp/cca089731.o(.text+0xe5): undefined reference to `PQresultStatus'

/tmp/cca089731.o(.text+0x10f): undefined reference to `PQclear'

..

[Top]
No.
제목
작성자
작성일
조회
520tuple만을 선택해서 삭제할 수 없나요?
초보..
2000-02-06
11634
525┕>Re: tuple만을 선택해서 삭제할 수 없나요?
신현호
2000-02-07 14:13:55
12214
518인스톨시 에러
김인태
2000-02-06
12233
519┕>Re: 인스톨시 에러
정재익
2000-02-06 19:09:01
12432
515createdb error
김창수
2000-02-03
10815
517┕>Re: createdb error
정재익
2000-02-03 23:02:32
11300
514cc -o sample1 sample1.c 에러 ..
최진백
2000-02-03
10502
516┕>Re: cc -o sample1 sample1.c 에러 ..
정재익
2000-02-03 23:01:00
11396
529 ┕>Re: Re: cc -o sample1 sample1.c 에러 ..
최진백
2000-02-08 14:11:01
12151
530  ┕>죄송 ( lpg -> lpq )
최진백
2000-02-08 14:16:55
12206
512postgresql 설치하려다가....
hyungoo
2000-02-02
10717
513┕>Re: postgresql 설치하려다가....
정재익
2000-02-02 23:17:43
11625
510디비를 옮기려고 하는데요.
최동욱
2000-02-01
10866
511┕>Re: 디비를 옮기려고 하는데요.
정재익
2000-02-01 14:46:17
11463
507sequence option에 관한 질문
박현민
2000-01-31
10835
508┕>Re: sequence option에 관한 질문
정재익
2000-01-31 22:07:05
12046
509┕>Re: sequence option에 관한 질문
신현호
2000-02-01 08:57:23
11790
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2023 DSN, All rights reserved.
작업시간: 0.051초, 이곳 서비스는
	PostgreSQL v16.1로 자료를 관리합니다