我用make命令编译sqlte时为什么会出现这种错误啊 : nios2-elf-gcc -g -DOS_UNIX=1 -I. -I./src -DNDEBUG -DTHREADSAFE=0 -DSQLITE_THREA D_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -c ./src/vdbe.c -DPIC -o .lib s/vdbe.o ./src/vdbe.c: In function `sqlite3VdbeExec': ./src/vdbe.c:1289: error: duplicate case value ./src/vdbe.c:877: error: previously used here ./src/vdbe.c:1574: error: duplicate case value ./src/vdbe.c:856: error: previously used here ./src/vdbe.c:1578: error: duplicate case value ./src/vdbe.c:593: error: previously used here ./src/vdbe.c:1716: error: duplicate case value ./src/vdbe.c:1086: error: previously used here 是不是与configure后面的host的参数有关系啊。 运行configure时,曾经出现过下面的错误 #../configure --prefix=/usr/sqlite/sqlite-pc/ --host= $ARCH-uclinux configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking build system type... i686-pc-cygwin checking host system type... configure: error: /bin/bash ../config.sub -uclinux failed 我不知道怎么改,就去掉了configure后面所有参数,运行configure完后,编译make后就出现上面的错误。我用的是nios2linux1.4操作系统,nios2软核cpu。host是什么参数,怎样设置???
|