gcc-10: options order important?
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
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***/
Re: Samba - PDC - profile mobilne
W liście nadanym Tue, 19 Feb 2008 14:26:47 +0100 Albert Czarnecki [EMAIL PROTECTED] pisze: Witam Komuś się udało zmusić sambę i winxp aby działały profile mobilne? Owszem, u mnie działa. Co opis to coś nowego i jak nie działało to dalej nie działa , przy logowaniu użytkownik dostaje informacje ze niby profil istnieje ale nie jest jego właścicielem, na serwerze natomiast nic nie ma nic nie było kopiowane. W dokumentacji: http://pl.samba.org/samba/docs/man/Samba-HOWTO-Collection/ProfileMgmt.html jest taki akapit: Windows XP Service Pack 1 There is a security check new to Windows XP (or maybe only Windows XP service pack 1). It can be disabled via a group policy in the Active Directory. The policy is called: Computer Configuration\Administrative Templates\System\User Profiles\ Do not check for user ownership of Roaming Profile Folders This should be set to Enabled. Does the new version of Samba have an Active Directory analogue? If so, then you may be able to set the policy through this. If you cannot set group policies in Samba, then you may be able to set the policy locally on each machine. If you want to try this, then do the following: 1. On the XP workstation, log in with an administrative account. 2. Click on Start - Run. 3. Type mmc. 4. Click on OK. 5. A Microsoft Management Console should appear. 6. Click on File - Add/Remove Snap-in - Add. 7. Double-click on Group Policy. 8. Click on Finish - Close. 9. Click on OK. 10. In the “Console Root” window expand Local Computer Policy - Computer Configuration - Administrative Templates - System - User Profiles. 11. Double-click on Do not check for user ownership of Roaming Profile Folders. 12. Select Enabled. 13. Click on OK. 14. Close the whole console. You do not need to save the settings (this refers to the console settings rather than the policies you have changed). 15. Reboot. Bez tego windowsy XP odmawiają współpracy z profilami. Pozdrawiam, Piotr A. Dybczyński Information from NOD32 This message was checked by NOD32 Antivirus System for Linux Mail Servers. part000.txt - is OK http://www.eset.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Nautilus - problem z montowaniem.
W liście nadanym Sun, 27 Jan 2008 19:53:51 +0100 [EMAIL PROTECTED] pisze: Chodzi o to, żeby zwykły użytkownik (nie mający uprawnień root-a, ani nie mający pojęcia o konsoli) mógł zamontować partycję, najlepiej w taki sposób jak to jest zrobione w Ubuntu (tam nie ma nawet żadnych wpisów w /etc/fstab dotyczących tych partycji). W ubuntu jest pewnie wrapper, który mount puszcza przez gtksu. Spróbuj opisać partycje w fstab, dodając opcje user (man mount), np u mnie dla Pendrve-a jest tak: /dev/sda/media/dev_sda autorw,user,noauto,noatime 0 0 Pozdrawiam, PAD -- / Dr Piotr A. Dybczynski, Astronomical Observatory, A.Mickiewicz University Sloneczna 36,60-286 Poznan,POLAND,tel+48.618292784,e-mail: [EMAIL PROTECTED] **PAD***/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: procmail
W liście nadanym Wed, 30 Jan 2008 12:48:02 +0100 (CET) [EMAIL PROTECTED] pisze: Czy procmail moze tworzyc brakujace katalogi? Chodzi o sytuacje, w ktorej w pliku .procmailrc znajduje sie regula np.: :0: * ^X-Spam-Flag: YES $MAILDIR/.Spam/ ale katalog .Spam nie istnieje. U mnie regułka: :0 * ^Subject:.*(*SPAM*) Spam brakujący katalog Spam tworzy. Pozdrawiam, PAD -- / Dr Piotr A. Dybczynski, Astronomical Observatory, A.Mickiewicz University Sloneczna 36,60-286 Poznan,POLAND,tel+48.618292784,e-mail: [EMAIL PROTECTED] **PAD***/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
impossible to apply security updates
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]
Re: ProFTPd 1.2.10 - Server hungup immediately after connect
W licie nadanym Mon, 13 Jun 2005 15:40:59 +0200 Linuks pytania [EMAIL PROTECTED] pisze: Mam problemik z ProFTPd taki, e co jaki czas - niestety nieregularny - pada mi proces gwny serwera ftp. U mnie dodanie wpisu: DelayEngine off w gwnej konfiguracji serwera wyleczyo problem skutecznie. Pozdrawiam, 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]