gcc-10: options order important?

2021-09-03 Thread Piotr A. Dybczyński
Hi,

in contrary to previous versions, now in Debian 11 with gcc-10:

gcc aa.c -lm -o aa   works, but

gcc -lm aa.c -o aa   does not work, saying: 

/usr/bin/ld: /tmp/ccWyhudO.o: in function `main':
aa.c:(.text+0x1f): undefined reference to `sqrt'
collect2: error: ld returned 1 exit status

My aa.c content:

---
#include
#include

int main(void)
{
  double x=4;

  printf("sqrt(4)=%f\n",sqrt(x));

  return 0;
}
---

It seems that an option -lm cannot be placed in an arbitrary place which I used 
to
do. Is this intentional ?

Regards,

Piotr A. Dybczyński
-- 
/**
      dr Piotr A. Dybczyński 
 homepage: https://www.dybczynski.pl/Piotr e-mail: pi...@dybczynski.pl
PAD***/



Re: Debian 11 doesn't suspend properly on Acer Aspire 5 A515-51G-52GM

2021-08-26 Thread Piotr A. Dybczyński
Hi,

I have similar problem on Dell Inspiron 3580

Both after upgrade from Buster to Bullseye and after clean install on a seprate
partition laptop does not wake up (in fact it sometimes does) but completely
freezes, only power off can help.

When I booted Bullseye with the previous kernel (4.19) it works OK.

My hardware is (from lspci):

00:02.0 VGA compatible controller: Intel Corporation WhiskeyLake-U GT2 [UHD
Graphics 620]
01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Jet PRO
[Radeon R5 M230 / R7 M260DX / Radeon 520 Mobile] (rev c3)

Regards,
Piotr
-- 
/**
  dr Piotr A. Dybczyński 
 homepage: https://www.dybczynski.pl/Piotr e-mail: pi...@dybczynski.pl
PAD***/



impossible to apply security updates

2006-05-08 Thread Piotr A. Dybczyński

It seems something is going wrong with DNS.
security.debian.org points to 0.0.0.0  !!

Regards
Piotr
-- 
/
 Dr Piotr A. Dybczynski,   Astronomical Observatory, A.Mickiewicz University 
 Sloneczna 36,60-286 Poznan,POLAND,tel+48.61.8292784,e-mail: [EMAIL PROTECTED]
**PAD***/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



AIDE problem

2003-11-20 Thread Piotr A. Dybczyński

Sorry for repeating my question, but my previous posting became erroneously
attributed as the reply to some other one.

My problem:

 I have noticed a strange behaviour if the AIDE filesystem integrity checker.

 Lately I got a new computer (dual Xeon 3 GHz) and installed Woody with some
 standard software I used to install for years - AIDE among others.


 But AIDE generates (randomly, almost everyday) false reports about changed
 files. It says that one, or hundred files changed, namely that MD5 and SHA1
 checksums are different:

 File: /usr/lib/itk3.1/itk.tcl
 MD5  : a4X16bduSkXdKpMeKK2nOw==  , eWxasPaShK0y8mx/LNlemA==
 SHA1 : 9MeC2Em8xJ9j1aA5dcYo/VCEAxk=  , OlfwA1KnHRC/WxcYii4ng4hAwKo=  

 But files are unchanged!

 Next run of AIDE with the same database gives different warnings or says no
 differences.

 I am using the same AIDE v0.8 from *.deb on single cpu machine and it works
 well.
 I have tried to rebuild *.deb, to compile with Intel icc compiler but nothing
 helps. On single cpu machine it works on dual not.

 Any suggestions?

-- 
/
 Dr Piotr A. Dybczynski,   Astronomical Observatory, A.Mickiewicz University 
 Sloneczna 36,60-286 Poznan,POLAND,tel+48.61.8292784,e-mail: [EMAIL PROTECTED]
**PAD***/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



problem with AIDE

2003-11-19 Thread Piotr A. Dybczyński
Hello everybody,

I have noticed a strange behaviour if the AIDE filesystem integrity checker.

Lately I got a new computer (dual Xeon 3 GHz) and installed Woody with some
standard software I used to install for years - AIDE among others.


But AIDE generates (randomly, almost everyday) false reports about changed
files. It says that one, or hundred files changed, namely that MD5 and SHA1
checksums are different:

File: /usr/lib/itk3.1/itk.tcl
MD5  : a4X16bduSkXdKpMeKK2nOw==  , eWxasPaShK0y8mx/LNlemA==
SHA1 : 9MeC2Em8xJ9j1aA5dcYo/VCEAxk=  , OlfwA1KnHRC/WxcYii4ng4hAwKo=  

But files are unchanged!

Next run of AIDE with the same database gives different warnings or says no
differences.

I am using the same AIDE v0.8 from *.deb on single cpu machine and it works
well.
I have tried to rebuild *.deb, to compile with Intel icc compiler but nothing
helps. On single cpu machine it works on dual not.

Any suggestions?

PAD
-- 
/
 Dr Piotr A. Dybczynski,   Astronomical Observatory, A.Mickiewicz University 
 Sloneczna 36,60-286 Poznan,POLAND,tel+48.61.8292784,e-mail: [EMAIL PROTECTED]
**PAD***/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]