Fedora13下安装过nas的请进来看看!!!

时间:2022-10-10 07:03:09
  最近想安装个nas( Network Audio System )  
  本人是在WMware下Fedora13下操作.
NAS源码包: nas-1.9.2.src.tar.gz
下载网址:http://radscan.com/nas.html#MAILLST
  
  按照上面的README所说的步骤一步步的往下走: 
1. xmkmf -a  (一开始连xmkmf命令都没有,在fedora图形界面下,添加/删除应用程序来安装的,不过好像安装出了些问题中断了,不过能用了...)
  文档上没有写"-a"选项, 不加这选项直接xmkmf出现下面两句话
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/share/X11/config

2.   make World

3.   make install  到这步出现了经常出现过类似但从不知道解决的错误:
/usr/bin/ld: ../../../lib/audio/libaudio.a(ConnSvr.o): undefined reference to symbol 'XauGetBestAuthByAddr'
/usr/bin/ld: note: 'XauGetBestAuthByAddr' is defined in DSO /usr/lib/libXau.so.6 so try adding it to the linker command line
/usr/lib/libXau.so.6: could not read symbols: Invalid operation
collect2: ld 返回 1
make[3]: *** [auctl] 错误 1
make[3]: Leaving directory `/home/ywj/nas-1.9.2/clients/audio/auctl'
make[2]: *** [install] 错误 2
make[2]: Leaving directory `/home/ywj/nas-1.9.2/clients/audio'
make[1]: *** [install] 错误 2
make[1]: Leaving directory `/home/ywj/nas-1.9.2/clients'
make: *** [install] 错误 2

经常碰到这个类似的问题 : 关键字 undefined reference to symbol ...   后面然后一句 could not read symbols:invalid operation  ,哎 心惊胆颤怕遇到这种错误 Fedora13下安装过nas的请进来看看!!! 结果还是碰到了! Fedora13下安装过nas的请进来看看!!!

哪个大哥 解决过类似的错误  帮忙救命啊!

9 个解决方案

#1


库差的太多

#2


引用 1 楼 yong_f 的回复:
库差的太多


  是啊, 看贴子 好像老是差什么什么库, 如果遇到这问题该咋办啊, 又没有详细说明差什么样的库, 就这么来个错误不能往下走, 查都没法查啊!!! 而且我还不知道上面显示到底是差了什么库 Fedora13下安装过nas的请进来看看!!!

#3


To build the software:

    1.    Make sure you have imake.
    (See the BUILDNOTES file if you want to try building with X11R4).

    2.    Do "xmkmf" to create the initial Makefile.

        For Unixware 7, use:

        "imake -DUseInstalled -I/usr/lib/X11/config"

    3.    Do "make World" (note the uppercase World) to build the distribution.

    If you'd like to enable the option of having the audio library
    automatically start up an NAS server on the local host when
    necessary, use the following command to build the
    distribution:

    make WORLDOPTS='-k CDEBUGFLAGS="$(CDEBUGFLAGS) -DSTARTSERVER"' World

    4.    If everything built successfully, you can install it using
    "make install"; to temporarily stage it under some directory, use
    "make install DESTDIR=/usr/tmp/nas" or some such.

    5.    To install the manual pages, use "make install.man" or 
    "make install.man DESTDIR=/usr/tmp/nas" as above.

A complete installation should include the following files:

    /usr/include/audio/Afuncproto.h        Header files
    /usr/include/audio/Afuncs.h
    /usr/include/audio/Amd.h
    /usr/include/audio/Aos.h
    /usr/include/audio/Aosdefs.h
    /usr/include/audio/Aproto.h
    /usr/include/audio/audio.h
    /usr/include/audio/Alibint.h
    /usr/include/audio/Alibnet.h
    /usr/include/audio/Xtutil.h
    /usr/include/audio/audiolib.h
    /usr/include/audio/audioutil.h
    /usr/include/audio/snd.h
    /usr/include/audio/wave.h
    /usr/include/audio/voc.h
    /usr/include/audio/aiff.h
    /usr/include/audio/sound.h
    /usr/include/audio/soundlib.h
    /usr/include/audio/fileutil.h
    /usr/include/audio/8svx.h
    /usr/include/audio/Astreams.h

    /usr/bin/X11/auconvert            Sample programs
    /usr/bin/X11/auctl
    /usr/bin/X11/audemo
    /usr/bin/X11/audial
    /usr/bin/X11/auedit
    /usr/bin/X11/auinfo
    /usr/bin/X11/aupanel
    /usr/bin/X11/auplay
    /usr/bin/X11/aurecord
    /usr/bin/X11/autool
    /usr/bin/X11/auwave
    /usr/bin/X11/auphone
    /usr/bin/X11/auscope
    /usr/bin/X11/soundtoh
    /usr/bin/X11/issndfile
    /usr/bin/X11/playbucket
    /usr/bin/X11/checkmail

    /usr/man/mann/*.n            Client, server, and misc
                        man pages

    /usr/man/man3/*.3            API man pages

    /usr/lib/libaudio.[a|so]        API library
    /usr/lib/X11/AuErrorDB            Error database

    /usr/bin/X11/nasd            NAS server for your
                        hardware (voxware,
                        sun, hpux and sgi)

                 *  *  *  *  *

#4


引用 3 楼 thefirstz 的回复:
Perl code
To build the software:

    1.    Make sure you have imake.
    (See the BUILDNOTES file if you want to try building with X11R4).

    2.    Do "xmkmf" to create the initial Makefile.

   ……

    哥,  我不是要你贴README文档给我看啊,  我是想问怎么解决这个问题呀~  Fedora13下安装过nas的请进来看看!!! 
  第4步 make install出错呀!!!

#5


把错误一个一个复制到google上去搜 每个连接都打开仔细嘟嘟

#6


引用 4 楼 freshman_fantom_ywj 的回复:
引用 3 楼 thefirstz 的回复:

Perl code
To build the software:

1.    Make sure you have imake.
(See the BUILDNOTES file if you want to try building with X11R4).

2.    Do "xmkmf" to create the init……

呵,我是想让你确认下是否有步骤做错,如果没有的话搜下出错信息吧,看能否有帮助

#7


引用 6 楼 thefirstz 的回复:
引用 4 楼 freshman_fantom_ywj 的回复:

引用 3 楼 thefirstz 的回复:

Perl code
To build the software:

1.    Make sure you have imake.
(See the BUILDNOTES file if you want to try building with X11R4).

……


 我是按照README的步骤来的, 上面提示的那些GOOGLE上面也难找啊, 大都是跟我这个类似但缺少的东西不同~  我在家里的RED HAT企业版5 安装NAS成功了, 在这Fedora13怎么就少库了, 我不是单纯想安装成功就算了,而是因为经常遇到类似问题而不知所措! 我想认真了解怎么去解决~  知道的大哥  教教我啊   Fedora13下安装过nas的请进来看看!!!Fedora13下安装过nas的请进来看看!!!

#8


Fedora13下安装过nas的请进来看看!!!  没人不结贴了...

#9


  哎 , 算了!!!  Fedora13下安装过nas的请进来看看!!!

#1


库差的太多

#2


引用 1 楼 yong_f 的回复:
库差的太多


  是啊, 看贴子 好像老是差什么什么库, 如果遇到这问题该咋办啊, 又没有详细说明差什么样的库, 就这么来个错误不能往下走, 查都没法查啊!!! 而且我还不知道上面显示到底是差了什么库 Fedora13下安装过nas的请进来看看!!!

#3


To build the software:

    1.    Make sure you have imake.
    (See the BUILDNOTES file if you want to try building with X11R4).

    2.    Do "xmkmf" to create the initial Makefile.

        For Unixware 7, use:

        "imake -DUseInstalled -I/usr/lib/X11/config"

    3.    Do "make World" (note the uppercase World) to build the distribution.

    If you'd like to enable the option of having the audio library
    automatically start up an NAS server on the local host when
    necessary, use the following command to build the
    distribution:

    make WORLDOPTS='-k CDEBUGFLAGS="$(CDEBUGFLAGS) -DSTARTSERVER"' World

    4.    If everything built successfully, you can install it using
    "make install"; to temporarily stage it under some directory, use
    "make install DESTDIR=/usr/tmp/nas" or some such.

    5.    To install the manual pages, use "make install.man" or 
    "make install.man DESTDIR=/usr/tmp/nas" as above.

A complete installation should include the following files:

    /usr/include/audio/Afuncproto.h        Header files
    /usr/include/audio/Afuncs.h
    /usr/include/audio/Amd.h
    /usr/include/audio/Aos.h
    /usr/include/audio/Aosdefs.h
    /usr/include/audio/Aproto.h
    /usr/include/audio/audio.h
    /usr/include/audio/Alibint.h
    /usr/include/audio/Alibnet.h
    /usr/include/audio/Xtutil.h
    /usr/include/audio/audiolib.h
    /usr/include/audio/audioutil.h
    /usr/include/audio/snd.h
    /usr/include/audio/wave.h
    /usr/include/audio/voc.h
    /usr/include/audio/aiff.h
    /usr/include/audio/sound.h
    /usr/include/audio/soundlib.h
    /usr/include/audio/fileutil.h
    /usr/include/audio/8svx.h
    /usr/include/audio/Astreams.h

    /usr/bin/X11/auconvert            Sample programs
    /usr/bin/X11/auctl
    /usr/bin/X11/audemo
    /usr/bin/X11/audial
    /usr/bin/X11/auedit
    /usr/bin/X11/auinfo
    /usr/bin/X11/aupanel
    /usr/bin/X11/auplay
    /usr/bin/X11/aurecord
    /usr/bin/X11/autool
    /usr/bin/X11/auwave
    /usr/bin/X11/auphone
    /usr/bin/X11/auscope
    /usr/bin/X11/soundtoh
    /usr/bin/X11/issndfile
    /usr/bin/X11/playbucket
    /usr/bin/X11/checkmail

    /usr/man/mann/*.n            Client, server, and misc
                        man pages

    /usr/man/man3/*.3            API man pages

    /usr/lib/libaudio.[a|so]        API library
    /usr/lib/X11/AuErrorDB            Error database

    /usr/bin/X11/nasd            NAS server for your
                        hardware (voxware,
                        sun, hpux and sgi)

                 *  *  *  *  *

#4


引用 3 楼 thefirstz 的回复:
Perl code
To build the software:

    1.    Make sure you have imake.
    (See the BUILDNOTES file if you want to try building with X11R4).

    2.    Do "xmkmf" to create the initial Makefile.

   ……

    哥,  我不是要你贴README文档给我看啊,  我是想问怎么解决这个问题呀~  Fedora13下安装过nas的请进来看看!!! 
  第4步 make install出错呀!!!

#5


把错误一个一个复制到google上去搜 每个连接都打开仔细嘟嘟

#6


引用 4 楼 freshman_fantom_ywj 的回复:
引用 3 楼 thefirstz 的回复:

Perl code
To build the software:

1.    Make sure you have imake.
(See the BUILDNOTES file if you want to try building with X11R4).

2.    Do "xmkmf" to create the init……

呵,我是想让你确认下是否有步骤做错,如果没有的话搜下出错信息吧,看能否有帮助

#7


引用 6 楼 thefirstz 的回复:
引用 4 楼 freshman_fantom_ywj 的回复:

引用 3 楼 thefirstz 的回复:

Perl code
To build the software:

1.    Make sure you have imake.
(See the BUILDNOTES file if you want to try building with X11R4).

……


 我是按照README的步骤来的, 上面提示的那些GOOGLE上面也难找啊, 大都是跟我这个类似但缺少的东西不同~  我在家里的RED HAT企业版5 安装NAS成功了, 在这Fedora13怎么就少库了, 我不是单纯想安装成功就算了,而是因为经常遇到类似问题而不知所措! 我想认真了解怎么去解决~  知道的大哥  教教我啊   Fedora13下安装过nas的请进来看看!!!Fedora13下安装过nas的请进来看看!!!

#8


Fedora13下安装过nas的请进来看看!!!  没人不结贴了...

#9


  哎 , 算了!!!  Fedora13下安装过nas的请进来看看!!!