problem compiling libkipi version 1.4

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

problem compiling libkipi version 1.4

Richard Miles-814
I would like help in solving kipi-plugins compile on a Centos 4.5 system. Here is the compile dialog:

> [rmiles@localhost libkipi-0.1.4]$ make
> make  all-recursive
> make[1]: Entering directory `/home/rmiles/digikam/libkipi-0.1.4'
> Making all in libkipi
> make[2]: Entering directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi'
> Making all in libkipi
> make[3]: Entering directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi/libkipi'make  all-am
> make[4]: Entering directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi/libkipi'if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I.. -I./..  -I/usr/include/kde -I/usr/lib/qt-3.3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT interface.lo -MD -MP -MF ".deps/interface.Tpo" -c -o interface.lo interface.cpp; \
> then mv -f ".deps/interface.Tpo" ".deps/interface.Plo"; else rm -f ".deps/interface.Tpo"; exit 1; fi
> In file included from ../libkipi/interface.h:38,
>     > [rmiles@localhost libkipi-0.1.4]$ make
> make  all-recursive
> make[1]: Entering directory `/home/rmiles/digikam/libkipi-0.1.4'
> Making all in libkipi
> make[2]: Entering directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi'
> Making all in libkipi
> make[3]: Entering directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi/libkipi'make  all-am
> make[4]: Entering directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi/libkipi'if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I.. -I./..  -I/usr/include/kde -I/usr/lib/qt-3.3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT interface.lo -MD -MP -MF ".deps/interface.Tpo" -c -o interface.lo interface.cpp; \
> then mv -f ".deps/interface.Tpo" ".deps/interface.Plo"; else rm -f ".deps/interface.Tpo"; exit 1; fi
> In file included from ../libkipi/interface.h:38,
>                  from pluginloader.h:25,
>                  from interface.cpp:32:
> ../libkipi/imagecollection.h:72: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
> In file included from ../libkipi/interface.h:39,
>                  from pluginloader.h:25,
>                  from interface.cpp:32:
> ../libkipi/imageinfo.h:78: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
> In file included from pluginloader.h:25,
>                  from interface.cpp:32:
> ../libkipi/interface.h:90: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
> In file included from interface.cpp:32:
> pluginloader.h:61: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
> pluginloader.h:86: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
> pluginloader.h:99: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
> make[4]: *** [interface.lo] Error 1
> make[4]: Leaving directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi/libkipi'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi/libkipi'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/rmiles/digikam/libkipi-0.1.4'
> make: *** [all] Error 2
> [rmiles@localhost libkipi-0.1.4]$
>
> If you know how to fix this let me know.
> We can proceed from there with the other program piles
> after.
>
> Thanks :)
>
>
>
             from pluginloader.h:25,

>                  from interface.cpp:32:
> ../libkipi/imagecollection.h:72: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
> In file included from ../libkipi/interface.h:39,
>                  from pluginloader.h:25,
>                  from interface.cpp:32:
> ../libkipi/imageinfo.h:78: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
> In file included from pluginloader.h:25,
>                  from interface.cpp:32:
> ../libkipi/interface.h:90: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
> In file included from interface.cpp:32:
> pluginloader.h:61: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
> pluginloader.h:86: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
> pluginloader.h:99: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
> make[4]: *** [interface.lo] Error 1
> make[4]: Leaving directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi/libkipi'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi/libkipi'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/rmiles/digikam/libkipi-0.1.4'
> make: *** [all] Error 2
> [rmiles@localhost libkipi-0.1.4]$
>
> If you know how to fix this let me know.
> We can proceed from there with the other program piles
> after.
>
> Thanks :)
>
>
>


--
Richard Miles
Federal Way WA. USA
registered linux user 46097
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: problem compiling libkipi version 1.4

Gilles Caulier-4
This sound like a GCC visibility issue. Witch GCC version you use ?

Gilles Caulier

2007/5/21, Richard E Miles <[hidden email] >:
I would like help in solving kipi-plugins compile on a Centos 4.5 system. Here is the compile dialog:

> [rmiles@localhost libkipi-0.1.4]$ make
> make  all-recursive
> make[1]: Entering directory `/home/rmiles/digikam/libkipi-0.1.4'
> Making all in libkipi
> make[2]: Entering directory `/home/rmiles/digikam/libkipi- 0.1.4/libkipi'
> Making all in libkipi
> make[3]: Entering directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi/libkipi'make  all-am
> make[4]: Entering directory `/home/rmiles/digikam/libkipi-0.1.4 /libkipi/libkipi'if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I.. -I./..  -I/usr/include/kde -I/usr/lib/qt-3.3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT interface.lo -MD -MP -MF ".deps/interface.Tpo" -c -o interface.lo interface.cpp; \
> then mv -f ".deps/interface.Tpo" ".deps/interface.Plo"; else rm -f ".deps/interface.Tpo"; exit 1; fi
> In file included from ../libkipi/interface.h:38,
>     > [rmiles@localhost libkipi-0.1.4]$ make
> make  all-recursive
> make[1]: Entering directory `/home/rmiles/digikam/libkipi-0.1.4'
> Making all in libkipi

