Thanks very much!!! I'm advancing... lol I need modify the nfqnl_test.c, specifically I need access to ip.h and the icmp.h headers. So I add "#include <linux/ip.h>" to the beginning of the file nfqnl_test.c. and when I try to compile with gcc -Wall -o nfqnl_test nfqnl_test.c -lnfnetlink -lnetfilter_queue the following errors: In file included from nfqnl_test.c:10: /usr/include/linux/ip.h:93:2: error: #error "Endian problem - this didn't happen" ....... the second line say something funy... :) somebody known how solve this problem? Salute Frank Abel On Monday 22 May 2006 10:48 am, you wrote: > Try to run ldconfig > If this fails ,try to edit /etc/ld.so.conf and add > /usr/local/lib > So run ldconfig again. > > Att, > > On 5/22/06, Frank Abel Cancio Bello <frankabel@xxxxxxxxxxxxxxxxxx> wrote: > > Thanks Sebastien! > > > > Now the problem is when I try to run the binary, when I put on command > > line: > > > > ./nfqnl_test > > > > the following error happend: > > > > ./nfqnl_test: error while loading shared libraries: libnfnetlink.so.0: > > cannot open shared object file: No such file or directory > > > > Nevertheless my box have theses files: > > /usr/local/lib/libnfnetlink.so.0 > > /usr/local/lib/libnfnetlink.so.0.0.0 > > > > Beside, when I install the libnfnetlink ("./configure;make;make install") > > I get a binary of nfqnl_test.c into utils directory and when I run it all > > is fine. > > > > Salute > > Frank Abel > > > > On Monday 22 May 2006 10:06 am, you wrote: > > > Frank Abel Cancio Bello wrote: > > > > Hi all! > > > > > > > > A newbie question: > > > > When I try to compile "nfqnl_test.c" putting on command line: > > > > > > > > "gcc -Wall -o nfqnl_test nfqnl_test.c" > > > > > > > > the following error occur: > > > > > > [snip errors] > > > > > > you forgot to include required library symbols: > > > > > > gcc -Wall -o nfqnl_test nfqnl_test.c -lnfnetlink -lnetfilter_queue > > > > > > will do > > > > __________________________________________ > > > > XIII Convención Científica de Ingeniería y Arquitectura > > 28/noviembre al 1/diciembre de 2006 > > Cujae, Ciudad de la Habana, Cuba > > http://www.cujae.edu.cu/eventos/convencion __________________________________________ XIII Convenci�ient�ca de Ingenier�y Arquitectura 28/noviembre al 1/diciembre de 2006 Cujae, Ciudad de la Habana, Cuba http://www.cujae.edu.cu/eventos/convencion