the above log is from the i386 build,

so, passing -D__extension__= to the matwrap call goes a bit further, and
I then see the same failure from the amd64 build:

[ 16%] Generating plplot_octave.cc, tmp_stub
unrecognized type 'struct _IO_FILE '
make[3]: *** [bindings/octave/plplot_octave.cc] Error 9

this seems to come from /usr/include/stdio.h:
/* Define outside of namespace so the C++ is happy.  */
struct _IO_FILE;

commenting out this forward declaration, we go further until:

unrecognized type '__'
Warning: unrecognized text:

enum __codecvt_result
{ ... };
struct _IO_FILE { ... }
Warning: unrecognized text:
extern int fprintf (FILE *__restrict __stream,
      __const char *__restrict __format, ...);
extern int printf (__const char *__restrict __format, ...);
extern int sprintf (char *__restrict __s,
      __const char *__restrict __format, ...) extern int snprintf (char 
*__restrict __s, size_t __maxlen,
       __const char *__restrict __format, ...)
     extern int dprintf (int __fd, __const char *__restrict __fmt, ...)
     ;
extern int fscanf (FILE *__restrict __stream,
     __const char *__restrict __format, ...) ;
extern int scanf (__const char *__restrict __format, ...) ;
extern int sscanf (__const char *__restrict __s,
     __const char *__restrict __format, ...) ;
extern int fscanf (FILE *__restrict __stream, __const char *__restrict 
__format, ...) __asm__ ("" "__isoc99_fscanf") ;
extern int scanf (__const char *__restrict __format, ...) __asm__ ("" 
"__isoc99_scanf") ;
extern int sscanf (__const char *__restrict __s, __const char *__restrict 
__format, ...) __asm__ ("" "__isoc99_sscanf") extern int vfscanf (FILE 
*__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) 
__asm__ ("" "__isoc99_vfscanf")
     ;
extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) 
__asm__ ("" "__isoc99_vscanf")
     ;
extern int vsscanf (__const char *__restrict __s, __const char *__restrict 
__format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf") __attribute__ 
((__nothrow__))
     
Warning: unrecognized text:

extern __const char *__const sys_errlist[];

Warning: unrecognized text:

union wait
  { ... };


so still one unrecognized type, and some more unrecognized text.

-- 
plplot fails to build on maverick
https://bugs.launchpad.net/bugs/635840
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to