[Gambas-user] Illegal instruction when calling a C

martin p cristia tercoide at ...67...
Wed Nov 11 23:33:52 CET 2015


After removing 3.8.3 installed from sources  with...

$ ./reconf-all

$ ./configure -C

$ make

$ sudo make install

and reinstalling with...

sudo apt-get install gambas3

problem was solved. Have no clue how.

El 11/11/15 a las 19:24, gambas-user-request at lists.sourceforge.net escribió:
> Le 11/11/2015 13:19, martin p cristia a ?crit :
>> >After compiling and installing 3.8.3 (from 3.8.2):
>> >
>> >this call...
>> >
>> >     modLibMatrix8.setCG(cgx, cgy, cgz)
>> >
>> >declared as...
>> >
>> >     Public Extern setCG(x As Float, y As Float, z As Float)
>> >
>> >(no modifications in the C  .so library, or in the gambas code)
>> >
>> >void setCG(double x, double y, double z)
>> >{
>> >// saving CG location for future use
>> >cg.x = x;
>> >cg.y = y;
>> >cg.z = z;
>> >}
>> >
>> >gives
>> >
>> >     "Illegal instruction"
>> >
> Can you provide a gdb backtrace of the crash?
>
> Did you just upgrade Gambas?
>
> -- Beno?t Minisini

-- 
Saludos

Ing. Martin P Cristia





More information about the User mailing list