Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Condor-users] Problems compiling 7.0.1 on openSUSE 10.2
- Date: Tue, 04 Mar 2008 11:42:37 +0100
- From: Uwe Kahlert <Kahlert@xxxxxxxxxxxxxxxxxxxxx>
- Subject: [Condor-users] Problems compiling 7.0.1 on openSUSE 10.2
Hi.
While 7.0.0 compiled quite well on openSUSE 10.2 (I had to define HZ
manually) compiling 7.0.1 fails when it comes to
src/condor_syscall_lib/switches.C
telling me that redefining the system function
int utimes(const char*, const timeval*)
(as defined in /usr/include/sys/time.h)
with the "condor-version"
int utimes(char*, timeval*)
is an error (see below).
This replacement ist managed in switches.C by the if-clause
#if defined( SYS_utimes )
extern "C" int REMOTE_CONDOR_utimes( char * , struct timeval * );
int utimes ( char *path, struct timeval *times )
{
...
}
#endif
I do not see where SYS_utimes is defined (although I tried to find out).
I can easily circumvent this statement/clause but what does this mean to
the resulting condor system? :-)
I would really like to have a "generic" SUSE-version of condor.
Cheers
Uwe
gcc -E -x c-header -DSWITCH -DGLIBC=GLIBC -DGLIBC25=GLIBC25 -DLINUX
-DI386 -DLINUX_SuSE_UNKNOWN -DSAVE_SIGSTATE -DFILE_TABLE
-I/lxtx/ma12/software/Condor/7.0.1/condor-7.0.1/externals/install/zlib-1.2.3/include
-DREMOTE_SYSCALLS -I../condor_includes syscall.tmpl | ./stub_gen
-mode switches -p switches.prologue -e switches.epilogue > switches.C
g++ -I.. -I../.. -I../h -I../condor_includes -I../condor_c++_util
-I../condor_daemon_client -DHAVE_CONFIG_H -DI386=I386 -DLINUX=LINUX
-I/lxtx/ma12/software/Condor/7.0.1/condor-7.0.1/externals/install/krb5-1.4.3/include
-I/lxtx/ma12/software/Condor/7.0.1/condor-7.0.1/externals/install/globus-4.0.5/include/gcc32dbg
-DWANT_QUILL -DWANT_TT
-I/lxtx/ma12/software/Condor/7.0.1/condor-7.0.1/externals/install/gcb-1.5.5/include
-g -g -Wall -W -Wextra -Wfloat-equal -Wshadow -Wendif-labels
-Wpointer-arith -Wcast-qual -Wcast-align -Wvolatile-register-var
-fstack-protector -march=i486 -DGLIBC=GLIBC -DGLIBC25=GLIBC25
-DC_COMP_KIND_GCC -DC_COMP_MAJOR_GCC_4 -DC_COMP_MINOR_GCC_4_1
-DC_COMP_PATCH_GCC_4_1_2 -DWITH_OPENSSL -DCOMPILE_SOAP_SSL
-I/lxtx/ma12/software/Condor/7.0.1/condor-7.0.1/externals/install/pcre-7.6/include
-I/lxtx/ma12/software/Condor/7.0.1/condor-7.0.1/externals/install/coredumper-0.2/include
-fno-implicit-templates -Wno-deprecated -DFILE_TABLE
-I/lxtx/ma12/software/Condor/7.0.1/condor-7.0.1/externals/install/zlib-1.2.3/include
-DREMOTE_SYSCALLS -DSAVE_SIGSTATE -I../condor_ckpt -fno-exceptions
-DHEADER_DES_LOCL_H -c switches.C -o switches.o
../condor_includes/condor_fix_sys_stat.h:71: warning: ‘int stat(const
char*, stat*)’ hides constructor for ‘struct stat’
switches.C: In function ‘int utimes(char*, timeval*)’:
switches.C:1823: error: declaration of C function ‘int utimes(char*,
timeval*)’ conflicts with
/usr/include/sys/time.h:141: error: previous declaration ‘int
utimes(const char*, const timeval*)’ here
--
======================================================================
Dr. Uwe Kahlert | Tel. : +49 241 80 27042
Inst. f. Theor. Physik A | UMS : +49 241 80 627042
Sommerfeldstr. | Fax. : +49 241 80 22188
52074 Aachen | e-mail : Kahlert@xxxxxxxxxxxxxxxxxxxxx
======================================================================