- Forum
- T24 Technical Discussions
- T24 Installation & Configuration
- Compiling C program on AIX 5.3 with TAFC 9 (jBASE)
×
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
-
Topic Author
- Offline
- Premium Member
-
- R20 | TAFJ | ORACLE
Less
More
- Posts: 89
- Thank you received: 4
14 years 5 months ago - 14 years 5 months ago #6379
by concern
Compiling C program on AIX 5.3 with TAFC 9 (jBASE) was created 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
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.
- Thushantha
- Offline
- Junior Member
-
Less
More
- Posts: 31
- Thank you received: 1
14 years 4 months ago #6412
by Thushantha
Replied by Thushantha on topic Re: Compiling C program on AIX 5.3 with TAFC 9 (jBASE)
have you installed the correct C version on your AIX ?
Also check the access permission...
Also check the access permission...
Please Log in or Create an account to join the conversation.
- concern
-
Topic Author
- Offline
- Premium Member
-
- R20 | TAFJ | ORACLE
Less
More
- Posts: 89
- Thank you received: 4
14 years 4 months ago #6418
by concern
Replied by concern on topic Re: Compiling C program on AIX 5.3 with TAFC 9 (jBASE)
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
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.
- Forum
- T24 Technical Discussions
- T24 Installation & Configuration
- Compiling C program on AIX 5.3 with TAFC 9 (jBASE)
Time to create page: 0.031 seconds