No link flags for libaudio on OpenSolaris

2008-02-14
2013-04-26
  • Moinak Ghosh

    Moinak Ghosh - 2008-02-14

    Libaudio is built with missing linker flags on OpenSolaris like
    missing lXt, so it results in symbol not found errors at runtime.
    I am including an Imakefile patch below that fixed this:

    --- nas-1.9.1/lib/audio/Imakefile.orig  2008-02-14 12:47:04.956193811 +0530
    +++ nas-1.9.1/lib/audio/Imakefile       2008-02-14 12:48:13.082731818 +0530
    @@ -150,7 +150,7 @@
    XAULIB = -lXau
    #endif

    -#if defined(LinuxArchitecture) || defined(GNUArchitecture) || defined(__FreeBSD_kernel__)
    +#if defined(LinuxArchitecture) || defined(GNUArchitecture) || defined (SunArchitecture) || defined(__FreeBSD_kernel__)
    REQUIREDLIBS = -L$(USRLIBDIR) -lXt $(XAULIB) -lm
    #endif

     
    • Jon Trulson

      Jon Trulson - 2008-02-17

      This patch has been applied to current svn.  Thanks!

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks