Find the answer to your Linux question:
Results 1 to 3 of 3
This is my first thread, I really didn't know where to put this question. It is related to programming, so I figure it should be here. When I try to ...
  1. #1
    Just Joined!
    Join Date
    Oct 2008
    Posts
    2

    need help with libdcrypt-0.3 library installation

    This is my first thread, I really didn't know where to put this question. It is related to programming, so I figure it should be here. When I try to install the libdcrypt-0.3 I get an error at the end. I am going to post my installation log. Maybe someone can help me.

    Code:
    Script started on Thu 09 Oct 2008 07:15:12 PM EDT
    ]0;David@localhost:/home/David/Documents[?1034h[root@localhost Documents]# cd ho[K[K/home/David/Download/libdcrypt-0.3
    ]0;David@localhost:/home/David/Download/libdcrypt-0.3[root@localhost libdcrypt-0.3]# ./configure --with-dmalloc
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking whether make sets $(MAKE)... yes
    checking for working aclocal-1.4... found
    checking for working autoconf... found
    checking for working automake-1.4... found
    checking for working autoheader... found
    checking for working makeinfo... found
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables... 
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking how to run the C preprocessor... gcc -E
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether ln -s works... yes
    checking whether make sets $(MAKE)... (cached) yes
    checking for GMP library... /usr/local/lib/libgmp.la
    checking for overloaded C++ operators in gmp.h... checking for egrep... grep -E
    yes
    checking for mpz_xor... yes
    checking size of GMP mp_limb_t... 4
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for memory.h... (cached) yes
    checking for ANSI C header files... (cached) yes
    checking errno.h usability... yes
    checking errno.h presence... yes
    checking for errno.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking sys/file.h usability... yes
    checking sys/file.h presence... yes
    checking for sys/file.h... yes
    checking for sys/types.h... (cached) yes
    checking sys/wait.h usability... yes
    checking sys/wait.h presence... yes
    checking for sys/wait.h... yes
    checking for st_atimespec in stat structure... no
    checking for st_mtimespec in stat structure... no
    checking for st_mtim in stat structure... yes
    checking for an ANSI C-conforming const... yes
    checking for off_t... yes
    checking for size_t... yes
    checking for short... yes
    checking size of short... 2
    checking for int... yes
    checking size of int... 4
    checking for long... yes
    checking size of long... 4
    checking for long long... yes
    checking size of long long... 8
    checking for u_int64_t... yes
    checking for u_int32_t... yes
    checking for u_int16_t... yes
    checking for u_int8_t... yes
    checking for u_char... yes
    checking for u_int... yes
    checking for u_long... yes
    checking for mode_t... yes
    checking for ssize_t... yes
    checking for int32_t... yes
    checking for int64_t... yes
    checking for working memcmp... yes
    checking for getprogname... no
    checking for clock_gettime... no
    checking for isxdigit... yes
    checking for bzero... yes
    checking for memcpy... yes
    checking for strchr... yes
    checking for strrchr... yes
    checking for a sed that does not truncate output... /bin/sed
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking how to recognise dependent libraries... pass_all
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking how to run the C++ preprocessor... g++ -E
    checking for g77... no
    checking for f77... no
    checking for xlf... no
    checking for frt... no
    checking for pgf77... no
    checking for fort77... no
    checking for fl32... no
    checking for af77... no
    checking for f90... no
    checking for xlf90... no
    checking for pgf90... no
    checking for epcf90... no
    checking for f95... f95
    checking whether we are using the GNU Fortran 77 compiler... yes
    checking whether f95 accepts -g... yes
    checking the maximum length of command line arguments... 32768
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for objdir... .libs
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking if gcc static flag  works... yes
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC
    checking if gcc PIC flag -fPIC works... yes
    checking if gcc supports -c -o file.o... yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... no
    checking whether to build static libraries... yes
    configure: creating libtool
    appending configuration tag "CXX" to libtool
    checking for ld used by g++... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC
    checking if g++ PIC flag -fPIC works... yes
    checking if g++ supports -c -o file.o... yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    appending configuration tag "F77" to libtool
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... no
    checking whether to build static libraries... yes
    checking for f95 option to produce PIC... -fPIC
    checking if f95 PIC flag -fPIC works... yes
    checking if f95 supports -c -o file.o... yes
    checking whether the f95 linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing default-1 commands
    ]0;David@localhost:/home/David/Download/libdcrypt-0.3[root@localhost libdcrypt-0.3]# gmake
    gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/local/include -I/usr/local/include  -g -O2 -Wall -Werror  -c dcconf.c
    In file included from dcrypt.h:25,
                     from dcinternal.h:31,
                     from dcconf.c:24:
    dc_conf.h:118:1: error: "memmove" redefined
    In file included from dc_conf.h:114,
                     from dcrypt.h:25,
                     from dcinternal.h:31,
                     from dcconf.c:24:
    /usr/local/include/dmalloc.h:1158:1: error: this is the location of the previous definition
    gmake: *** [dcconf.o] Error 1
    ]0;David@localhost:/home/David/Download/libdcrypt-0.3[root@localhost libdcrypt-0.3]# gmac[Kke check
    gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/local/include -I/usr/local/include  -g -O2 -Wall -Werror  -c dcconf.c
    In file included from dcrypt.h:25,
                     from dcinternal.h:31,
                     from dcconf.c:24:
    dc_conf.h:118:1: error: "memmove" redefined
    In file included from dc_conf.h:114,
                     from dcrypt.h:25,
                     from dcinternal.h:31,
                     from dcconf.c:24:
    /usr/local/include/dmalloc.h:1158:1: error: this is the location of the previous definition
    gmake: *** [dcconf.o] Error 1
    ]0;David@localhost:/home/David/Download/libdcrypt-0.3[root@localhost libdcrypt-0.3]# gmake install
    gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/local/include -I/usr/local/include  -g -O2 -Wall -Werror  -c dcconf.c
    In file included from dcrypt.h:25,
                     from dcinternal.h:31,
                     from dcconf.c:24:
    dc_conf.h:118:1: error: "memmove" redefined
    In file included from dc_conf.h:114,
                     from dcrypt.h:25,
                     from dcinternal.h:31,
                     from dcconf.c:24:
    /usr/local/include/dmalloc.h:1158:1: error: this is the location of the previous definition
    gmake: *** [dcconf.o] Error 1
    ]0;David@localhost:/home/David/Download/libdcrypt-0.3[root@localhost libdcrypt-0.3]# exit
    
    Script done on Thu 09 Oct 2008 07:16:43 PM EDT
    Please any help is very appreciated.
    Last edited by smolloy; 10-13-2008 at 06:50 AM. Reason: Added code tags for readability

  2. #2
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    Location
    CA, but from N.Ireland
    Posts
    2,413
    I hope you don't mind that I added CODE tags round your post to make it a little easier to read.

    Is there any reason you called ./configure with "--with-dmalloc" ? The gmake error looks like it's memory related, so perhaps you could try calling configure with no options?

    (Sorry that's such a bad idea, but it's all I have!)

    PS: Welcome to the forums!
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

  3. #3
    Just Joined!
    Join Date
    Oct 2008
    Posts
    2
    Well I found my answer. The problem with my installation was that I was using the current version of GCC-4.x where the files requires GCC-3.4.x. So I installed the Compat-34 and after it installed I typed export CC=gcc34 in the terminal, then I compiled it and it worked. Thanks for the help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...