Bill Allombert on Wed, 06 May 2009 18:10:58 +0200

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Updating an old C program which uses parilib

On Wed, May 06, 2009 at 11:26:03AM -0400, Jack Fearnley wrote:
>   I put it in /opt which
>   is probably a mistake since /usr/local seems to be the default.  (I did
>   this to stay away from the standard Ubuntu application packages.)
>   I have probably complicated my life unnecessarily but the program now
>   seems to work with Bill Allombert's corrections.

>   If anyone is interested, the beginning of my program shows
>   #ifdef HAVE_CONFIG_H
>   #include <config.h>
>   #endif
>   #include "jack.h"
>   #include <pari.h>
>   #include <stdio.h>
>   #include <stdlib.h>
>   #include <math.h>
>   #include <complex.h>

I am not sure this is related but you should use
#include <pari/pari.h> 
and not #include <pari.h>.