Hello, Murali and all,

My previous email attached with config.log was bounced back to me, following is my cut paste version of the config.log, mostly only errors:

configure:1398: checking build system type
configure:1416: result: x86_64-unknown-linux-gnu
configure:1424: checking host system type
configure:1438: result: x86_64-unknown-linux-gnu
configure:1501: checking for gcc
configure:1517: found /usr/bin/gcc
configure:1527: result: gcc
configure:1771: checking for C compiler version
configure:1774: gcc --version </dev/null >&5
gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1777: $? = 0
configure:1779: gcc -v </dev/null >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)
configure:1782: $? = 0
configure:1784: gcc -V </dev/null >&5
gcc: '-V' option must have argument

configure:2243: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: syntax error before 'me'
configure:2249: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif

configure:2458: gcc -E  conftest.c
conftest.c:12:28: error: ac_nonexistent.h: No such file or directory
configure:2464: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PVFS2_VERSION_MAJOR 1
| #define PVFS2_VERSION_MINOR 5
| #define PVFS2_VERSION_SUB 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>

configure:2762: gcc -o conftest -g -O2   conftest.c  >&5
conftest.c: In function 'main':
conftest.c:29: warning: incompatible implicit declaration of built-in function '
exit'

configure:3184: gcc -c -g -O2  conftest.c >&5
conftest.c:58:21: error: mntent.h,: No such file or directory

configure:3484: gcc -c -g -O2  conftest.c >&5
conftest.c:60:24: error: attr/xattr.h: No such file or directory
...

configure:5757: gcc -c  -D__KARMA_DISABLE_MEM_USAGE__  conftest.c >&5
conftest.c: In function 'main':
conftest.c:35: error: 'not' undeclared (first use in this function)
conftest.c:35: error: (Each undeclared identifier is reported only once
conftest.c:35: error: for each function it appears in.)
conftest.c:35: error: syntax error before 'big'

configure:6581: gcc -c -Werror-implicit-function-declaration -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.0.2/include -I/usr/src/linux/include -I/usr/src/linux/include/asm-i386/mach-generic -I/usr/src/linux/include/asm-i386/mach-default -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(empty) -DKBUILD_MODNAME=KBUILD_STR(empty) conftest.c >&5
conftest.c:35: error: redefinition of 'i_size_write'
/usr/src/linux/include/linux/fs.h:580: error: previous definition of 'i_size_write' was here

configure:6617: checking for i_size_read in kernel
configure:6642: gcc -c -Werror-implicit-function-declaration -nostdinc -isystem
 /usr/lib/gcc/x86_64-redhat-linux/4.0.2/include -I/usr/src/linux/include 
-I/usr/src/linux/include/asm-i386/mach-generic 
-I/usr/src/linux/include/asm-i386/mach-default -DKBUILD_STR(s)=#s 
-DKBUILD_BASENAME=KBUILD_STR(empty)  -DKBUILD_MODNAME=KBUILD_STR(empty)  conftest.c 
>&5
conftest.c:35: error: redefinition of 'i_size_read'
/usr/src/linux/include/linux/fs.h:556: error: previous definition of 'i_size_rea
d' was here
...

configure:6739: checking for memory_backed in struct backing_dev_info in kernel configure:6764: gcc -c -Werror-implicit-function-declaration -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.0.2/include -I/usr/src/linux/include -I/usr/src/linux/include/asm-i386/mach-generic -I/usr/src/linux/include/asm-i386/mach-default -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(empty) -DKBUILD_MODNAME=KBUILD_STR(empty) conftest.c >&5 conftest.c:38: error: unknown field 'memory_backed' specified in initializer
configure:6770: $? = 1
...
configure:6795: result: no

configure:7381: checking for linux/xattr_acl.h
configure:7402: gcc -c -Werror-implicit-function-declaration -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.0.2/include -I/usr/src/linux/include -I/usr/ src/linux/include/asm-i386/mach-generic -I/usr/src/linux/include/asm-i386/mach-d efault -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(empty) -DKBUILD_MODNAME=
KBUILD_STR(empty)  conftest.c >&5
conftest.c:48:29: error: linux/xattr_acl.h: No such file or directory

configure:7431: result: no

configure:7633: checking for asm/ioctl32.h
configure:7651: gcc -c -Werror-implicit-function-declaration -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.0.2/include -I/usr/src/linux/include -I/usr/src/linux/include/asm-i386/mach-generic -I/usr/src/linux/include/asm-i386/mach-d efault -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(empty) -DKBUILD_MODNAME=KBUILD_STR(empty) conftest.c >&5
conftest.c:45:28: error: asm/ioctl32.h: No such file or directory

