Having another problem now.. that is with compiling apascan.
Am using Ubuntu 7.10 amd64.
First got this error about libdevmapper:
Code: Select all
checking libdevmapper.h usability... no
checking libdevmapper.h presence... no
checking for libdevmapper.h... no
configure: error: libdevmapper not found. Get it from http://sourceware.org/dm.
trying to install libdevmapper gave this:
Code: Select all
:~/DL/apascan-0.1$ sudo apt-get install libdevmapper
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting libdevmapper1.02.1 instead of libdevmapper
libdevmapper1.02.1 is already the newest version.[
I then installed libdevmapper-dev and also did a:
Which I am uncertain about... saw this in a thread on ubuntuforums in regards to an issue someone was having with crypto--- my knowledge is VERY limited here :( But, thought I should mention all I can...
This seems to have gotten through the ./configure fine.. but when I go to make, I get:
Code: Select all
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT apascan.o -MD -MP -MF .deps/apascan.Tpo -c -o apascan.o apascan.c
In file included from apascan.c:26:
/usr/include/sys/types.h:46: error: conflicting types for ‘loff_t’
/usr/include/linux/types.h:30: error: previous declaration of ‘loff_t’ was here
/usr/include/sys/types.h:62: error: conflicting types for ‘dev_t’
/usr/include/linux/types.h:13: error: previous declaration of ‘dev_t’ was here
In file included from /usr/include/sys/types.h:133,
from apascan.c:26:
/usr/include/time.h:105: error: conflicting types for ‘timer_t’
/usr/include/linux/types.h:22: error: previous declaration of ‘timer_t’ was here
In file included from apascan.c:26:
/usr/include/sys/types.h:198: error: conflicting types for ‘int64_t’
/usr/include/linux/types.h:98: error: previous declaration of ‘int64_t’ was here
/usr/include/sys/types.h:204: error: conflicting types for ‘u_int64_t’
/usr/include/linux/types.h:97: error: previous declaration of ‘u_int64_t’ was here
In file included from /usr/include/sys/types.h:220,
from apascan.c:26:
/usr/include/sys/select.h:78: error: conflicting types for ‘fd_set’
/usr/include/linux/types.h:12: error: previous declaration of ‘fd_set’ was here
In file included from apascan.c:26:
/usr/include/sys/types.h:235: error: conflicting types for ‘blkcnt_t’
/usr/include/linux/types.h:124: error: previous declaration of ‘blkcnt_t’ was here
In file included from /usr/include/inttypes.h:28,
from /usr/include/libdevmapper.h:19,
from apascan.c:35:
/usr/include/stdint.h:56: error: conflicting types for ‘uint64_t’
/usr/include/linux/types.h:96: error: previous declaration of ‘uint64_t’ was here
make[1]: *** [apascan.o] Error 1
Any ideas?