gnupic: error making lcd


Previous by date: 24 Jan 2006 04:56:15 +0000 Re: Updated usb_pickit for PICKit 1, Chen Xiao Fan
Next by date: 24 Jan 2006 04:56:15 +0000 Re: [gnupic] error making lcd, Chen Xiao Fan
Previous in thread:
Next in thread:

Subject: error making lcd
From: John De Villiers ####@####.####
Date: 24 Jan 2006 04:56:15 +0000
Message-Id: <1138078510.3551.56.camel@bbj.inet>

i got an error when ran make in the lcd folder. I thought i mssed up
something, so i deleted the folder and ran a cvs z3 update -Pd

a new copy of the lcd stuff downloaded.
i ran the autogen.sh and it ran fine.
Make still gives me an error though.

--------------------
[devillj@fc4 lcd]$ make
make  all-recursive
make[1]: Entering directory `/home/devillj/devel/gpsim/extras/lcd'
Making all in examples
make[2]: Entering directory
`/home/devillj/devel/gpsim/extras/lcd/examples'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/devillj/devel/gpsim/extras/lcd/examples'
make[2]: Entering directory `/home/devillj/devel/gpsim/extras/lcd'
if /bin/sh ./libtool --tag=CXX --mode=compile 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/X11R6/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      -g -O2 -MT lcdgui.lo -MD -MP -MF
".deps/lcdgui.Tpo" -c -o lcdgui.lo lcdgui.cc; \
then mv -f ".deps/lcdgui.Tpo" ".deps/lcdgui.Plo"; else rm -f
".deps/lcdgui.Tpo"; exit 1; fi
mkdir .libs
 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/X11R6/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 -g -O2 -MT lcdgui.lo
-MD -MP -MF .deps/lcdgui.Tpo -c lcdgui.cc  -fPIC -DPIC -o .libs/lcdgui.o
In file included from lcdgui.cc:25:
lcd.h:27:27: error: gpsim/stimuli.h: No such file or directory
lcd.h:28:27: error: gpsim/ioports.h: No such file or directory
lcd.h:29:26: error: gpsim/symbol.h: No such file or directory
lcd.h:30:25: error: gpsim/trace.h: No such file or directory
lcd.h:31:35: error: gpsim/gpsim_interface.h: No such file or directory
lcd.h:41: error: expected class-name before '{' token
lcd.h:64: error: expected class-name before '{' token
lcd.h:76: error: expected class-name before '{' token
lcd.h:107: error: expected class-name before '{' token
lcd.h:110: error: 'IOPORT' has not been declared
lcd.h:115: error: expected class-name before '{' token
lcd.h:118: error: 'IOPORT' has not been declared
lcd.h:130: error: expected class-name before '{' token
lcd.h:163: error: expected class-name before '{' token
lcd.h:174: error: ISO C++ forbids declaration of 'TraceObject' with no
type
lcd.h:174: error: 'TraceObject' declared as a 'virtual' field
lcd.h:174: error: expected ';' before '*' token
lcd.h: In constructor 'LcdTraceType::LcdTraceType(LcdDisplay*, unsigned
int, unsigned int)':
lcd.h:170: error: class 'LcdTraceType' does not have any field named
'TraceType'lcd.h: At global scope:
lcd.h:181: error: ISO C++ forbids declaration of 'TraceObject' with no
type
lcd.h:181: error: 'TraceObject' declared as a 'virtual' field
lcd.h:181: error: expected ';' before '*' token
lcd.h:190: error: ISO C++ forbids declaration of 'TraceObject' with no
type
lcd.h:190: error: 'TraceObject' declared as a 'virtual' field
lcd.h:190: error: expected ';' before '*' token
lcd.h:195: error: expected class-name before '{' token
lcd.h: In constructor 'LcdTraceObject::LcdTraceObject(LcdDisplay*)':
lcd.h:199: error: class 'LcdTraceObject' does not have any field named
'TraceObject'
lcd.h: In constructor 'SMObject::SMObject(char*)':
lcd.h:247: error: 'cout' was not declared in this scope
lcd.h:249: error: 'strdup' was not declared in this scope
lcd.h: In destructor 'SMObject::~SMObject()':
lcd.h:256: error: 'free' was not declared in this scope
lcd.h: In member function 'void SMObject::new_name(char*)':
lcd.h:262: error: 'free' was not declared in this scope
lcd.h:263: error: 'strdup' was not declared in this scope
lcd.h: At global scope:
lcd.h:301: error: expected class-name before '{' token
lcd.h:375: error: ISO C++ forbids declaration of 'TraceType' with no
type
lcd.h:375: error: expected ';' before '*' token
lcd.h:376: error: ISO C++ forbids declaration of 'TraceType' with no
type
lcd.h:376: error: expected ';' before '*' token
lcd.h:377: error: ISO C++ forbids declaration of 'TraceType' with no
type
lcd.h:377: error: expected ';' before '*' token
lcd.h:442: error: ISO C++ forbids declaration of 'Module' with no type
lcd.h:442: error: expected ';' before '*' token
lcd.h:494: error: ISO C++ forbids declaration of 'Module' with no type
lcd.h:494: error: expected ';' before '*' token
lcdgui.cc: In function 'gchar** CreateXPMdataFromLCDdata(LcdDisplay*,
char (*)[7][6])':
lcdgui.cc:53: error: 'malloc' was not declared in this scope
lcdgui.cc:58: error: 'strdup' was not declared in this scope
lcdgui.cc:66: error: 'memset' was not declared in this scope
lcdgui.cc: In constructor 'LcdFont::LcdFont(gint, GtkWidget*,
LcdDisplay*)':
lcdgui.cc:116: error: 'malloc' was not declared in this scope
lcdgui.cc:121: error: 'strlen' was not declared in this scope
lcdgui.cc: In member function 'void LcdDisplay::CreateGraphics()':
lcdgui.cc:331: error: 'strcat' was not declared in this scope
lcdgui.cc:332: error: 'strdup' was not declared in this scope
lcdgui.cc:334: error: 'malloc' was not declared in this scope
lcdgui.cc: In member function 'void LcdDisplay::write_data(int)':
lcdgui.cc:438: error: 'cout' was not declared in this scope
lcdgui.cc: In member function 'void
LcdDisplay::write_ddram_address(int)':
lcdgui.cc:471: error: 'cout' was not declared in this scope
lcdgui.cc: In member function 'void
LcdDisplay::write_cgram_address(int)':
lcdgui.cc:482: error: 'cout' was not declared in this scope
make[2]: *** [lcdgui.lo] Error 1
make[2]: Leaving directory `/home/devillj/devel/gpsim/extras/lcd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/devillj/devel/gpsim/extras/lcd'
make: *** [all] Error 2
[devillj@fc4 lcd]$
----------------------------------

Ideas?


Previous by date: 24 Jan 2006 04:56:15 +0000 Re: Updated usb_pickit for PICKit 1, Chen Xiao Fan
Next by date: 24 Jan 2006 04:56:15 +0000 Re: [gnupic] error making lcd, Chen Xiao Fan
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.