[rtg] CVS compile error / Sol10

Ripley, Scott Scott.Ripley at fairfaxcounty.gov
Fri Nov 17 10:18:49 PST 2006


When compiling the CVS version of RTG I get the following error during the
make:

gcc -DHAVE_CONFIG_H -I. -I. -I../config -I../cgilib-0.4  -I/opt/csw/include
-I/usr/include -I/usr/local/include -I/include -D_POSIX_PTHREAD_SEMANTICS
-I/opt/csw//include -I/opt/csw//include -I/usr/local/pgsql/include
-I/usr/local/mysql/include -I/usr/local/include/net-snmp
-I/usr/local/include/net-snmp/..  -D_POSIX_PTHREAD_SEMANTICS -c `test -f
rtgplot.c || echo './'`rtgplot.c
rtgplot.c: In function `plot_scale':
rtgplot.c:1053: error: structure has no member named `tm_gmtoff'
rtgplot.c:1053: error: structure has no member named `tm_gmtoff'
rtgplot.c:1054: error: structure has no member named `tm_gmtoff'
rtgplot.c:1054: error: structure has no member named `tm_gmtoff'
rtgplot.c:1103: error: structure has no member named `tm_gmtoff'
rtgplot.c:1103: error: structure has no member named `tm_gmtoff'
make[2]: *** [rtgplot.o] Error 1
make[2]: Leaving directory `/root/rtg/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/rtg/src'
make: *** [all-recursive] Error 1

ENV looks like this:

CPPFLAGS=-I/opt/csw/include -I/usr/include -I/usr/local/include -I/include
LDFLAGS=-L/opt/csw/lib -L/usr/lib -L/usr/local/lib -L/lib -L/usr/sfw/lib
CVSROOT=/usr/local/src
LD_LIBRARY_PATH=/usr/local/lib:/opt/csw/lib:/usr/sfw/lib:/usr/lib:/opt/csw/s
sl/lib:/usr/local/ssl/lib:/usr/local/mysql/lib

GCC looks like this:
gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured with: 
/gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

Can anyone offer any insight into this problem?  The only documentation on
tm_gmtoff I can find is for a glibc that isn't ported to Solaris, so I
suspect I'm not linking to something or I'm missing something else.

Thanks. I'm a huge RTG fan and I'm anxious to get started with 0.8


-- 
Scott Ripley
NMS Architect, I-Net team
Fairfax County Government
12000 Government Center Parkway, Fairfax VA 22035
703.324.4231 / 202.236.4352 (cell)



More information about the RTG mailing list