Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99172 - new gpsim version 0.21.11
Summary: new gpsim version 0.21.11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Embedded Team (OBSOLETE)
URL: http://www.dattalo.com/gnupic/gpsim.html
Whiteboard:
Keywords:
: 120501 126126 126215 (view as bug list)
Depends on: 93394
Blocks: 99051 120502
  Show dependency tree
 
Reported: 2005-07-16 00:27 UTC by Elias Probst
Modified: 2006-03-24 22:14 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2005-07-16 00:27:48 UTC
Please bump the ebuild and update the documentation.
Thx!

Greetings

Elias P.
Comment 1 Daniel Black (RETIRED) gentoo-dev 2005-07-21 06:59:04 UTC
please check version before placing bugs. 
 
version 0.21.4 has a compile error using the 0.21.2 ebuild. 
 
Can you find a solution please? 
 
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -march=athlon-xp -O2 -pipe -c input.cc -MT input.lo 
-MD -MP -MF .deps/input.TPlo  -fPIC -DPIC -o .libs/input.lo 
mv -f .libs/command.lo command.lo 
source='socket.cc' object='socket.lo' libtool=yes \ 
depfile='.deps/socket.Plo' tmpdepfile='.deps/socket.TPlo' \ 
depmode=gcc3 /bin/sh ../depcomp \ 
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. 
-I. -I.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include     -march=athlon-xp 
-O2 -pipe -c -o socket.lo `test -f 'socket.cc' || echo './'`socket.cc 
rm -f .libs/socket.lo 
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -march=athlon-xp -O2 -pipe -c socket.cc -MT socket.lo 
-MD -MP -MF .deps/socket.TPlo  -fPIC -DPIC -o .libs/socket.lo 
input.cc: In function `void exit_gpsim()': 
input.cc:761: error: `channel' undeclared (first use this function) 
input.cc:761: error: (Each undeclared identifier is reported only once for 
each function it appears in.) 
input.cc: In function `void initialize_readline()': 
input.cc:813: error: `gpsim_rl_getc' undeclared (first use this function) 
input.cc:814: error: `channel' undeclared (first use this function) 
input.cc:826: error: `keypressed' undeclared (first use this function) 
make[2]: *** [input.lo] Error 1 
make[2]: *** Waiting for unfinished jobs.... 
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -march=athlon-xp -O2 -pipe -c socket.cc -MT socket.lo 
-MD -MP -MF .deps/socket.TPlo -o socket.o >/dev/null 2>&1 
mv -f .libs/socket.lo socket.lo 
make[2]: Leaving directory 
`/var/tmp/portage/gpsim-0.21.4/work/gpsim-0.21.4/cli' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/gpsim-0.21.4/work/gpsim-0.21.4' 
make: *** [all] Error 2 
 
Comment 2 Stuart Longland (RETIRED) gentoo-dev 2005-07-25 21:51:57 UTC
The newer gpsim depends on gtk+extra-2.0 or later it seems.

Marking it dependant on bug #93394.
Comment 3 Luca Spiller 2005-09-02 11:52:22 UTC
I am having a few problems compiling at my end, I have done a bit of looking
around but I can't find anything to point out what I have done wrong. I have
tried with gtk+extra-2.0.0 and gtk+extra-2.1.1, which both install fine, but
when I try to install gpsim-0.21.4 (with +X -doc), I get the following:

i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
-I/usr/include/gtkextra-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -D "DATADIR=\"~/.gpsim/\"" -D
"DATADIR=\"~/.gpsim/\"" -O3 -march=athlon-xp -mtune=athlon-xp -fforce-addr
-momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe
-fvisibility-inlines-hidden -c gui_profile.cc -MT gui_profile.lo -MD -MP -MF
.deps/gui_profile.TPlo  -fPIC -DPIC -o .libs/gui_profile.lo
gui_profile.cc: In function `int plot_profile(Profile_Window*, char**, guint64*,
int)':
gui_profile.cc:806: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
argument `1' to `void gtk_plot_axis_show_labels(GtkPlotAxis*, gint)'
gui_profile.cc:807: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
argument `1' to `void gtk_plot_axis_show_labels(GtkPlotAxis*, gint)'
gui_profile.cc:808: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
argument `1' to `void gtk_plot_axis_show_labels(GtkPlotAxis*, gint)'
gui_profile.cc:809: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
argument `1' to `void gtk_plot_axis_set_visible(GtkPlotAxis*, gboolean)'
gui_profile.cc:811: error: `gtk_plot_canvas_add_plot' undeclared (first use this
function)
gui_profile.cc:811: error: (Each undeclared identifier is reported only once for
each function it appears in.)
gui_profile.cc:812: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
argument `1' to `void gtk_plot_axis_hide_title(GtkPlotAxis*)'
gui_profile.cc:813: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
argument `1' to `void gtk_plot_axis_hide_title(GtkPlotAxis*)'
gui_profile.cc:814: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
argument `1' to `void gtk_plot_axis_hide_title(GtkPlotAxis*)'
gui_profile.cc:815: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
argument `1' to `void gtk_plot_axis_hide_title(GtkPlotAxis*)'
gui_profile.cc:826: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
argument `1' to `void gtk_plot_axis_set_ticks(GtkPlotAxis*, gdouble, gint)'
gui_profile.cc:831: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
argument `1' to `void gtk_plot_axis_set_labels_style(GtkPlotAxis*,
GtkPlotLabelStyle, gint)'
gui_profile.cc: In function `int plot_routine_histogram(Profile_Window*)':
gui_profile.cc:1099: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
argument `1' to `void gtk_plot_axis_show_labels(GtkPlotAxis*, gint)'
gui_profile.cc:1100: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
argument `1' to `void gtk_plot_axis_show_labels(GtkPlotAxis*, gint)'
gui_profile.cc:1101: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
argument `1' to `void gtk_plot_axis_set_visible(GtkPlotAxis*, gboolean)'
gui_profile.cc:1103: error: `gtk_plot_canvas_add_plot' undeclared (first use
this function)
gui_profile.cc:1104: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
argument `1' to `void gtk_plot_axis_hide_title(GtkPlotAxis*)'
gui_profile.cc:1105: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
argument `1' to `void gtk_plot_axis_hide_title(GtkPlotAxis*)'
gui_profile.cc:1116: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
argument `1' to `void gtk_plot_axis_set_ticks(GtkPlotAxis*, gdouble, gint)'
gui_profile.cc:1117: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
argument `1' to `void gtk_plot_axis_set_title(GtkPlotAxis*, const gchar*)'
gui_profile.cc:1121: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
argument `1' to `void gtk_plot_axis_set_labels_style(GtkPlotAxis*,
GtkPlotLabelStyle, gint)'
gui_profile.cc:1123: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
argument `1' to `void gtk_plot_axis_set_ticks(GtkPlotAxis*, gdouble, gint)'
gui_profile.cc:1124: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
argument `1' to `void gtk_plot_axis_set_title(GtkPlotAxis*, const gchar*)'
gui_profile.cc:1128: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
argument `1' to `void gtk_plot_axis_set_labels_style(GtkPlotAxis*,
GtkPlotLabelStyle, gint)'
make[2]: *** [gui_profile.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/gpsim-0.21.4/work/gpsim-0.21.4/gui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gpsim-0.21.4/work/gpsim-0.21.4'
make: *** [all] Error 2

!!! ERROR: dev-embedded/gpsim-0.21.4 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

My emerge info:
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-nitro5 i686)
=================================================================
System uname: 2.6.12-nitro5 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -fforce-addr
-momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -fforce-addr
-momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.mirror.sdv.fr
ftp://ftp.rhnet.is/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/
ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/gentoo/
ftp://ftp.tiscali.nl/pub/mirror/gentoo"
LINGUAS="en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X alsa apache2 apm avi bash-completion bitmap-fonts
bluetooth bonobo crypt cups curl dba directfb dvd dvdr dvdread dvdrw eds emboss
encode fam firefox flac foomaticdb fortran gd gdbm gif gimpprint gnome gpm
gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 irmc jack java jpeg
junit kqemu libg++ libwww mad mikmod mmx mmxext mono motif mozilla mozsvg
mozxmlterm mp3 mpeg mysql ncurses nls nptl ogg oggvorbis opengl pam pdflib perl
png ppds python quicktime readline real scanner sdl spell sqlite sse ssl
subversion svg svga svn symlink tcltk tcpd tetex tiff truetype truetype-fonts
type1-fonts usb v4l vorbis webservices xine xinerama xml xml2 xmms xprint xv
xvid zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS

