1 Reply Latest reply on Apr 17, 2014 4:48 PM by kknox

    Unable to compile ACML in AMD processor terminal

    sam215

      When ever I am trying to compile the program written in C with gcc compiler in Linux system to generate Gaussian Random Number in Parallel threading (using skip ahead method) in AMD processor using ACML library then the following error is showing :

      gnr.c:(.text+0x280): undefined reference to `drandinitialize'

      gnr.c:(.text+0x2ee): undefined reference to `drandskipahead'

      gnr.c:(.text+0x309): undefined reference to `drandskipahead'

      gnr.c:(.text+0x335): undefined reference to `drandgaussian'

      gnr.c:(.text+0x361): undefined reference to `drandgaussian'

      gnr.c:(.text+0x38d): undefined reference to `drandgaussian'

      collect2: ld returned 1 exit status

      make: *** [gnr] Error 1

       

      Can anyone say what is going wrong or is there a possible way out ?

      Since unless I compile I could not proceed further