error with libipq.h

Asked by charlie

Hello.

I have a problem with a code mine. I have Ubuntu 6.06 with kernel version 2.6.16.1. When I type "make" it appears the next error that tells me that doesn't exist the file or directory for libipq.h: "error: libipq.h: No existe el fichero ó directorio". But I have got installed the iptables-dev package.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu iptables Edit question
Assignee:
No assignee Edit question
Solved by:
charlie
Solved:
Last query:
Last reply:
Revision history for this message
jtniehof (jtniehof) said :
#1

libipq.h is under /usr/include/libipq/ which is not a standard search location for includes. Either the line that includes it should have the path (#include <libipq/libipq.h>) or there should be a CFLAG specifying the directory for includes (-I/usr/include/libipq/).

If you could provide a link to the code you're trying to build, I could potentially be more helpful.

(Incidentally, I strongly recommend upgrading to 8.04, which is the next LTS release.)

Revision history for this message
charlie (charlie-c-p-deactivatedaccount) said :
#2

Thanks.

Five minutes before of read your answer I included in the Makefile the library with -I/usr/include/libipq and all work fine. That was the problem.

Thanks anyway.