spf-discuss
[Top] [All Lists]

[spf-discuss] Probelm compiling code with spf.h included

2010-10-24 03:59:15
Hello,

I'm using 64bit Archlinux and installed spf from source. Everythink went ok,
i got no errors and I'm able to run example program. Problem occurs when I'm
trying compile main own code with spf. I'm using Eclipse 3.6.1 and when i
include spf.h to my project (#include <spf2/spf.h>) i get this errors on
compilations:

**** Build of configuration Debug for project Pokus ****

make all
Building file: ../src/Pokus.cpp
Invoking: GCC C++ Compiler
g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/Pokus.d"
-MT"src/Pokus.d" -o"src/Pokus.o" "../src/Pokus.cpp"
In file included from /usr/local/include/spf2/spf_response.h:167:0,
                 from /usr/local/include/spf2/spf_record.h:25,
                 from /usr/local/include/spf2/spf_server.h:21,
                 from /usr/local/include/spf2/spf.h:27,
                 from ../src/Pokus.cpp:11:
/usr/local/include/spf2/spf_request.h:29:18: error: field ‘ipv4’ has
incomplete type
/usr/local/include/spf2/spf_request.h:30:19: error: field ‘ipv6’ has
incomplete type
In file included from /usr/local/include/spf2/spf_dns.h:113:0,
                 from /usr/local/include/spf2/spf_server.h:22,
                 from /usr/local/include/spf2/spf.h:27,
                 from ../src/Pokus.cpp:11:
/usr/local/include/spf2/spf_dns_rr.h:33:20: error: field ‘a’ has incomplete
type
/usr/local/include/spf2/spf_dns_rr.h:37:21: error: field ‘aaaa’ has
incomplete type
make: *** [src/Pokus.o] Error 1


I tried inspect mentioned header files, but everything looks ok to me. Can
anybody point me what to do? Any help will be appreciated.
Thank you and sorry for my English.



-------------------------------------------
Sender Policy Framework: http://www.openspf.org [http://www.openspf.org]
Modify Your Subscription: http://www.listbox.com/member/ 
[http://www.listbox.com/member/]

Archives: https://www.listbox.com/member/archive/735/=now
RSS Feed: https://www.listbox.com/member/archive/rss/735/2183229-668e5d0d
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=2183229&id_secret=2183229-a7234b15
Unsubscribe Now: 
https://www.listbox.com/unsubscribe/?member_id=2183229&id_secret=2183229-98aa0fe6&post_id=20101024045747:C4C861AE-DF4C-11DF-B523-8C2F86372C3E
Powered by Listbox: http://www.listbox.com
<Prev in Thread] Current Thread [Next in Thread>
  • [spf-discuss] Probelm compiling code with spf.h included, Dunmer <=