[Gambas-user] Pb with Even parity on SerialPort component

Gaël Le Hec'H gael.lehech at ...626...
Mon Oct 6 16:37:20 CEST 2008


I made the modification directly line 402 of tools.c because the 2.0.0
version didn't worked with gb.net from svn :-(( impossible to open serial
port error #5.
The parity works now perfectly thanks Benoit.

2008/10/6 Benoit Minisini <gambas at ...1...>

> On lundi 06 octobre 2008, Gaël Le Hec'H wrote:
> > now I remember ;-)
> >
> > make[5]: entrant dans le répertoire «
> > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src/ext »
> > if /bin/sh ../../libtool --tag=CXX --mode=compile ccache g++
> > -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11/include/
> > -I/usr/lib/qt-3.3.8b/include/
> > -I/usr/X11R6/include -D_REENTRANT -I../../share -I../../src/share   -pipe
> > -Wall -fno-exceptions -Wno-unused-value -fsigned-char -g -Os
> > -fno-omit-frame-pointer  -MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o
> > main.lo main.cpp; \
> >         then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f
> > ".deps/main.Tpo"; exit 1; fi
> >  ccache g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11/include/
> > -I/usr/lib/qt-3.3.8b/include/ -I/usr/X11R6/include -D_REENTRANT
> > -I../../share -I../../src/share -pipe -Wall -fno-exceptions
> > -Wno-unused-value -fsigned-char -g -Os -fno-omit-frame-pointer -MT
> main.lo
> > -MD -MP -MF .deps/main.Tpo -c main.cpp  -fPIC -DPIC -o .libs/main.o
> > In file included from
> >
> /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/
> >codecvt.h:475, from
> >
> /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/
> >locale_facets.h:1533, from
> >
> /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/
> >basic_ios.h:44, from
> >
> /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ios:5
> >1, from
> >
> /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ostre
> >am:45, from
> >
> /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/itera
> >tor:71, from /usr/lib/qt-3.3.8b/include/qvaluelist.h:51,
> >                  from /usr/lib/qt-3.3.8b/include/qmap.h:49,
> >                  from /usr/lib/qt-3.3.8b/include/qmime.h:46,
> >                  from /usr/lib/qt-3.3.8b/include/qevent.h:48,
> >                  from /usr/lib/qt-3.3.8b/include/qobject.h:48,
> >                  from /usr/lib/qt-3.3.8b/include/qwidget.h:46,
> >                  from ../gb.qt.h:29,
> >                  from main.h:27,
> >                  from main.cpp:36:
> >
> /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/i486-
> >slackware-linux/bits/codecvt_specializations.h: In member function
> `virtual
> > std::codecvt_base::result std::codecvt<_InternT, _ExternT,
> > std::__enc_traits>::do_unshift(std::__enc_traits&, _ExternT*, _ExternT*,
> > _ExternT*&) const':
> >
> /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/i486-
> >slackware-linux/bits/codecvt_specializations.h:359: error: no matching
> > function for call to `__iconv_adaptor(size_t (&)(void*, char**, size_t*,
> > char**, size_t*), void* const&, intptr_t&, intptr_t&, char**&, size_t*&)'
> > make[5]: *** [main.lo] Erreur 1
> > make[5]: quittant le répertoire «
> > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src/ext »
> > make[4]: *** [all-recursive] Erreur 1
> > make[4]: quittant le répertoire «
> > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src »
> > make[3]: *** [all-recursive] Erreur 1
> > make[3]: quittant le répertoire « /home/trunk/gambas/2.0/trunk/2.0/gb.qt
> »
> > make[2]: *** [all] Erreur 2
> > make[2]: quittant le répertoire « /home/trunk/gambas/2.0/trunk/2.0/gb.qt
> »
> > make[1]: *** [all-recursive] Erreur 1
> > make[1]: quittant le répertoire « /home/trunk/gambas/2.0/trunk/2.0 »
> > make: *** [all] Erreur 2
> >
> > i upgraded qt 3.3.6 to 3.3.8 but for gcc :-((
> >
> > 2008/10/5 Gaël Le Hec'H <gael.lehech at ...626...>
> >
>
> You can just compile the gb.net component and install it. To do that, just
> do
> the ./reconf && ./configure && make && make install inside the gb.net
> directory.
>
> All gambas components are actually 'independent' source packages, so you
> can
> compile each of them independently. I put independent between quotes
> because
> this is not totally true, as I used symbolic links to share files between
> components. But as soon as the entire source package is installed, this is
> true.
>
> Regards,
>
> --
> Benoit Minisini
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list