It seems to me your MonetDB5 installation is not up-to-date.
TYPE_sqlblob is defined in MonetDB5/src/modules/atoms/blob.mx, but you
must of course compile and install that first before continuing with sql.

On 01/26/2007 05:07 PM, Ying Zhang wrote:

> Hello,
> 
> Compiling SQL (stable branch, Fedora core 4) from scratch gives the
> following error:
> 
>  gcc -m64 -DHAVE_CONFIG_H -I. -I../../../../src/backends/monet5
>  -I../../.. -I../../../../src/backends/monet5 -I../../include
>  -I../../../../src/backends/monet5/../../include -I../../common
>  -I../../../../src/backends/monet5/../../common -I../../storage
>  -I../../../../src/backends/monet5/../../storage -I../../server
>  -I../../../../src/backends/monet5/../../server
>  
> -I/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/include/MonetDB
>  
> -I/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/include/MonetDB/common
>  
> -I/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/include/MonetDB/gdk
>  
> -I/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/include/MonetDB
>  
> -I/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/include/MonetDB/mapilib
>  
> -I/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/include/MonetDB5/atoms
>  
> -I/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/include/MonetDB5/compiler
>  
> -I/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/include/MonetDB5/kernel
>  
> -I/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/include/MonetDB5/mal
>  
> -I/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/include/MonetDB5/optimizer
>  
> -I/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/include/MonetDB5/scheduler
>  
> -I/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/include/MonetDB5
>  -DLIBSQL -std=c99 -g -c sql.c  -fPIC -DPIC -o .libs/lib_sql_la-sql.o
>  ../../../../src/backends/monet5/sql.mx: In function 'str_2_sqlblob':
>  ../../../../src/backends/monet5/sql.mx:1763: error: 'TYPE_sqlblob'
>  undeclared (first use in this function)
>  ../../../../src/backends/monet5/sql.mx:1763: error: (Each undeclared
>  identifier is reported only once
>  ../../../../src/backends/monet5/sql.mx:1763: error: for each function
>  it appears in.)
>  ../../../../src/backends/monet5/sql.mx: In function 'SQLsqlblob_2_str':
>  ../../../../src/backends/monet5/sql.mx:1784: warning: implicit
>  declaration of function 'sqlblob_tostr'
>  make[7]: *** [lib_sql_la-sql.lo] Error 1
>  make[7]: Leaving directory
>  `/ufs/zhang/src/monet/dev/sql/build/src/backends/monet5'
>  make[6]: *** [all] Error 2
>  make[6]: Leaving directory
>  `/ufs/zhang/src/monet/dev/sql/build/src/backends/monet5'
>  make[5]: *** [all-recursive] Error 1
>  make[5]: Leaving directory
>  `/ufs/zhang/src/monet/dev/sql/build/src/backends'
>  make[4]: *** [all] Error 2
>  make[4]: Leaving directory
>  `/ufs/zhang/src/monet/dev/sql/build/src/backends'
>  make[3]: *** [all-recursive] Error 1
>  make[3]: Leaving directory `/ufs/zhang/src/monet/dev/sql/build/src'
>  make[2]: *** [all] Error 2
>  make[2]: Leaving directory `/ufs/zhang/src/monet/dev/sql/build/src'
>  make[1]: *** [all-recursive] Error 1
>  make[1]: Leaving directory `/ufs/zhang/src/monet/dev/sql/build'
>  make: *** [all] Error 2
> 
> The code is up-to-date
> 
> Does anyone have a idea about this?
> 
> Thanks!
> 
> Jennie
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> MonetDB-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/monetdb-users


-- 
Sjoerd Mullender

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
MonetDB-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-users

Reply via email to