> make[2]: Entering directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi'
> Making all in libkipi
> make[3]: Entering directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi/libkipi'make  all-am
> make[4]: Entering directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi/libkipi'if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I.. -I./..  -I/usr/include/kde -I/usr/lib/qt- 3.3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT interface.lo -MD -MP -MF ".deps/interface.Tpo" -c -o interface.lo interface.cpp; \
> then mv -f ".deps/interface.Tpo" ".deps/interface.Plo"; else rm -f ".deps/interface.Tpo"; exit 1; fi
> In file included from ../libkipi/interface.h:38,
>                  from pluginloader.h:25,
>                  from interface.cpp:32:
> ../libkipi/imagecollection.h:72: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
> In file included from ../libkipi/interface.h:39,
>                  from pluginloader.h:25,
>                  from interface.cpp:32:
> ../libkipi/imageinfo.h:78: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
> In file included from pluginloader.h:25,
>                  from interface.cpp:32:
> ../libkipi/interface.h:90: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
> In file included from interface.cpp:32:
> pluginloader.h:61: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
> pluginloader.h :86: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
> pluginloader.h:99: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
> make[4]: *** [interface.lo] Error 1
> make[4]: Leaving directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi/libkipi'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/home/rmiles/digikam/libkipi- 0.1.4/libkipi/libkipi'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/rmiles/digikam/libkipi- 0.1.4'
> make: *** [all] Error 2
> [rmiles@localhost libkipi-0.1.4]$
>
> If you know how to fix this let me know.
> We can proceed from there with the other program piles
> after.
>
> Thanks :)
>
>
>
             from pluginloader.h:25,

>                  from interface.cpp:32:
> ../libkipi/imagecollection.h:72: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
> In file included from ../libkipi/interface.h:39,
>                  from pluginloader.h:25,
>                  from interface.cpp:32:
> ../libkipi/imageinfo.h:78: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
> In file included from pluginloader.h:25,
>                  from interface.cpp:32:
> ../libkipi/interface.h:90: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
> In file included from interface.cpp:32:
> pluginloader.h:61: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
> pluginloader.h :86: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
> pluginloader.h:99: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
> make[4]: *** [interface.lo] Error 1
> make[4]: Leaving directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi/libkipi'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/home/rmiles/digikam/libkipi- 0.1.4/libkipi/libkipi'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/rmiles/digikam/libkipi- 0.1.4'
> make: *** [all] Error 2
> [rmiles@localhost libkipi-0.1.4]$
>
> If you know how to fix this let me know.
> We can proceed from there with the other program piles
> after.
>
> Thanks :)
>
>
>


--
Richard Miles
Federal Way WA. USA
registered linux user 46097
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: problem compiling libkipi version 1.4

Richard Miles-814
On Mon, 21 May 2007 22:55:09 +0200
"Gilles Caulier" <[hidden email]> wrote:

> This sound like a GCC visibility issue. Witch GCC version you use ?
>
> Gilles Caulier

I use gcc-3.4.6-8
I never heard of visabilty issue with gcc?