Apollogies if this is something blindingly obvious, but I have had around 2
hours sleep in the last 36 hours. :P
Comment 4 Urriellu 2005-11-30 10:38:50 UTC
Using the ebuild from 0.21.2 works for me (documentation needs to be updated) compiling the new 
version 0.21.11 
 
I'm using gtk+extra-2.1.1 
Comment 5 Marcus D. Hanwell (RETIRED) gentoo-dev 2006-01-25 03:27:33 UTC
I have been testing a new version of ktechlab (0.3) which requires a more recent version of gpsim. In my testing I noticed that the X use flag adds X? ( >=x11-libs/gtk+extra-0.99.17 ), wouldn't it be more correct to use the gtk use flag in this case? For apps like ktechlab it makes no sense to pull in GTK deps that are never used, although my KDE system does have the X use flag set. I can put this in a separate bug if necessary, but for now it has forced me to add a -X for this package in package.use which is not optimal.

Thanks.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-01-27 01:07:52 UTC
*** Bug 120501 has been marked as a duplicate of this bug. ***
Comment 7 Robert Scott 2006-02-11 21:16:46 UTC
I had a very similar problem to Daniel Black earlirt in this bug, using the gpsim 0.21.11 ebuild found in bug 120501.

The problem stems from disabling the X USE flag (presumably to prevent having to worry about gtkextra). In gpsim, the definition of gpsim_rl_getc et al are #ifdef'd out when you've disabled the gui, causing the compile to fail.

Other than that, it works.
Comment 8 Robert Scott 2006-02-12 06:24:24 UTC
Oh, except the SRC_URI was out of date.
Comment 9 Heinrich Wendel (RETIRED) gentoo-dev 2006-02-20 01:05:01 UTC
dev-embedded team: any status update?
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-03-14 01:53:35 UTC
*** Bug 126126 has been marked as a duplicate of this bug. ***
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-03-14 14:34:30 UTC
*** Bug 126215 has been marked as a duplicate of this bug. ***
Comment 12 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-03-24 22:14:37 UTC
in cvs now.