Installing gcc is an excellent idea, but I would not be entirely surprised
to learn that the actual failure is in sed.  SCO and awk/sed do not have a
happy history, with incompatible changes having been introduced at times.

Clay

Steve Baldwin said:
> Hi,
>
> I'm trying to build SQLite 3.3.7 on SCO Open Server 5.0.5.  So far, I've
> installed gnu make (which was reasonably painless) to get around the
> limitations of the default SCO make.  We don't have tcl installed, so I
> ran
> configure with the -disable-tcl option.  I didn't get any warnings from
> configure.
>
> When I try the build, I get this ...
>
> $ make
> sed -e s/--VERS--/3.3.7/ ../src/sqlite.h.in | \
>         sed -e s/--VERSION-NUMBER--/3003007/ >sqlite3.h
> cc -g -belf -o lemon ../tool/lemon.c
> cp ../tool/lempar.c .
> cp ../src/parse.y .
> ./lemon  -DSQLITE_OMIT_CURSOR           parse.y
> mv parse.h parse.h.temp
> awk -f ../addopcodes.awk parse.h.temp >parse.h
> cat parse.h ../src/vdbe.c | nawk -f ../mkopcodeh.awk >opcodes.h
> ./libtool --mode=compile cc -g -belf -DOS_UNIX=1 -DHAVE_USLEEP=1 -I.
> -I../src -DNDEBUG   -DTHREADSAFE=0 -DSQLITE_THREAD_OVERRIDE_LOCK=-1
> -DSQLITE_OMIT_CURSOR -c ../src/alter.c
> mkdir .libs
>  cc -g -belf -DOS_UNIX=1 -DHAVE_USLEEP=1 -I. -I../src -DNDEBUG
> -DTHREADSAFE=0 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_CURSOR -c
> ../src/alter.c  -Kpic -DPIC -o .libs/alter.o
> "./sqlite3.h", line 88: error: invalid type combination
> "./sqlite3.h", line 89: error: invalid type combination
> make: *** [alter.lo] Error 1
>
> Here are the lines the compiler is barfing on ...
>
> [EMAIL PROTECTED] W]$ head -89 sqlite3.h | tail -2
>   typedef long long int sqlite_int64;
>   typedef unsigned long long int sqlite_uint64;
>
> Is this doable with the standard SCO C compiler or am I banging my head
> against a brick wall?
>
> Thanks for any suggestions.
>
> Steve
>
>
>
> -----------------------------------------------------------------------------
> To unsubscribe, send email to [EMAIL PROTECTED]
> -----------------------------------------------------------------------------
>
>


-- 
Simple Content Management
http://www.ceamus.com


-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to