>
> 2007/5/21, Richard E Miles <[hidden email]>:
> >
> > I would like help in solving kipi-plugins compile on a Centos 4.5 system.
> > Here is the compile dialog:
> >
> > > [rmiles@localhost libkipi-0.1.4]$ make
> > > make  all-recursive
> > > make[1]: Entering directory `/home/rmiles/digikam/libkipi-0.1.4'
> > > Making all in libkipi
> > > make[2]: Entering directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi'
> > > Making all in libkipi
> > > make[3]: Entering directory `/home/rmiles/digikam/libkipi-0.1.4
> > /libkipi/libkipi'make  all-am
> > > make[4]: Entering directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi/libkipi'if
> > /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
> > -I. -I. -I../.. -I. -I.. -I./..  -I/usr/include/kde -I/usr/lib/qt-3.3/include
> > -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long
> > -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
> > -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security
> > -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
> > -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
> > -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT interface.lo -MD -MP
> > -MF ".deps/interface.Tpo" -c -o interface.lo interface.cpp; \
> > > then mv -f ".deps/interface.Tpo" ".deps/interface.Plo"; else rm -f
> > ".deps/interface.Tpo"; exit 1; fi
> > > In file included from ../libkipi/interface.h:38,
> > >     > [rmiles@localhost libkipi-0.1.4]$ make
> > > make  all-recursive
> > > make[1]: Entering directory `/home/rmiles/digikam/libkipi-0.1.4'
> > > Making all in libkipi
> > > make[2]: Entering directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi'
> > > Making all in libkipi
> > > make[3]: Entering directory `/home/rmiles/digikam/libkipi-0.1.4
> > /libkipi/libkipi'make  all-am
> > > make[4]: Entering directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi/libkipi'if
> > /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
> > -I. -I. -I../.. -I. -I.. -I./..  -I/usr/include/kde -I/usr/lib/qt-3.3/include
> > -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long
> > -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
> > -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security
> > -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
> > -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
> > -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT interface.lo -MD -MP
> > -MF ".deps/interface.Tpo" -c -o interface.lo interface.cpp; \
> > > then mv -f ".deps/interface.Tpo" ".deps/interface.Plo"; else rm -f
> > ".deps/interface.Tpo"; exit 1; fi
> > > In file included from ../libkipi/interface.h:38,
> > >                  from pluginloader.h:25,
> > >                  from interface.cpp:32:
> > > ../libkipi/imagecollection.h:72: error: visibility arg must be one of
> > "default", "hidden", "protected" or "internal"
> > > In file included from ../libkipi/interface.h:39,
> > >                  from pluginloader.h:25,
> > >                  from interface.cpp:32:
> > > ../libkipi/imageinfo.h:78: error: visibility arg must be one of
> > "default", "hidden", "protected" or "internal"
> > > In file included from pluginloader.h:25,
> > >                  from interface.cpp:32:
> > > ../libkipi/interface.h:90: error: visibility arg must be one of
> > "default", "hidden", "protected" or "internal"
> > > In file included from interface.cpp:32:
> > > pluginloader.h:61: error: visibility arg must be one of "default",
> > "hidden", "protected" or "internal"
> > > pluginloader.h:86: error: visibility arg must be one of "default",
> > "hidden", "protected" or "internal"
> > > pluginloader.h:99: error: visibility arg must be one of "default",
> > "hidden", "protected" or "internal"
> > > make[4]: *** [interface.lo] Error 1
> > > make[4]: Leaving directory `/home/rmiles/digikam/libkipi-0.1.4
> > /libkipi/libkipi'
> > > make[3]: *** [all] Error 2
> > > make[3]: Leaving directory `/home/rmiles/digikam/libkipi-0.1.4
> > /libkipi/libkipi'
> > > make[2]: *** [all-recursive] Error 1
> > > make[2]: Leaving directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory `/home/rmiles/digikam/libkipi-0.1.4'
> > > make: *** [all] Error 2
> > > [rmiles@localhost libkipi-0.1.4]$
> > >
> > > If you know how to fix this let me know.
> > > We can proceed from there with the other program piles
> > > after.
> > >
> > > Thanks :)
> > >
> > >
> > >
> >              from pluginloader.h:25,
> > >                  from interface.cpp:32:
> > > ../libkipi/imagecollection.h:72: error: visibility arg must be one of
> > "default", "hidden", "protected" or "internal"
> > > In file included from ../libkipi/interface.h:39,
> > >                  from pluginloader.h:25,
> > >                  from interface.cpp:32:
> > > ../libkipi/imageinfo.h:78: error: visibility arg must be one of
> > "default", "hidden", "protected" or "internal"
> > > In file included from pluginloader.h:25,
> > >                  from interface.cpp:32:
> > > ../libkipi/interface.h:90: error: visibility arg must be one of
> > "default", "hidden", "protected" or "internal"
> > > In file included from interface.cpp:32:
> > > pluginloader.h:61: error: visibility arg must be one of "default",
> > "hidden", "protected" or "internal"
> > > pluginloader.h:86: error: visibility arg must be one of "default",
> > "hidden", "protected" or "internal"
> > > pluginloader.h:99: error: visibility arg must be one of "default",
> > "hidden", "protected" or "internal"
> > > make[4]: *** [interface.lo] Error 1
> > > make[4]: Leaving directory `/home/rmiles/digikam/libkipi-0.1.4
> > /libkipi/libkipi'
> > > make[3]: *** [all] Error 2
> > > make[3]: Leaving directory `/home/rmiles/digikam/libkipi-0.1.4
> > /libkipi/libkipi'
> > > make[2]: *** [all-recursive] Error 1
> > > make[2]: Leaving directory `/home/rmiles/digikam/libkipi-0.1.4/libkipi'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory `/home/rmiles/digikam/libkipi-0.1.4'
> > > make: *** [all] Error 2
> > > [rmiles@localhost libkipi-0.1.4]$
> > >
> > > If you know how to fix this let me know.
> > > We can proceed from there with the other program piles
> > > after.
> > >
> > > Thanks :)
> > >
> > >
> > >
> >
> >
> > --
> > Richard Miles
> > Federal Way WA. USA
> > registered linux user 46097
> > _______________________________________________
> > Digikam-users mailing list
> > [hidden email]
> > https://mail.kde.org/mailman/listinfo/digikam-users
> >
>


--
Richard Miles
Federal Way WA. USA
registered linux user 46097
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users