what are these errors/how do I get around them: sorry, unimplemented: inter-module optimisations not implemented yet

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

 



I figured I probably made a stupid mistake somewhere, but I'm getting
the errors at the end of this email when I compile a program I've been
working on. Does anyone know what would cause this (the name seems
straightforward enough, but I'm not sure how I'm invoking such an
optimisation)?

My C++/GCC version
> c++ --version
c++ (GCC) 3.4.6 [FreeBSD] 20060305
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

The first error points to line 57 of vp_sqlite2_callback.cpp, which is
the closing "}" of the last function defined in that file (the prior
line is a return 0):
    int vp_sqlite2_onecol_callback(void *pArg, int argc, char **argv,
char **columnNames);

Any advice? What Information should I post beyond this to give an idea
of what is going on?

Thanks,
-Jim Stapleton

> c++ -fpic -DPIC -O2 -fno-strict-aliasing -pipe      -c *.cpp  -o ../../objs/libvpbe_sqlite2-1.0.so
 -L../../objs -I../../include -I/usr/local/include
vp_sqlite2_callbacks.cpp:57: sorry, unimplemented: inter-module
optimisations not implemented yet
In file included from /usr/include/stdarg.h:42,
                 from /usr/local/include/sqlite.h:19,
                 from vp_sqlite2.hh:4,
                 from vp_sqlite2_init.cpp:1:
/usr/include/sys/_types.h:98: error: conflicting declaration 'typedef
union __mbstate_t __mbstate_t
'
/usr/include/sys/_types.h:98: error: '__mbstate_t' has a previous
declaration as `typedef union __m
bstate_t __mbstate_t'
/usr/include/sys/_types.h:98: error: declaration of `typedef union
__mbstate_t __mbstate_t'
/usr/include/sys/_types.h:98: error: conflicts with previous
declaration `typedef union __mbstate_t
 __mbstate_t'
/usr/include/sys/_types.h:98: error: declaration of `typedef union
__mbstate_t __mbstate_t'
/usr/include/sys/_types.h:98: error: conflicts with previous
declaration `typedef union __mbstate_t
 __mbstate_t'
/usr/include/sys/_types.h:98: error: declaration of `typedef union
__mbstate_t __mbstate_t'
/usr/include/sys/_types.h:98: error: conflicts with previous
declaration `typedef union __mbstate_t
 __mbstate_t'

In file included from vp_sqlite2.hh:5,
                 from vp_sqlite2_init.cpp:1:
/usr/include/stdlib.h:66: error: conflicting declaration 'typedef
struct div_t div_t'
/usr/include/stdlib.h:66: error: 'div_t' has a previous declaration as
`typedef struct div_t div_t'
/usr/include/stdlib.h:66: error: declaration of `typedef struct div_t div_t'
/usr/include/stdlib.h:66: error: conflicts with previous declaration
`typedef struct div_t div_t'
/usr/include/stdlib.h:66: error: declaration of `typedef struct div_t div_t'
/usr/include/stdlib.h:66: error: conflicts with previous declaration
`typedef struct div_t div_t'
/usr/include/stdlib.h:66: error: declaration of `typedef struct div_t div_t'
/usr/include/stdlib.h:66: error: conflicts with previous declaration
`typedef struct div_t div_t'
/usr/include/stdlib.h:71: error: conflicting declaration 'typedef
struct ldiv_t ldiv_t'
/usr/include/stdlib.h:71: error: 'ldiv_t' has a previous declaration
as `typedef struct ldiv_t ldiv
_t'
/usr/include/stdlib.h:71: error: declaration of `typedef struct ldiv_t ldiv_t'
/usr/include/stdlib.h:71: error: conflicts with previous declaration
`typedef struct ldiv_t ldiv_t'
/usr/include/stdlib.h:71: error: declaration of `typedef struct ldiv_t ldiv_t'
/usr/include/stdlib.h:71: error: conflicts with previous declaration
`typedef struct ldiv_t ldiv_t'
/usr/include/stdlib.h:71: error: declaration of `typedef struct ldiv_t ldiv_t'
/usr/include/stdlib.h:71: error: conflicts with previous declaration
`typedef struct ldiv_t ldiv_t'
/usr/include/stdlib.h:133: error: conflicting declaration 'typedef
struct lldiv_t lldiv_t'
/usr/include/stdlib.h:133: error: 'lldiv_t' has a previous declaration
as `typedef struct lldiv_t l
ldiv_t'
/usr/include/stdlib.h:133: error: declaration of `typedef struct
lldiv_t lldiv_t'
/usr/include/stdlib.h:133: error: conflicts with previous declaration
`typedef struct lldiv_t lldiv
/usr/include/stdlib.h:133: error: declaration of `typedef struct
lldiv_t lldiv_t'
/usr/include/stdlib.h:133: error: conflicts with previous declaration
`typedef struct lldiv_t lldiv
_t'
/usr/include/stdlib.h:133: error: declaration of `typedef struct
lldiv_t lldiv_t'
/usr/include/stdlib.h:133: error: conflicts with previous declaration
`typedef struct lldiv_t lldiv
_t'

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux