Error in making Example Program 
Author Message
 Error in making Example Program

Hello!

Help me please. What i'm doing wrong? I just typed 'make'
in ../src/test/examples directory, and got such a messages:

/tmp/ccMibKh6.o(.text+0x1de): undefined reference to `PQexec'
/tmp/ccMibKh6.o(.text+0x1e6): undefined reference to `PQclear'
/tmp/ccMibKh6.o(.text+0x1f4): undefined reference to `PQexec'  
/tmp/ccMibKh6.o(.text+0x1fc): undefined reference to `PQclear'
/tmp/ccMibKh6.o(.text+0x205): undefined reference to `PQfinish'
collect2: ld returned 1 exit status                            
make: *** [testlibpq] Error 1                                  

Thanks for any suggestions.

Igor

---------------------------(end of broadcast)---------------------------



Sat, 10 Jan 2004 16:15:51 GMT
 Error in making Example Program


Quote:
> Hello!

> Help me please. What i'm doing wrong? I just typed 'make'
> in ../src/test/examples directory, and got such a messages:

> /tmp/ccMibKh6.o(.text+0x1de): undefined reference to `PQexec'
> /tmp/ccMibKh6.o(.text+0x1e6): undefined reference to `PQclear'
> /tmp/ccMibKh6.o(.text+0x1f4): undefined reference to `PQexec'  
> /tmp/ccMibKh6.o(.text+0x1fc): undefined reference to `PQclear'
> /tmp/ccMibKh6.o(.text+0x205): undefined reference to `PQfinish'
> collect2: ld returned 1 exit status                            
> make: *** [testlibpq] Error 1                                  

you aren't including -lpq.

Larry

Quote:

> Thanks for any suggestions.

> Igor

> ---------------------------(end of broadcast)---------------------------


--
Larry Rosenman                     http://www.lerctr.org/~ler

US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html



Sat, 10 Jan 2004 21:06:14 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. Identify program that made these files?

2. Making a small VB program

3. Identify program that made these files?

4. Who makes program with eMbedded Visual Basic 3.0?

5. Programming PostGreSQL - making myself clearer ;-).

6. Making Stand-Alone Program of Access 7.0 MDB

7. Making Portable Windows4GL Programs

8. What DB program makes DAT, IDX, TBB Files?

9. Seeking Basic made program of foxpro for Dos

10. can not exec program made of pro c

11. Making setup program for database with encrypted procedures.

12. making 16-bit programs with setup wizzard shipped with visual basic 4.0


 
Powered by phpBB® Forum Software