configure:7680: result: no

configure:7692: checking for generic_permission api in kernel
configure:7718: gcc -c -Werror-implicit-function-declaration -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.0.2/include -I/usr/src/linux/include -I/usr/src/linux/include/asm-i386/mach-generic -I/usr/src/linux/include/asm-i386/mach-default -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(empty) -DKBUILD_MODNAME=KBUILD_STR(e
mpty)  conftest.c >&5
conftest.c:48: error: conflicting types for 'generic_permission'
/usr/src/linux/include/linux/fs.h:1505: error: previous declaration of 'generic_permission' was here

configure:7877: checking for second arg type int in address_space_operations releas
epage
configure:7899: gcc -c -Werror-implicit-function-declaration -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.0.2/include -I/usr/src/linux/include -I/usr/src/linux/include/asm-i386/mach-generic -I/usr/src/linux/include/asm-i386/mach-default -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(empty) -DKBUILD_MODNAME=KBUILD_STR(empty) conftest.c >&5

conftest.c:50: error: conflicting types for 'try_to_release_page'
/usr/src/linux/include/linux/buffer_head.h:194: error: previous declaration of 'try_to_release_page' was here

configure:7899: gcc -c -Werror-implicit-function-declaration -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.0.2/include -I/usr/src/linux/include -I/usr/src/linux/include/asm-i386/mach-generic -I/usr/src/linux/include/asm-i386/mach-default -D KBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(empty) -DKBUILD_MODNAME=KBUILD_STR(e
mpty)  conftest.c >&5
conftest.c:50: error: conflicting types for 'try_to_release_page'
/usr/src/linux/include/linux/buffer_head.h:194: error: previous declaration of 'try_to_release_page' was here

configure:7936: checking for int return in inode_operations follow_link
configure:7959: gcc -c  -Werror-implicit-function-declaration -nostdinc -isystem 
/usr/lib/gcc/x86_64-redhat-linux/4.0.2/include -I/usr/src/linux/include 
-I/usr/src/linux/include/asm-i386/mach-generic 
-I/usr/src/linux/include/asm-i386/mach-default -DKBUILD_STR(s)=#s 
-DKBUILD_BASENAME=KBUILD_STR(empty)  -DKBUILD_MODNAME=KBUILD_STR(empty)  conftest.c 
>&5
conftest.c:51: error: conflicting types for 'page_follow_link_light'
/usr/src/linux/include/linux/fs.h:1713: error: previous declaration of 'page_follow_link_light' was here

configure:7998: checking for older int return in invalidatepage
configure:8026: gcc -c  -Werror-implicit-function-declaration -nostdinc -isystem 
/usr/lib/gcc/x86_64-redhat-linux/4.0.2/include -I/usr/src/linux/include 
-I/usr/src/linux/include/asm-i386/mach-generic 
-I/usr/src/linux/include/asm-i386/mach-default -DKBUILD_STR(s)=#s 
-DKBUILD_BASENAME=KBUILD_STR(empty)  -DKBUILD_MODNAME=KBUILD_STR(empty) -Werror  
conftest.c >&5
cc1: warnings being treated as errors
conftest.c:55: warning: initialization from incompatible pointer type

configure:8126: checking for register_ioctl32_conversion kernel exports
configure:8152: gcc -c -Werror-implicit-function-declaration -nostdinc -isystem /u sr/lib/gcc/x86_64-redhat-linux/4.0.2/include -I/usr/src/linux/include -I/usr/src/li nux/include/asm-i386/mach-generic -I/usr/src/linux/include/asm-i386/mach-default -D KBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(empty) -DKBUILD_MODNAME=KBUILD_STR(e
mpty)  conftest.c >&5
configure:8158: $? = 0
configure:8161: test -z                          || test ! -s conftest.err
configure:8164: $? = 0
configure:8167: test -s conftest.o
configure:8170: $? = 0
configure:8172: result: no

