Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1 cannot compile - pdate.c is missing?

open
nobody
None
5
2002-06-28
2002-06-28
Anonymous
No

Hi everyone,

ipaudit-web-0.96b
FreeBSD 4.5-Release

[edv] /home/ipaudit> make
(cd src && make all)
gcc -O2 -c ipaudit.c -I/usr/include/pcap
gcc -O2 -c hash.c
gcc -o ipaudit ipaudit.o hash.o -lpcap
gcc -O2 -c total.c
gcc -o total total.o hash.o -lm
gcc -c ipstrings.c -I/usr/include/pcap
gcc -o ipstrings ipstrings.o -lpcap
gcc -c pdate.c
pdate.c:16: error.h: No such file or directory
*** Error code 1

Stop in /usr/home/ipaudit/src.
*** Error code 1

Stop in /usr/home/ipaudit.

Could You please let me know what am I doing wrong?

Brgds,
Wojtek. edv@vog.pl

Discussion

  • Jeremy Hewlett
    Jeremy Hewlett
    2002-07-22

    Logged In: YES
    user_id=309175

    (disclaimer: I don't have freebsd available where I am now,
    so I can't check)

    Your problem is that you are missing error.h. As stated
    above, I'm not around fbsd at the moment, so I can't tell
    you what package that is in. You don't actually need it,
    either (this is fixed in cvs). You can edit pdate.c and
    remove the "include <error.h>" line. Save. Recompile. That
    should work for you, if not, lemme know .