gnupic: FreeBSD and gpsim
Subject:
Re: FreeBSD and gpsim
From:
Xiaofan Chen ####@####.####
Date:
5 Jan 2006 12:33:25 +0000
Message-Id: <a276da400601050433i3cfa6622h9c3415e079e64bfc@mail.gmail.com>
On 1/2/06, Xiaofan Chen ####@####.#### wrote:
> Today I got the time to test FreeBSD and PIC development. I found
> packages for gputils and sdcc. There is no gpsim package but
> an old version (0.21.2) builds okay after installing some
> packages: gtk+extra, popt and readline. The latest version of
> gpsim (0.21.11) does not build even though I can build the
> latest version of gtk+extra 2.1.1 using the source tar ball.
>
Today I installed the official FreeBSD gtkextra2 port (from the
STABLE development branch) and now the configuration
is okay. However it fails with os_dependent.cc.
Regards,
Xiaofan
if /usr/local/bin/bash ../libtool --mode=compile --tag=CXX g++
-DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -DXUSE_MTSAFE_API
-I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0
-I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include
-I/usr/X11R6/include/pango-1.0 -I/usr/local/include/freetype2
-I/usr/local/include -g -O2 -MT os_dependent.lo -MD -MP -MF
".deps/os_dependent.Tpo" -c -o os_dependent.lo os_dependent.cc; \
then mv -f ".deps/os_dependent.Tpo" ".deps/os_dependent.Plo"; else rm
-f ".deps/os_dependent.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -DXUSE_MTSAFE_API
-I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0
-I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include
-I/usr/X11R6/include/pango-1.0 -I/usr/local/include/freetype2
-I/usr/local/include -g -O2 -MT os_dependent.lo -MD -MP -MF
.deps/os_dependent.Tpo -c os_dependent.cc -fPIC -DPIC -o
.libs/os_dependent.o
os_dependent.cc: In function `char* get_error_message()':
os_dependent.cc:352: error: invalid conversion from `const char*' to `char*'
gmake[2]: *** [os_dependent.lo] Error 1
gmake[2]: Leaving directory `/home/xiaofan/Desktop/build/gpsim-0.21.11/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/xiaofan/Desktop/build/gpsim-0.21.11'
gmake: *** [all] Error 2