configure:8643: checking for db library
configure:8655: gcc -c -D__KARMA_DISABLE_MEM_USAGE__ -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wpointer-arith -Wbad-function-cast -D__PVFS2_USE_EPOLL__ conftest.c >&5 conftest.c:1:39: error: /usr/local/include/db4/db.h: No such file or directory
configure:8661: $? = 1
configure: failed program was:
| #include "/usr/local/include/db4/db.h"
configure:8655: gcc -c -D__KARMA_DISABLE_MEM_USAGE__ -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wpointer-arith -Wbad-function-cast -D__PVFS2_USE_EPOLL__ conftest.c >&5 conftest.c:1:39: error: /usr/local/include/db3/db.h: No such file or directory
configure:8661: $? = 1
configure: failed program was:
| #include "/usr/local/include/db3/db.h"
configure:8655: gcc -c -D__KARMA_DISABLE_MEM_USAGE__ -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wpointer-arith -Wbad-function-cast -D__PVFS2_USE_EPOLL__ conftest.c >&5 conftest.c:1:44: error: /usr/local/include/notfound/db.h: No such file or directory

configure:8746: gcc -o conftest -D__KARMA_DISABLE_MEM_USAGE__ -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wpointer-arith -Wbad-function-cast -D__PVFS2_USE_EPOLL__ -I/usr/local/include/ -L/usr/local/lib conftest.c -ldb -lpthread >&5
conftest.c:52: warning: function declaration isn't a prototype

configure:8981: checking for DB stat with malloc function ptr
configure:9009: gcc -c  -I/usr/local/include/ -Werror  conftest.c >&5
cc1: warnings being treated as errors
conftest.c: In function 'main':
conftest.c:64: warning: passing argument 2 of 'db->stat' from incompatible pointer type

configure:11384: checking for fgetxattr extra arguments
configure:11412: gcc -c -D__KARMA_DISABLE_MEM_USAGE__ -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wpointer-arith -Wbad-function-cast -D__PVFS2_USE_EPOLL__ conftest.c >&5
conftest.c:72: warning: function declaration isn't a prototype
conftest.c: In function 'main':
conftest.c:74: error: too many arguments to function 'fgetxattr'

configure:12205: checking for getmntent in -lseq
configure:12235: gcc -o conftest -D__KARMA_DISABLE_MEM_USAGE__ -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wpointer-arith -Wbad-function-cast -D__PVFS2_USE_EPOLL__ -L/usr/local/lib conftest.c -lseq >&5
conftest.c:74: warning: function declaration isn't a prototype
conftest.c:77: warning: function declaration isn't a prototype
/usr/bin/ld: cannot find -lseq

configure:12271: checking for getmntent in -lgen
configure:12301: gcc -o conftest -D__KARMA_DISABLE_MEM_USAGE__ -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wpointer-arith -Wbad-function-cast -D__PVFS2_USE_EPOLL__ -L/usr/local/lib conftest.c -lgen >&5
conftest.c:74: warning: function declaration isn't a prototype
conftest.c:77: warning: function declaration isn't a prototype
/usr/bin/ld: cannot find -lgen

configure:13230: checking for GNU-style strerror_r
configure:13251: gcc -c -D__KARMA_DISABLE_MEM_USAGE__ -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wpointer-arith -Wbad-function-cast -D__PVFS2_USE_EPOLL__ -DGOSSIP_ENABLE_BACKTRACE conftest.c >&5
conftest.c:73: warning: function declaration isn't a prototype
conftest.c:73: error: conflicting types for 'strerror_r'
/usr/include/string.h:270: error: previous declaration of 'strerror_r' was here
conftest.c:77: warning: function declaration isn't a prototype

