[OpenVCP] build on centos

Cryptronic mail at cryptronic.de
Thu Apr 17 10:45:23 UTC 2008


Hi,

did you install iptables-devel?

best regards

Am Donnerstag, 17. April 2008 00:26:01 schrieb erik pepermans:
> Hi Gerrit,
>
> That did work; compiling returns me :
>
> ...
> gcc -g -O2 -I/usr/include/libxml2   -DPACKAGE_NAME=\"openvcpd\"
> -DPACKAGE_TARNAME=\"openvcpd\" -DPACKAGE_VERSION=\"0.4\ rc1\"
> -DPACKAGE_STRING=\"openvcpd\ 0.4\ rc1\"
> -DPACKAGE_BUGREPORT=\"gerrit at t4a.net\" -DHAVE_LIBVSERVER=1
> -DHAVE_LIBSQLITE3=1 -DHAVE_LIBXML2=1 -DHAVE_LIBPCAP=1 -DHAVE_LIBDL=1
> -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_NETINET_IN_H=1
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1
> -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_UNISTD_H=1
> -DTIME_WITH_SYS_TIME=1
> -DHAVE_UNISTD_H=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1
> -DHAVE_WORKING_FORK=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SOCKET_H=1
> -DSELECT_TYPE_ARG1=int -DSELECT_TYPE_ARG234=\(fd_set\ \*\)
> -DSELECT_TYPE_ARG5=\(struct\ timeval\ \*\) -DRETSIGTYPE=void
> -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1
> -DHAVE_RMDIR=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1
> -DHAVE_STRSTR=1  -DOPENVCP_CONFIG=\"/etc/openvcpd.conf\"
> -DOPENVCP_DATA=\"@datarootdir@/openvcpd\" -Ilib/ -Isrc/ -rdynamic
> -DREVISION=\"`svnversion | sed 's/M//'`\"   -c -o src/filter.o src/filter.c
> src/filter.c:29:29: error: libiptc/libiptc.h: No such file or directory
> src/filter.c: In function âovcp_create_chainsâ:
> src/filter.c:38: error: âiptc_handle_tâ undeclared (first use in this
> function)
> src/filter.c:38: error: (Each undeclared identifier is reported only once
> src/filter.c:38: error: for each function it appears in.)
> src/filter.c:38: error: expected â;â before âhâ
> src/filter.c:49: error: âhâ undeclared (first use in this function)
> src/filter.c:58: warning: assignment makes pointer from integer without a
> cast
> src/filter.c:58: warning: assignment makes pointer from integer without a
> cast
> src/filter.c:89: warning: assignment makes pointer from integer without a
> cast
> src/filter.c:89: warning: assignment makes pointer from integer without a
> cast
> src/filter.c:91: warning: assignment makes pointer from integer without a
> cast
> src/filter.c:113: warning: assignment makes pointer from integer without a
> cast
> src/filter.c:113: warning: assignment makes pointer from integer without a
> cast
> src/filter.c:115: warning: assignment makes pointer from integer without a
> cast
> src/filter.c: In function âovcp_create_tablesâ:
> src/filter.c:320: error: âiptc_handle_tâ undeclared (first use in this
> function)
> src/filter.c:320: error: expected â;â before âhâ
> src/filter.c:322: error: âhâ undeclared (first use in this function)
> make: *** [src/filter.o] Error 1
>
> Thanks
> Erik
>
> -----Oorspronkelijk bericht-----
> Van: openvcp-bounces at lists.openvcp.org
> [mailto:openvcp-bounces at lists.openvcp.org] Namens Cryptronic
> Verzonden: donderdag 17 april 2008 0:17
> Aan: openvcp at lists.openvcp.org
> Onderwerp: Re: [OpenVCP] build on centos
>
>
> Hi Erik,
>
> please update your svn copy and rerun autoconf and afterwards configure
>
> Best regards,
>
> Am Mittwoch, 16. April 2008 23:50:12 schrieb erik pepermans:
> > Hi, you replied to my message below; thanks for that; I checked out
> > the svn version, but now I get  :
> >
> > checking for string.h... (cached) yes
> > checking for strings.h... (cached) yes
> > checking sys/socket.h usability... yes
> > checking sys/socket.h presence... yes
> > checking for sys/socket.h... yes
> > checking sys/vfs.h usability... yes
> > checking sys/vfs.h presence... yes
> > checking for sys/vfs.h... yes
> > checking for unistd.h... (cached) yes
> > checking libiptc/libiptc.h usability... no
> > checking libiptc/libiptc.h presence... no
> > checking for libiptc/libiptc.h... no
> > configure: error: libiptc (iptables-dev) headers not found
> >
> > Have a nice evening -
> >
> > Brgds
> > Erik
>
> _______________________________________________
> OpenVCP mailing list
> OpenVCP at lists.openvcp.org
> http://lists.openvcp.org/cgi-bin/mailman/listinfo/openvcp
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.




More information about the OpenVCP mailing list