首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > IBM DB2 >

db2代码编译报错!解决办法

2012-12-31 
db2代码编译报错!急!各位高手,我在编译C代码时报错,不懂错误原因,请各位指点。db2inst1@vmhost:~/usr make

db2代码编译报错!急!
各位高手,我在编译C代码时报错,不懂错误原因,请各位指点。

db2inst1@vmhost:~/usr> make
db2 connect to sample user tsp30 using tsp30

   Database Connection Information

 Database server        = DB2/LINUX 10.1.0
 SQL authorization ID   = TSP30
 Local database alias   = SAMPLE

db2 "prep demo.sqc bindfile preprocessor 'gcc -I/home/db2inst1/sqllib/include -DDEBUG -E -o demo.i'" 

LINE    MESSAGES FOR demo.sqc
------  --------------------------------
        SQL0060W  The "C" precompiler is in progress.
   36   SQL4001N  The character "? in column "19" on line "36" is 
                  not valid.
        SQL0095N  No bind file was created because of previous 
                  errors.
        SQL0091W  Precompilation or binding was ended with "2" 
                  errors and "0" warnings.
make: *** [demo] Error 4
[解决办法]
没加过中文,你看看是不是上传的时候,变乱码了。或者,你直接在服务器上改一下。

热点排行