- 论坛徽章:
- 0
|
原帖由 chuxu 于 2007-3-13 13:10 发表
SYBPLATFORM 用 nthread_开头的
chuxu兄,偶在.profile文件中修改了SYBPLATFORM变量的值,如下所示:
SYBPLATFORM=nthread_sun_svr4
export SYBPLATFORM
没有再报环境变量的问题了。。。。
但提示C编译器的license过期了。。。。。!实际上偶的C编译器是可以用的。。。。直接敲cc或CC都是可以的。。。
另外,偶把运行你的例子代码时,什么反应都没有。。。。。连预编译都没有。。。。不知该从哪里找问题。。?
license过期的提示如下:
$ make
`sh sybopts.sh compile` -I. -I${SYBASE}/${SYBASE_OCS}/include -L${SYBASE}/${SYBASE_OCS}/lib -o PBServer.sh `sh sybopts.sh ocsbase`/include/sybesql.c PBMain.c `sh sybopts.sh ct cs comlibs` `sh sybopts.sh syslibs`
/space/sybase/OCS-12_5/include/sybesql.c:
License Error : The license for this product(Sun WorkShop Compiler C SPARC) has expired
Feature has expired
Feature:workshop.c.sparc
Expire date:06-feb-2005
FLEXlm error:-10,32.
cc: acomp failed for /space/sybase/OCS-12_5/include/sybesql.c
PBMain.c:
License Error : The license for this product(Sun WorkShop Compiler C SPARC) has expired
Feature has expired
Feature:workshop.c.sparc
Expire date:06-feb-2005
FLEXlm error:-10,32.
cc: acomp failed for PBMain.c
*** Error code 4
make: Fatal error: Command failed for target `PBServer.sh
偶用的cc在 /opt/SUNWspro/bin下,在.profile中也已经设置了PATH了。。。。
请多指教!! |
|