× Discuss on T24 Installation, Setting up the environment, TC Server, jBOSS, Package & Deployment, etc…

Compiling C program on AIX 5.3 with TAFC 9 (jBASE)

  • concern
  • concern's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • R20 | TAFJ | ORACLE
More
14 years 5 months ago - 14 years 5 months ago #6379 by concern
I am trying to compile a C program and am getting error messages. My makefile looks like this

CC=xlc
CFLAGS=-DJBASE -DAUTHOR=2 -g -DDEBUG
INCLUDES=-I/main/software/TAFC_R09/include
LIBS=-L/main/software/TAFC_R09/lib -L.

all:
$(CC) $(CFLAGS) $(INCLUDES) rams.c wb44.c -oramsweb.e $(LIBS)

clean:
rm -f ramsweb.e


And when i try to compile i get the error below.

$ make
xlc -DJBASE -DAUTHOR=2 -g -DDEBUG -I/main/software/TAFC_R09/include rams.c wb44.c -oramsweb.e -L/main/software/TAFC_R09/lib -L.
rams.c:
wb44.c:
ld: 0711-317 ERROR: Undefined symbol: .JLibCSUBROUTINE_INIT_VV
ld: 0711-317 ERROR: Undefined symbol: .JLibCDEBUG_V
ld: 0711-317 ERROR: Undefined symbol: .JLibBSTORE_BBB
ld: 0711-317 ERROR: Undefined symbol: .JLibCCALL_DIR_DYN
ld: 0711-317 ERROR: Undefined symbol: .JLibBSTORE_VBS
ld: 0711-317 ERROR: Undefined symbol: .JLibBCONV_SFB
ld: 0711-317 ERROR: Undefined symbol: .JLibBStoreFreeVar_VB
ld: 0711-317 ERROR: Undefined symbol: .JLibCSTOP_VI
ld: 0711-317 ERROR: Undefined symbol: .JBASEUserObjectRun
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: 1254-004 The error code from the last command is 8.

Stop.
$


Anyonw who knows how to fix this? Please help.

Regards
Concern
Last edit: 14 years 5 months ago by concern. Reason: typr error

Please Log in or Create an account to join the conversation.

More
14 years 4 months ago #6412 by Thushantha
have you installed the correct C version on your AIX ?

Also check the access permission...

Please Log in or Create an account to join the conversation.

  • concern
  • concern's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • R20 | TAFJ | ORACLE
More
14 years 4 months ago #6418 by concern
hi,

finally managed to compile with

xlc_r -q64 -brtl -DJBASE -DAUTHOR=2 -g -DDEBUG -I/main/software/TAFC_R09/include rams.c wb44.c -oramsweb.e -L/main/software/TAFC_R09/lib -lTAFCfrmwrk -lm -lcurses -L.

thanks for the tips guys.

Regards
concern

Please Log in or Create an account to join the conversation.

Time to create page: 0.031 seconds