红联Linux门户
Linux帮助

到底make命令是怎么用的呀! 我都快疯掉啦!

发布时间:2009-11-03 08:35:48来源:红联作者:baichengwalter
近日为了研究软件的安装,不断地用make,make install,不过总是不成功,用的是红旗6,每次运行完/configure后,总有一堆英文出来,貌似成功的样子,可是一到make,就总提示错误,都是说文件错误的那种,接下去的肯定就装不了啦,有哪位好心人帮帮忙呀,都是rpm多好呀~~~
文章评论

共有 18 条评论

  1. baichengwalter 于 2009-11-06 08:32:09发表:

    可它总提示没有configure.status 其他软件安装都很少出现这种情况 真郁闷啊

  2. tom_hong 于 2009-11-06 01:28:58发表:

    虽然我菜 但是只有make安装的才是王道

  3. baichengwalter 于 2009-11-05 09:36:14发表:

    今天才装好了wine 可是还是不会用 哎~! 学习哟~~

  4. 落雨 于 2009-11-04 23:57:42发表:

    需要学习阿

  5. 落雨 于 2009-11-04 23:57:35发表:

    需要学习阿

  6. baichengwalter 于 2009-11-04 21:20:59发表:

    有什么好资料推荐啵?

  7. wl0123abc 于 2009-11-04 19:48:54发表:

    先看看关于make方面的书!
    从提供的信息看,参数有误!
    不符合make规则!

  8. baichengwalter 于 2009-11-04 10:21:52发表:

    [root@localhost ~]# /root/Desktop/realit/driver/configure
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for ranlib... ranlib
    checking for a BSD-compatible install... /usr/bin/install -c
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ANSI C header files... yes
    checking for an ANSI C-conforming const... yes
    checking for inline... inline
    checking whether time.h and sys/time.h may both be included... yes
    checking whether gcc needs -traditional... no
    checking for current directory... /root
    checking cross compile...
    checking for directory with kernel source... /lib/modules/2.6.22.6-1/source
    checking for directory with kernel build... /lib/modules/2.6.22.6-1/build
    checking for kernel linux/version.h... yes
    checking for kernel linux/autoconf.h... yes
    checking for kernel version... 2.6.22.6-1
    checking for GCC version... Kernel compiler: gcc 4.2.1 Used compiler: gcc (GCC) 4.2.1
    checking for built-in ALSA... no
    checking for existing ALSA module... yes
    checking for Red Hat kernel... auto
    checking for Red Hat kernel... no
    checking for SUSE kernel... auto
    checking for SUSE kernel... no
    checking for updating alsa-kernel version.h... yes
    checking for CONFIG_EXPERIMENTAL... yes
    checking for directory to store kernel modules... /lib/modules/2.6.22.6-1/kernel/sound
    checking for verbose procfs... on
    checking for verbose printk... on
    checking for debug level... none
    checking for ISA support in kernel... yes
    checking for processor type... i586
    checking for i386 machine type... default
    checking for ISA DMA API... yes
    checking for kernel linux/config.h... no
    Creating ...
    checking for deprecated linux/config.h... checking to modify of kernel linux/kmod.h... no
    checking for kernel linux/utsrelease.h... yes
    checking for kernel linux/compiler.h... yes
    checking for kernel linux/pm.h... yes
    checking for kernel linux/spinlock.h... yes
    checking for kernel linux/irq.h... yes
    checking for kernel linux/threads.h... yes
    checking for kernel linux/rwsem.h... yes
    checking for kernel linux/gameport.h... yes
    checking for kernel media/v4l2-dev.h... yes
    checking for kernel linux/devfs_fs_kernel.h... no
    Creating a dummy ...
    checking for kernel linux/highmem.h... yes
    checking for kernel linux/workqueue.h... yes
    checking for kernel linux/dma-mapping.h... yes
    checking for kernel asm/hw_irq.h... yes
    checking for kernel linux/device.h... yes
    checking for kernel linux/platform_device.h... yes
    checking for kernel linux/isa.h... yes
    checking for kernel linux/jiffies.h... yes
    checking for kernel linux/compat.h... yes
    checking for kernel linux/log2.h... yes
    checking for kernel linux/adb.h... yes
    checking for kernel linux/cuda.h... yes
    checking for kernel linux/pmu.h... yes
    checking for kernel linux/io.h... yes
    checking for kernel linux/moduleparam.h... yes
    checking for kernel linux/syscalls.h... yes
    checking for kernel linux/firmware.h... yes
    checking for kernel linux/err.h... yes
    checking for kernel linux/bitmap.h... yes
    checking for kernel linux/mutex.h... yes
    checking for kernel linux/pm_qos_params.h... no
    Creating ...
    checking for kernel linux/kthread.h... yes
    checking for kernel asm/irq_regs.h... yes
    checking for kernel linux/seq_file.h... yes
    checking for kernel linux/debugfs.h... yes
    checking for kernel linux/gpio.h... no
    Creating a dummy ...
    checking for kernel module symbol versions... yes
    checking for has ioport support... yes
    checking for PCI support in kernel... yes
    checking for I2C driver in kernel... module
    checking for I2C_POWERMAC in kernel... unknown
    checking for firmware loader... yes
    checking for input subsystem in kernel... yes
    checking for pc-speaker platform in kernel... no
    checking for SMP... yes
    checking for Video device support in kernel... yes
    checking for ISA PnP driver in kernel... yes
    checking for PnP driver in kernel... yes
    checking for Kernel ISA-PnP support... yes
    checking for strlcpy... yes
    checking for snprintf... yes
    checking for vsnprintf... yes
    checking for scnprintf... yes
    checking for sscanf... yes
    checking for vmalloc_to_page... yes
    checking for old kmod... no
    checking for PDE... yes
    checking for pci_set_consistent_dma_mask... yes
    checking for pci_dev_present... yes
    checking for msleep... yes
    checking for msleep_interrupt... yes
    checking for msecs_to_jiffies... yes
    checking for tty->count is the atomic type... no
    checking for video_get_drvdata... yes
    checking for video_drvdata... no
    checking for V4L1 layer... yes
    checking for V4L2 layer... yes
    checking for io_remap_pfn_range... yes
    checking for kcalloc... yes
    checking for kstrdup... yes
    checking for kstrndup... no
    checking for kzalloc... yes
    checking for create_workqueue with flags... no
    checking for pci_ioremap_bar... no
    checking for saved_config_space in pci_dev... yes
    checking for new pci_save_state... yes
    checking for register_sound_special_device... yes
    checking for driver extra-version...
    checking for driver version... 1.0.20
    checking for dynamic minor numbers... no
    checking for sequencer support... yes
    checking for OSS/Free emulation... yes
    checking for OSS PCM plugin system inclusion... yes
    checking for RTC support... yes
    checking for HPET support... yes
    checking for Procfs support... yes
    checking for USB support... yes
    checking for class_simple... no
    checking for old driver suspend/resume callbacks... no
    checking for removal of page-reservation for nopage/mmap... yes
    checking for nested class_device... yes
    checking for new IRQ handler... yes
    checking for gfp_t... yes
    checking for GFP_DMA32... yes
    checking for page_to_pfn... yes
    checking for PnP suspend/resume... yes
    checking for device_create_drvdata... no
    checking for new unlocked/compat_ioctl... yes
    checking for builtin _Bool support... yes
    checking for x86-compatible PC... no
    checking for High-Res timers... yes
    checking for kernel PCMCIA
    checking for PCMCIA support... yes
    checking for PC9800 support in kernel... no
    checking for parallel port support... yes
    checking for power management... yes
    checking for cards to compile driver for... all
    checking for additonal options to compile driver for... all
    configure: creating ./config.status
    config.status: creating version
    config.status: creating Makefile.conf
    config.status: WARNING: /root/Desktop/realit/driver/Makefile.conf.in seems to ignore the --datarootdir setting
    config.status: creating snddevices
    config.status: creating utils/alsa-driver.spec
    config.status: creating utils/buildrpm
    config.status: creating toplevel.config
    config.status: creating utils/alsasound
    config.status: creating utils/alsasound.posix
    config.status: creating include/pci_ids_compat.h
    config.status: creating include/i2c-id_compat.h
    config.status: creating include/config.h
    config.status: include/config.h is unchanged
    config.status: creating include/config1.h
    config.status: include/config1.h is unchanged
    config.status: creating include/version.h
    config.status: include/version.h is unchanged
    config.status: creating include/autoconf-extra.h
    config.status: include/autoconf-extra.h is unchanged
    Hacking autoconf.h...
    [root@localhost ~]# make
    config.status: error: invalid argument: Make.rules
    make: *** [Make.rules] 错误 1
    [root@localhost ~]#

    呵呵 因为外接音箱要装驱动才有用阿 要不本本会唱坏掉

  9. love25444 于 2009-11-03 22:02:51发表:

    呵呵

  10. 绿色圣光 于 2009-11-03 19:46:57发表:

    声卡驱动?从来没安过,因为个人感觉没必要(或者说,没需要)

  11. gaobr 于 2009-11-03 19:25:25发表:

    8# baichengwalter
    oss就不错啊,免费了,还是rpm包

  12. baichengwalter 于 2009-11-03 16:52:59发表:

    声卡驱动哦 REALTEK HD AUDIO 驱动哦 等下帖~ 近日往返在windows和Linux之间 还没过度到Linux啊 谢谢各位鼎力相助哦 小弟要继续努力啊!

  13. 绿色圣光 于 2009-11-03 12:36:50发表:

    引用:
    他的意思是:都是.rpm的软件包,安装非常方便。只要双击,就可以安装。不像源码包那样还要自己编译、配置、安装。(花费的时间、精力都非常多)
    gzl1100 发表于 2009-11-3 12:11

    哦,看错了。明白了……
    楼主到底在安什么啊?

  14. alick 于 2009-11-03 12:30:22发表:

    把configure和make得(错误信息)输出列出来,大家看看

  15. gzl1100 于 2009-11-03 12:11:30发表:

    他的意思是:都是.rpm的软件包,安装非常方便。只要双击,就可以安装。不像源码包那样还要自己编译、配置、安装。(花费的时间、精力都非常多)

  16. 绿色圣光 于 2009-11-03 12:02:23发表:

    最后一句话什么意思?怎么都是rpm?

  17. gsm1011 于 2009-11-03 12:01:23发表:

    把configure的输出信息贴出来看看,帮你分析以下。

  18. foolishken 于 2009-11-03 09:45:34发表:

    [b][font=微软雅黑][size=6]并不是说configure完了就一定要成功的,要看configure以后输出的结果是如何显示的,如果没有任何error或者warning字样的时候,可能是成功了,如果有的话那就要看你的error和warning之后的提示是什么了,是不是内核不行还是某个软件版本太低还是什么库文件版本太低了,然后解决相应的问题,这 方面你可以在网上搜索一下别人的成功案例,多学习一下方法。呵呵。。。。。。。[/size][/font][/b]