很奇怪,我在debian下
[code]
#include
by isnowran - C/C++ - 2006-09-30 17:27:39 阅读(2172) 回复(3)
我的操作步骤 下载linux-2.6.12.tar.gz tar -zvxf linux-2.6.12.tar.gz cd linux-2.6.12 make menuconfig make make modules_install cp arch/i386/boot/bzImage /boot vi grub title debian GNU/Linux, kernel 2.6.12 root (hd0,2) kernel /boot/bzImage root=/dev/hda3 ro savedefault boot 系统启动后屏幕显视 VFS : Cannot open root device "hda3" or unknown-blo...
make menuconfig make make install 全都没有出错,但是我重启机器后,却出现 can not open root device"301" or unknown-block(3,1) please append a correct "root=" boot option kernel panic-not syncing:vfs: unable to mount root fs on (3,1) unknown-block / 在hda1下 swap 在hd5下
debian 编译新内核之后,每次启动都出这句话,是什么意思? TSC appears to be running slowly. Marking it as unstable. Time: acpi_pm clocksource has been installed. 在启动之后,登陆之前
因为工作关系需要建立自己的JDK,尝试了一下在debian上完整编译了JDK6.0 准备工作 系统中需要安装好ksh,gawk,m4,make,libasound2-dev,libcupsys2-dev,libx11-dev,xorg-dev,libXp6-dev 关于编译器,SUN推荐的是gcc3.2,debian缺省安装的是gcc4.1,我测试下来发现4.1检查++代码时更严格,也就是说更难编译,而且有一个内部bug造成最后编译不能完成,后来 我用的是gcc4.0。gcc3.2没有试。 编译时需要系统中已有一个JDK,我安装的...
:x 我在 woody 下安装 xsim 执行如下步骤: ./configue make make install 一切正常,然后提示: if u have notinstalled data files before type "make install-data" to install data file 于是,我键入:make install-data 出现: cd plugins/IMs;make install-data make[1]: Entering directory `/tmp/xsim-0.3.9.4/plugins/IMs' make[2]: Entering directory `/tmp/xsim-0.3.9.4/plugins/IMs/jianpin/dict' rm -f chardb ./c...
debian:/usr/local/php-5.2.4# ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql/ --with-mcrypt --with-zlib --enable-http --with-curl=/usr/src/curl-7.18.0 loading cache ./config.cache checking for Cygwin environment... no checking for mingw32 environment... no checking for egrep... grep -E checking for a sed that does not truncate output... /b...
GCC编译器已安装. gcc -o a a.c生成了a 该如何执行. 在ubuntu下可以./a debian好像没反应? 已经google过了.没有找到合适答案
make make[1]: Entering directory `/home/xiao/vnc-3.3.7/zlib' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/xiao/vnc-3.3.7/zlib' make[1]: Entering directory `/home/xiao/vnc-3.3.7/rdr' make[1]: Leaving directory `/home/xiao/vnc-3.3.7/rdr' make[1]: Entering directory `/home/xiao/vnc-3.3.7/rfb' make[1]: Leaving directory `/home/xiao/vnc-3.3.7/rfb' make[1]: Entering directory...
搭建好的debian的基本系统,添加源http://debian.cn99.org/debian
然后
apt-get update
apt-get upgrade
然后不知道怎么做了,怎么才能搭建好GCC的编译环境??
我尝试了
apt-get install gcc
但是随便写一个c文件,就告诉我找不到#include