Сообщения PamidoR
LD_FLAGS
Подскажите пожалуйста, где можно прочитать подробно про LD_FLAGS, какие опции есть и так далее. И вообще стоит ли прописывать LD_FLAGS в make.conf (дистр гента естессн)? Заранее спасибо
KDE 4.2.2... стоит ли!?
Вот какая фигня происходит - одна группа людей восхваляет кеды 4.2.2, говорит что мол, стабильнее, быстрее, красивее, чем 3.5.10, а другая - ненавидит, называет "тормозным дырявым ведром с глюками". Сам тоже ставил - впечатлений почти не осталось т.к. игрался всего часика два. Кто нибудь может привести примеры, где 4.2.2 выйгрывают по скорости или гибкости 3.5.10? А может тест какой проводился на эту тему? Ну в общем приведите доводы в пользу 4.2.2 или 3.5.10, где что рулит и кто кому сливает.
Про CFLAGS и USE флаги
Всем привет. Такой вопрос - прописываю я например опцию -msse2 в CFLAGS, нужно ли её также указывать в USE-флагах? Вот мой make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-O3 -march=k8 -fomit-frame-pointer -pipe -msse -msse2 -msse3 -mmmx -m3dnow"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
USE="kde sse sse2 mmx 3dnow gtk -gnome ncurses cdr dvd dvdr hal qt3 qt4 X userlocales win32codecs xine opengl nvidia"
MAKEOPTS="-j3"
VIDEO_CARDS="nvidia"
ACCEPT_KEYWORDS="~amd64"
GENTOO_MIRRORS="ftp://ftp.corbina.net/pub/Linux/gentoo/"
GENTOO_MIRRORS="ftp://mirror.aiya.ru/pub/gentoo/"
GENTOO_MIRRORS="ftp://ftp.org.kemsu.ru/gentoo"
GENTOO_MIRRORS="ftp://ftp.chg.ru/pub/Linux/distributions/gentoo"
GENTOO_MIRRORS="http://ftp.chg.ru/pub/Linux/distributions/gentoo"
LINGUAS="ru en"
FEATURES="parallel-fetch"
PORTDIR_OVERLAY="/usr/local/portage"
Лёгкий и быстрый браузер
AmaroK 1.4.10 и Last.fm
Вопрос: можно ли как нибудь оживить last.fm на amarok 1.4.10 ? При воспроизведении вываливается ошибка
Error Loading Media
No suitable input plugin. This often means that the url's protocol is not
supported. Network failures are other possible causes.
Гуглил. Вычитал что 1.4.10 использует старый протокол last.fm и нужно апгрейдиться до 2.0. Что, уже совсем никак не завести 1.4.10? Не хочу 2.0!
Вопрос про Qt и make.conf
Установка KDE 3.5.10
xauth: error in locking authority file .Xauthority
Failed to load module «pcidata»
Всем доброго! Проблема такая - иксы не стартуют и вываливается вот это:
(EE) Failed to load module "pcidata" (module does not exist, 0)
Fatal server error:
Unable to load required base modules, Exiting...
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Tue Nov 4 14:07:17 PST 2008
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "glx"
Load "extmod"
Load "xtrap"
Load "record"
Load "dbe"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "Unknown Board"
BusID "PCI:2:0:0"
EndSection
Section "Device"
Identifier "Card1"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "Unknown Board"
BusID "PCI:0:1:3"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
Option "NoLogo" "TRUE"
Option "RenderAccel" "True"
Option "NoRenderExtension" "False"
Option "AddARGBGLXVisuals" "True"
Option "DamageEvents" "True"
SubSection "Display"
Viewport 0 0
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
Option "RenderAccel" "True"
Option "NoRenderExtension" "False"
Option "AddARGBGLXVisuals" "True"
Option "DamageEvents" "True"
SubSection "Display"
Viewport 0 0
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Стоит ли обновлять GCC?
Плагин-терминал для gedit
Просветите темноту (sysenter/sysexit/VDSO)
Перекодирование в музыки в AAC(M4A)
Где ошибка? (FASM)
Всем привет! Люди добрые, подскажите новичку, где ошибка! вот код:
format ELF executable
start:
mov eax,4
mov ecx,msg
mov edx,msgsz
int 80h
mov eax,3
mov ebx,2
mov ecx,buffer
mov edx,10
int 80h
mov eax,4
mov ebx,1
int 80h
mov eax,1
int 80h
msg db 'Put some chars here, please',0Ah
msgsz=$-msg
buffer: resb 10
Правильная настройка дров NVIDIA
Подкиньте код проги на асме
Всем привет! Подкиньте плиз код простенькой программы, которая завершается при нажатии на какую-нибудь клавишу (очень желательно на FASM). Сам не смог это реализовать. ибо нуб:
ormat ELF executable
start:
mov eax,4
mov ecx,msg
mov edx,msgsz
int 80h
mov eax,3
int 80h
cmp eax,32 ;код пробела?
jne start
mov eax,1
int 80h
msg db 'Press space to exit',0Ah
msgsz=$-msg
Как считать данные с клавиатуры в регистр или переменную
Всем привет! Недавно начал изучать FASM (под Linux), и столкнулся с проблемой. Подскажите, как записать считанную с клавиатуры строку/символ в регистр или переменную? В дебаггере не видно чтобы изменялся хоть один из регистров. Вот код
format ELF executable
start:
mov eax,4
mov ecx,msg
mov edx,msgsz
int 80h
mov eax,3
int 80h
cmp eax,32
jne start
mov eax,1
int 80h
msg db 'Press space to exit',0Ah
msgsz=$-msg
Запуск того_самого_unix на qemu
Проблемка с virtualbox ose 2.0.6
Всем привет! Устанавливаю, значит, VirtalBox-OSE-2.0.6 (дистр Gentoo). В конце компиляции вываливается ошибка:
!!! doins: nls does not exist
>>> Completed installing virtualbox-ose-2.0.6 into /var/tmp/portage/app-emulation/virtualbox-ose-2.0.6/image/
* QA Notice: file does not exist:
*
* doins: nls does not exist
strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment
usr/lib/virtualbox-ose/VBoxDD.so
usr/lib/virtualbox-ose/VBoxRT.so
usr/lib/virtualbox-ose/VBoxDD2.so
usr/lib/virtualbox-ose/VBoxDDU.so
usr/lib/virtualbox-ose/VBoxSharedFolders.so
usr/lib/virtualbox-ose/VMMGC.gc
usr/lib/virtualbox-ose/VMMR0.r0
usr/lib/virtualbox-ose/VBoxManage
usr/lib/virtualbox-ose/VBoxREM.so
usr/lib/virtualbox-ose/VBoxSDL.so
usr/lib/virtualbox-ose/VBoxXPCOMIPCD
usr/lib/virtualbox-ose/VBoxVMM.so
usr/lib/virtualbox-ose/VBoxTunctl
usr/lib/virtualbox-ose/VBoxDDGC.gc
usr/lib/virtualbox-ose/components/VBoxC.so
usr/lib/virtualbox-ose/components/VBoxXPCOMIPCC.so
usr/lib/virtualbox-ose/components/VBoxSVCM.so
usr/lib/virtualbox-ose/VBoxDDR0.r0
usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
usr/lib/virtualbox-ose/VBoxSDL
usr/lib/virtualbox-ose/VBoxSVC
usr/lib/virtualbox-ose/VBoxHeadless
usr/lib/virtualbox-ose/VBoxREMImp.so
usr/lib/virtualbox-ose/VBoxSharedClipboard.so
usr/lib/virtualbox-ose/VBoxDD2GC.gc
usr/lib/virtualbox-ose/VBoxDD2R0.r0
usr/lib/virtualbox-ose/VBoxXPCOM.so
usr/lib/virtualbox-ose/VBoxHeadless.so
usr/lib/virtualbox-ose/VBoxSharedOpenGL.so
usr/lib/virtualbox-ose/VBoxPython.so
usr/lib/virtualbox-ose/VBoxSettings.so
* QA Notice: The following files contain runtime text relocations
* Text relocations force the dynamic linker to perform extra
* work at startup, waste system resources, and may pose a security
* risk. On some architectures, the code may not even function
* properly, if at all.
* For more information, see http://hardened.gentoo.org/pic-fix-guide.xml
* Please include the following list of files in your report:
* TEXTREL usr/lib/virtualbox-ose/VBoxDD.so
* TEXTREL usr/lib/virtualbox-ose/VBoxRT.so
* TEXTREL usr/lib/virtualbox-ose/VBoxDD2.so
* TEXTREL usr/lib/virtualbox-ose/VBoxDDU.so
* TEXTREL usr/lib/virtualbox-ose/VBoxSharedFolders.so
* TEXTREL usr/lib/virtualbox-ose/VBoxREM.so
* TEXTREL usr/lib/virtualbox-ose/VBoxSDL.so
* TEXTREL usr/lib/virtualbox-ose/VBoxVMM.so
* TEXTREL usr/lib/virtualbox-ose/components/VBoxC.so
* TEXTREL usr/lib/virtualbox-ose/components/VBoxSVCM.so
* TEXTREL usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
* TEXTREL usr/lib/virtualbox-ose/VBoxSharedClipboard.so
* TEXTREL usr/lib/virtualbox-ose/VBoxHeadless.so
* TEXTREL usr/lib/virtualbox-ose/VBoxSharedOpenGL.so
* TEXTREL usr/lib/virtualbox-ose/VBoxPython.so
* TEXTREL usr/lib/virtualbox-ose/VBoxSettings.so
>>> Installing app-emulation/virtualbox-ose-2.0.6
* >>> SetUID: [chmod go-r] /usr/lib/virtualbox-ose/VBoxSDL ... [ ok ]
* >>> SetUID: [chmod go-r] /usr/lib/virtualbox-ose/VBoxHeadless ... [ ok ]
* Updating desktop mime database ...
*
* To launch VirtualBox just type: "VirtualBox"
* You must be in the vboxusers group to use VirtualBox.
*
* The last user manual is available for download at:
* http://www.virtualbox.org/download/UserManual.pdf
*
>>> Recording app-emulation/virtualbox-ose in "world" favorites file...
* Messages for package net-misc/bridge-utils-1.4:
* This package no longer provides a separate init script.
* Please utilize the new bridge support in baselayout.
* Messages for package dev-util/cvs-1.12.12-r4:
* If you want any CVS server functionality, you MUST emerge with USE=server!
* Messages for package app-emulation/virtualbox-ose-2.0.6:
* Fallback PaX marking -m
* /var/tmp/portage/app-emulation/virtualbox-ose-2.0.6/image//usr/lib/virtualbox-ose/VBoxSDL
* Fallback PaX marking -m
* /var/tmp/portage/app-emulation/virtualbox-ose-2.0.6/image//usr/lib/virtualbox-ose/VBoxHeadless
*
* To launch VirtualBox just type: "VirtualBox"
* You must be in the vboxusers group to use VirtualBox.
*
* The last user manual is available for download at:
* http://www.virtualbox.org/download/UserManual.pdf
compiler@localhost /usr/lib/virtualbox-ose $ less /etc/portage/package.use | grep 2.0.6
=app-emulation/virtualbox-ose-2.0.6 python additions alsa sdk
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-O2 -mtune=i686 -pipe -msse3 -msse2 -msse"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"
USE="-qt -kde sse sse2 sse3 mmx 3dnow gtk gnome ncurses truetype cdr dvd\
dvdr hal -qt2 -qt3 -qt4 X nls=utf8 userlocales win32codecs mp3 aac xine\
x264 wavpack vorbis pdf oss opengl ogg firefox mplayer jpeg flac nvidia"
MAKEOPTS="-j3"
VIDEO_CARDS="nvidia"
ACCEPT_KEYWORDS="x86"
GENTOO_MIRRORS="ftp://ftp.corbina.net/pub/Linux/gentoo/"
GENTOO_MIRRORS="ftp://mirror.aiya.ru/pub/gentoo/"
GENTOO_MIRRORS="ftp://ftp.org.kemsu.ru/gentoo"
GENTOO_MIRRORS="ftp://ftp.chg.ru/pub/Linux/distributions/gentoo"
GENTOO_MIRRORS="http://ftp.chg.ru/pub/Linux/distributions/gentoo"
LINGUAS="ru en"
FEATURES="parallel-fetch"
PORTDIR_OVERLAY="/usr/local/portage"
compiler@localhost /usr/lib/virtualbox-ose $ ls
components VBoxDD.so VBoxREM64.so VBoxSVC
sdk VBoxDDU.so VBoxREM.so VBoxTunctl
VBox VBoxGuestPropSvc.so VBoxRT.so VBoxVMM.so
VBoxDD2GC.gc VBoxHeadless VBoxSDL VBoxXPCOMIPCD
VBoxDD2R0.r0 VBoxHeadless.so VBoxSDL.so VBoxXPCOM.so
VBoxDD2.so VBoxManage VBoxSettings.so VMMGC.gc
VBoxDDGC.gc VBoxPython.so VBoxSharedClipboard.so VMMR0.r0
VBoxDDR0.r0 VBoxREM32.so VBoxSharedFolders.so
| ← назад | следующие → |