Compile with ./configure --prefix=/users/dsdeldev/Coredumper/comp CC=icc CFLAGS="-D__64BIT__ -D__LINUX64__ -D_LP64 -g -fPIC -w1 -O3 -pipe -Wall -Wpointer-arith -Wshadow -Wmissing-prototypes -Wstrict-prototypes" CXX=icpc CXXFLAGS="-D__64BIT__ -D__LINUX64__ -D_LP64 -g -fPIC -w1 -O3 -pipe -Wall -Wpointer-arith -Wshadow -Wmissing-prototypes -Wstrict-prototypes"
execute gmake
There are many error related to undefined identifiers:
/bin/sh ./libtool --tag=CC --mode=link icc -fno-omit-frame-pointer
-D__64BIT__ -D__LINUX64__ -D_LP64 -g -fPIC -w1 -O3 -pipe -Wall
-Wpointer-arith -Wshadow -Wmissing-prototypes -Wstrict-prototypes -o
coredumper_unittest coredumper_unittest.o libcoredumper.la -lpthread
icc -fno-omit-frame-pointer -D__64BIT__ -D__LINUX64__ -D_LP64 -g -fPIC -w1
-O3 -pipe -Wall -Wpointer-arith -Wshadow -Wmissing-prototypes
-Wstrict-prototypes -o .libs/coredumper_unittest coredumper_unittest.o
./.libs/libcoredumper.so -lpthread -Wl,--rpath
-Wl,/users/dsdeldev/Coredumper/comp/lib
creating coredumper_unittest
if icpc -DHAVE_CONFIG_H -I. -I. -I./src -I./src -D__64BIT__
-D__LINUX64__ -D_LP64 -g -fPIC -w1 -O3 -pipe -Wall -Wpointer-arith -Wshadow
-Wmissing-prototypes -Wstrict-prototypes -MT
linux_syscall_support_unittest.o -MD -MP -MF
".deps/linux_syscall_support_unittest.Tpo" -c -o
linux_syscall_support_unittest.o test -f
'src/linux_syscall_support_unittest.cc' || echo
'./'
src/linux_syscall_support_unittest.cc; \
then mv -f ".deps/linux_syscall_support_unittest.Tpo"
".deps/linux_syscall_support_unittest.Po"; else rm -f
".deps/linux_syscall_support_unittest.Tpo"; exit 1; fi
src/linux_syscall_support_unittest.cc(94): error: incomplete type is not
allowed
CHECK(sizeof(struct dirent64) == sizeof(struct kernel_dirent64));
^
src/linux_syscall_support_unittest.cc(95): error: incomplete type is not allowed CHECK(sizeof(struct dirent) == sizeof(struct kernel_dirent)); ^
src/linux_syscall_support_unittest.cc(96): error: incomplete type is not allowed CHECK(sizeof(struct iovec) == sizeof(struct kernel_iovec)); ^
src/linux_syscall_support_unittest.cc(97): error: incomplete type is not allowed CHECK(sizeof(struct msghdr) == sizeof(struct kernel_msghdr));
etc...
This error have been found compiling with icc 9.1 20070111 on a IA64 architecture using SuSE 10
I need a solution for this compilation errors. Thanks for your time.
Best regards, Christina.
Comment #1
Posted on May 3, 2010 by Helpful PandaI forgot to say, this is happening with the latest version: Coredumper 1.2.1
Status: New
Labels:
Type-Defect
Priority-Medium