LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1078|回复: 5

编译源代码的时候总是通不过

[复制链接]
发表于 2008-3-10 01:53:58 | 显示全部楼层 |阅读模式
linux-suoming:~ # cd mpg123
linux-suoming:~/mpg123 # make

You must specify the system which you want to compile for:

make linux-help     Linux          more help
make freebsd-help   FreeBSD        more help
make bsdos-help     BSDOS          more help
make aix-help       AIX            more help
make hpux-help      HPUX           more help
make solaris-help   Solaris 2.x    more help
make dec-help       DEC OSF/True64 more help

make sunos          SunOS 4.x (tested: 4.1.4)
make sgi            SGI running IRIX
make sgi-gcc        SGI running IRIX using GCC cc
make ultrix         DEC Ultrix (tested: 4.4)
make os2            IBM OS/2
make netbsd         NetBSD
make openbsd        OpenBSD
make mint           MiNT on Atari
make generic        try this one if your system isn't listed above

Please read the file INSTALL for additional information.

linux-suoming:~/mpg123 #
linux-suoming:~/mpg123 # make linux
make CC=gcc LDFLAGS= \
                OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
                        audio_oss.o term.o' \
                CFLAGS=' -DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX \
                        -DOSS -DTERM_CONTROL\
                        -Wall -O2 -m486 \
                        -fomit-frame-pointer -funroll-all-loops \
                        -finline-functions -ffast-math' \
                mpg123-make
make[1]: Entering directory `/root/mpg123'
make[2]: Entering directory `/root/mpg123'
make[2]: *** No rule to make target `\
', needed by `mpg123'.  Stop.
make[2]: Leaving directory `/root/mpg123'
make[1]: *** [mpg123-make] Error 2
make[1]: Leaving directory `/root/mpg123'
make: *** [linux] Error 2
linux-suoming:~/mpg123 #

以上出现了错误,只是怎么回事呀?  请高手指导
发表于 2008-3-10 02:11:03 | 显示全部楼层
Post by suoming;1824718
linux-suoming:~ # cd mpg123
linux-suoming:~/mpg123 # make

You must specify the system which you want to compile for:

make linux-help     Linux          more help
make freebsd-help   FreeBSD        more help
make bsdos-help     BSDOS          more help
make aix-help       AIX            more help
make hpux-help      HPUX           more help
make solaris-help   Solaris 2.x    more help
make dec-help       DEC OSF/True64 more help

make sunos          SunOS 4.x (tested: 4.1.4)
make sgi            SGI running IRIX
make sgi-gcc        SGI running IRIX using GCC cc
make ultrix         DEC Ultrix (tested: 4.4)
make os2            IBM OS/2
make netbsd         NetBSD
make openbsd        OpenBSD
make mint           MiNT on Atari
make generic        try this one if your system isn't listed above

Please read the file INSTALL for additional information.

linux-suoming:~/mpg123 #
linux-suoming:~/mpg123 # make linux
make CC=gcc LDFLAGS= \
                OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
                        audio_oss.o term.o' \
                CFLAGS=' -DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX \
                        -DOSS -DTERM_CONTROL\
                        -Wall -O2 -m486 \
                        -fomit-frame-pointer -funroll-all-loops \
                        -finline-functions -ffast-math' \
                mpg123-make
make[1]: Entering directory `/root/mpg123'
make[2]: Entering directory `/root/mpg123'
make[2]: *** No rule to make target `\
', needed by `mpg123'.  Stop.
make[2]: Leaving directory `/root/mpg123'
make[1]: *** [mpg123-make] Error 2
make[1]: Leaving directory `/root/mpg123'
make: *** [linux] Error 2
linux-suoming:~/mpg123 #

以上出现了错误,只是怎么回事呀?  请高手指导


没有安装相应的开发包,如果你不懂的话可能要重新安装,选择软件时将开发包剔上,就可以了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-3-10 08:56:14 | 显示全部楼层
Post by chanshun8;1824722
没有安装相应的开发包,如果你不懂的话可能要重新安装,选择软件时将开发包剔上,就可以了。


谢谢!!!!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-3-10 09:03:47 | 显示全部楼层
开发包太多了,不知道改选哪一个?
我怎么才能知道选那些呀?
回复 支持 反对

使用道具 举报

发表于 2008-3-11 00:10:18 | 显示全部楼层
zypper in mpg123
如果非要自己编译去 packman 找 src 包看里面的文件。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-3-13 10:46:21 | 显示全部楼层
Post by Thruth;1825085
zypper in mpg123
如果非要自己编译去 packman 找 src 包看里面的文件。


packman 是什么意思?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表