configure:14515: result: ***** Displaying PVFS2 Configuration Information ***** configure:14517: result: ------------------------------------------------------
configure:14524: result: PVFS2 configured to build karma gui        :  no
configure:14529: result: PVFS2 configured to use epoll                : yes
configure:14540: result: PVFS2 configured to perform coverage analysis :  no
configure:14548: result: PVFS2 configured for aio threaded callbacks   : yes
configure:14556: result: PVFS2 configured for the 2.6.x kernel module  : yes
configure:14561: result: PVFS2 configured for the 2.4.x kernel module  :  no
configure:14569: result: PVFS2 configured for using the mmap-ra-cache  :  no
configure:14577: result: PVFS2 configured for using trusted connections:  no
configure:14588: result: PVFS2 configured for a thread-safe client library : yes
configure:14593: result: PVFS2 will use workaround for redhat 2.4 kernels :  no
configure:14601: result: PVFS2 will use workaround for buggy NPTL      :  no
configure:14609: result: PVFS2 server will be built             : yes
configure:14623: result:
configure:14625: result: PVFS2 version string: 1.5.1
configure:14628: result:

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define BERKDB_ERROR_REPORTING 1
#define HAVE_AIO 1
#define HAVE_AIO_VFS_SUPPORT 1
#define HAVE_ARG_IN_READ_DESCRIPTOR_T 1
#define HAVE_ARPA_INET_H 1
#define HAVE_COMPAT_IOCTL_HANDLER 1
#define HAVE_CONST_THIRD_PARAMETER_TO_DB_ERROR_CALLBACK 1
#define HAVE_DBENV_PARAMETER_TO_DB_ERROR_CALLBACK 1
#define HAVE_DB_BUFFER_SMALL 1
#define HAVE_DB_DIRTY_READ 1
#define HAVE_EXECINFO_H 1
#define HAVE_FGETXATTR 1
#define HAVE_FGETXATTR_PROTOTYPE 1
#define HAVE_FSTAB_H 1
#define HAVE_GENERIC_GETXATTR 1
#define HAVE_GENERIC_PERMISSION 1
#define HAVE_GETHOSTBYADDR 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETMNTENT 1
#define HAVE_INTTYPES_H 1
#define HAVE_I_SIZE_READ 1
#define HAVE_I_SIZE_WRITE 1
#define HAVE_LINUX_COMPAT_H 1
#define HAVE_LINUX_IOCTL32_H 1
#define HAVE_LINUX_POSIX_ACL_H 1
#define HAVE_LINUX_POSIX_ACL_XATTR_H 1
#define HAVE_LINUX_SYSCALLS_H 1
#define HAVE_MALLOC_H 1
#define HAVE_MEMORY_H 1
#define HAVE_MNTENT_H 1
#define HAVE_NETDB_H 1
#define HAVE_PARENT_INO 1
#define HAVE_PROC_HANDLER_SIX_ARG 1
#define HAVE_SETXATTR_CONST_ARG 1
#define HAVE_STDARG_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRNLEN 1
#define HAVE_STRSTR 1
#define HAVE_STRTOULL 1
#define HAVE_SYSINFO 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TOUCH_ATIME 1
#define HAVE_TXNID_PARAMETER_TO_DB_OPEN 1
#define HAVE_TXNID_PARAMETER_TO_DB_STAT 1
#define HAVE_UNISTD_H 1
#define HAVE_XATTR 1
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PVFS2_VERSION_MAJOR 1
#define PVFS2_VERSION_MINOR 5
#define PVFS2_VERSION_SUB 1
#define SIZEOF_LONG_INT 8
#define SIZEOF_VOID_P 8
#define STDC_HEADERS 1
#define TARGET_OS_LINUX 1

configure: exit 0
 following are the output from using pvfs2.

---------- Forwarded message ----------
Date: Mon, 16 Oct 2006 21:14:13 -0600 (MDT)
From: Wenbin <[EMAIL PROTECTED]>
To: Murali Vilayannur <[EMAIL PROTECTED]>
Cc: Rob Ross <[EMAIL PROTECTED]>, [email protected]
Subject: Re: [Pvfs2-users] problem with pvfs2 over diskless cluster

Hi, Murali,

On Mon, 16 Oct 2006, Murali Vilayannur wrote:

I am not sure if configuration/detection for aio support should even cause the previous issue. THis seems like an unrelated setup issue if at all.
Do provide a path to the kernel 2.6 headers to configure like so
./configure --with-kernel=</path/to/k2.6/headers> ..
and see if the aio misdetection persists.
More than the output of configure, the config.log file will have better information to help resolve the problem.

I am not entirely whats wrong with your setup at this point.
Can you try the above and let us know?

I have tried, with BerkeleyDB.4.5.20 installed in /usr/local, instead of /usr/local/BerkeleyDB.4.5.20. With this, the missing db.h errors are gone. pvfs2-ping is still fine. However pvfs2-ls got following in /tmp/pvfs2-server.log:

[E 10/16 21:02] TROVE:DBPF:Berkeley DB: DB_THREAD mandates memory allocation flag on DBT data
[E 10/16 21:02] TROVE:DBPF:Berkeley DB: keyval_db->get: Invalid argument

Then:
[EMAIL PROTECTED] etc]# /usr/local/bin/pvfs2-cp /usr/lib/libtcl8.4.so 
/mnt/pvfs2/
PVFS_sys_create: File exists
Could not open /mnt/pvfs2/

and server log says:
[E 10/16 21:04] TROVE:DBPF:Berkeley DB: keyval_db->get: DB_BUFFER_SMALL: User memory too small for return value [E 10/16 21:04] TROVE:DBPF:Berkeley DB: keyval_db->put: DB_KEYEXIST: Key/data pair already exists

The config.log is attached to this email.

Thanks,

wenbin.


thanks,
Murali
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to