Re: Problems compiling amanda on Debian jessie or sid

2016-02-03 Thread Jean-Louis Martineau
It correctly detect it must use the -msse4.2 flags, but why it doesn't use it?? Can you try to manually compile it with the -msse4.2 flags? The following should do it, It is from what you posted earlier, I added the -msse4.2 flags $ cd common-src $ gcc -DHAVE_CONFIG_H -I. -I../config

Re: Problems compiling amanda on Debian jessie or sid

2016-02-03 Thread Jose M Calhariz
When I manually compile it: mv -f .deps/version.Tpo .deps/version.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wextra -Wparentheses -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat -Wformat-security -Wsign-compare -Wfloat-equal

Re: Problems compiling amanda on Debian jessie or sid

2016-02-03 Thread Jean-Louis Martineau
$ rm common-src/amcrc32chw.lo As a workaround, add '-msse4.2' to the 'CFLAGS =' line in common-src/Makefile Jean-Louis On 03/02/16 04:30 PM, Jose M Calhariz wrote: When I manually compile it: mv -f .deps/version.Tpo .deps/version.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -Wall

Re: Problems compiling amanda on Debian jessie or sid

2016-02-03 Thread Jose M Calhariz
Hi My compilation is for creating an official Debian package. By mannually running the make, it works. So the problem is when compiling amanda for a Debian package. So I need to request help from someone that knows debian packages better than me. Thank you for your help. Kind regards Jose M

Re: Problems compiling amanda on Debian jessie or sid

2016-02-03 Thread Jose M Calhariz
On Wed, Feb 03, 2016 at 02:43:49PM -0500, Jean-Louis Martineau wrote: > Hi, > > Which gcc version? 4.3 and above should have theses instructions. > > $ gcc --version gcc --version gcc (Debian 4.9.2-10) 4.9.2 Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source

Re: Problems compiling amanda on Debian jessie or sid

2016-02-03 Thread Jose M Calhariz
On Wed, Feb 03, 2016 at 04:40:09PM -0500, Jean-Louis Martineau wrote: > $ rm common-src/amcrc32chw.lo > > As a workaround, add '-msse4.2' to the 'CFLAGS =' line in > common-src/Makefile Does -msse4.2 means it is needed a relatively recent i386 CPU? By that I mean better than i686. There is a

Re: Problems compiling amanda on Debian jessie or sid

2016-02-03 Thread Jean-Louis Martineau
The compilation flag do not have the -msse4.2 flag as expected. Can you run the following command: $ grep SSE42 Makefile $ grep -1i sse4\.2 config.log What is the output of: (gcc --help={target,optimizers,warnings,undocumented,params,c} 2>&1 || $CC -v --help 2>&1) | grep --

Re: Problems compiling amanda on Debian jessie or sid

2016-02-03 Thread Jose M Calhariz
On Wed, Feb 03, 2016 at 03:52:45PM -0500, Jean-Louis Martineau wrote: > The compilation flag do not have the -msse4.2 flag as expected. > Can you run the following command: Yes, on my jessie machine it is: grep SSE42 Makefile SSE42_CFLAGS = -msse4.2 grep -1i sse4\.2 config.log configure:35574:

Re: Problems compiling amanda on Debian jessie or sid

2016-02-03 Thread Jean-Louis Martineau
On 03/02/16 04:54 PM, Jose M Calhariz wrote: On Wed, Feb 03, 2016 at 04:40:09PM -0500, Jean-Louis Martineau wrote: $ rm common-src/amcrc32chw.lo As a workaround, add '-msse4.2' to the 'CFLAGS =' line in common-src/Makefile Does -msse4.2 means it is needed a relatively recent i386 CPU? By

Re: Problems compiling amanda on Debian jessie or sid

2016-02-03 Thread Jean-Louis Martineau
Hi, Which gcc version? 4.3 and above should have theses instructions. $ gcc --version Jean-Louis On 03/02/16 02:20 PM, Jose M Calhariz wrote: Hi, I am trying to compile amanda 3.3.8 on Debian but I get some errors during linking phase. Both on Debian sid or jessie. The error is: /bin/sh