zyxcz 发表于 2009-08-18 09:05

在AIX中如何编译c连接db2程序

在AIX中如何编译c连接db2程序

db2 prep *.sqc bindfile
db2 bind *.bnd
cc -c *.c

最有一个报错 找不到头文件sqladef.h 但这个文件是有的

snow888 发表于 2009-08-24 10:22

带一个 -I 指定 sqladef.h 文件所在的目录。

这个建议看 makefile 方面的资料 ... ...
页: [1]
查看完整版本: 在AIX中如何编译c连接db2程序