slackware

“thread apply all bt full” gives blank in GDB

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-11 11:19:20
问题 I was trying to debug a multi-threaded process on a Linux server running Slackware 12 using GDB 6.6. Once I attach and issue the command "thread apply all bt full" it comes back with nothing ( back on to the gdb prompt ). Any idea why this happens? 回答1: Try last GDB version. 7.1 or 7.2. Everything should work. 回答2: I ran into this problem and discovered that I can fix it as follows: run "bt". this should show the backtrace of a thread, although maybe not the one you want. now "cont". hit ctrl

“thread apply all bt full” gives blank in GDB

蹲街弑〆低调 提交于 2020-01-11 11:19:19
问题 I was trying to debug a multi-threaded process on a Linux server running Slackware 12 using GDB 6.6. Once I attach and issue the command "thread apply all bt full" it comes back with nothing ( back on to the gdb prompt ). Any idea why this happens? 回答1: Try last GDB version. 7.1 or 7.2. Everything should work. 回答2: I ran into this problem and discovered that I can fix it as follows: run "bt". this should show the backtrace of a thread, although maybe not the one you want. now "cont". hit ctrl

compiling the 2.6.0 kernel on slackware

大憨熊 提交于 2020-01-01 14:27:55
问题 out of sheer curiosity I tried compiling a 2.6.0 kernel on my slackware machine. root@darkstar:/home/linux-2.6.0# uname -a Linux darkstar 2.6.37.6-smp #2 SMP Sat Apr 9 23:39:07 CDT 2011 i686 Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz GenuineIntel GNU/Linux When I try compiling I get :- root@darkstar:/home/linux-2.6.0# make menuconfig HOSTCC scripts/fixdep scripts/fixdep.c: In function 'traps': scripts/fixdep.c:359:2: warning: dereferencing type-punned pointer will break strict-aliasing rules

compiling the 2.6.0 kernel on slackware

怎甘沉沦 提交于 2020-01-01 14:26:22
问题 out of sheer curiosity I tried compiling a 2.6.0 kernel on my slackware machine. root@darkstar:/home/linux-2.6.0# uname -a Linux darkstar 2.6.37.6-smp #2 SMP Sat Apr 9 23:39:07 CDT 2011 i686 Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz GenuineIntel GNU/Linux When I try compiling I get :- root@darkstar:/home/linux-2.6.0# make menuconfig HOSTCC scripts/fixdep scripts/fixdep.c: In function 'traps': scripts/fixdep.c:359:2: warning: dereferencing type-punned pointer will break strict-aliasing rules

Make: Command not found, but command exists?

牧云@^-^@ 提交于 2019-12-25 06:28:27
问题 So I have a make file which uses arm-eabi-none-xxx commands, but when I run make I get a "Command not Found" error: bash-4.2$ make arm-none-eabi-as -I source/ source/mailbox.s -o build/mailbox.o make: arm-none-eabi-as: Command not found make: *** [build/mailbox.o] Error 127 Weird bit, is the command exists and is in my path (the following is in the same directory as the makefile): bash-4.2$ arm-none-eabi-as --version GNU assembler (Sourcery G++ Lite 2008q3-66) 2.18.50.20080215 This assembler

Tell Mutt to attach files (listed in file)

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-11 23:08:51
问题 I'm doing my first steps with Mutt (with msmtp in Slackware 13.1). I'm already able to send mail with attachments like so: cat mail.txt | mutt -a "/date.log" -a "/report.sh" -s "subject of message" -- myself@gmail.com I would like to define the files to be attached in another file and then tell Mutt to read it, something like this: mutt -? listoffilestoattach.txt Is it possible? Or there are similar approaches? 回答1: You can populate an array with the list of file names fairly easily, then use

compiling the 2.6.0 kernel on slackware

时间秒杀一切 提交于 2019-12-04 13:06:22
out of sheer curiosity I tried compiling a 2.6.0 kernel on my slackware machine. root@darkstar:/home/linux-2.6.0# uname -a Linux darkstar 2.6.37.6-smp #2 SMP Sat Apr 9 23:39:07 CDT 2011 i686 Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz GenuineIntel GNU/Linux When I try compiling I get :- root@darkstar:/home/linux-2.6.0# make menuconfig HOSTCC scripts/fixdep scripts/fixdep.c: In function 'traps': scripts/fixdep.c:359:2: warning: dereferencing type-punned pointer will break strict-aliasing rules scripts/fixdep.c:361:4: warning: dereferencing type-punned pointer will break strict-aliasing rules

Slackware64安装32位库和rtx

这一生的挚爱 提交于 2019-12-04 03:00:04
一、安装alien库 在slackware64下执行如下命令,下载和安装32位库,安装完后需要重启才能生效,因为修改了lib库: $ mkdir multlib $ lftp -c 'open http://slackware.com/~alien/multilib/; mirror 14.1' $ cd 14.1 $ sudo upgradepkg --reinstall --install-new *.t?z $ sudo upgradepkg --install-new slackware64-compat32/*-compat32/*.t?z 二、安装wine、wintricks和cabextract wine: $ wget http://sourceforge.net/projects/wine/files/Slackware%20Packages/1.7.8/x86_64/wine-1.7.8-x86_64-1sg.txz $ sudo installpkg wine-1.7.8-x86_64-1sg.txz winetricks: $ wget http://winetricks.org/winetricks $ chmod +x winetricks $ cp winetricks /usr/local/bin cabextract: $ wget http:/

“thread apply all bt full” gives blank in GDB

≯℡__Kan透↙ 提交于 2019-12-02 02:15:06
I was trying to debug a multi-threaded process on a Linux server running Slackware 12 using GDB 6.6. Once I attach and issue the command "thread apply all bt full" it comes back with nothing ( back on to the gdb prompt ). Any idea why this happens? Try last GDB version. 7.1 or 7.2. Everything should work. I ran into this problem and discovered that I can fix it as follows: run "bt". this should show the backtrace of a thread, although maybe not the one you want. now "cont". hit ctrl+c. I see something like "[Switching to LWP %d]" hit ctrl+c again. this breaks at the thread i want to see the

Java's 'tnameserv' takes 3+ minutes to be “Ready”, why?

我只是一个虾纸丫 提交于 2019-11-30 23:57:16
I'm trying to help a dev of an app I'd like to use trouble shoot a problem utilizing Corba Server on Linux. I narrowed down the problem to tnameserv taking over 3 minutes to become ready after invocation. What exactly is tnameserv trying to do in those 3 minutes and is there anyway I can speed it up? The app failed because it tried to do 5 connection attempts with 1-second between retries; which apparently doesn't give tnameserv nearly enough time to become ready. I am using Java 6u17 on Slackware 13.0 In case it matters. The actual invocation of tnameserv is the following: tnameserv