Try this:

LIBS=-L/main/software/TAFC_R09/lib -L -lTAFCjbase -llibTAFCfrmwrk -lTAFCutil

The generic recommendation is to find out library names containing every
undefined symbol (using "nm" command, for example,
"nm /main/software/TAFC_R09/lib/libTAFCutil.so |
grep JLibCSUBROUTINE_INIT_VV", and list such libraries by "-l" option.

Alexander

On Fri, Jan 28, 2011 at 10:07, Mukanya <[email protected]> wrote:

> 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/l
> ib -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
>
> --
> Please read the posting guidelines at:
> http://groups.google.com/group/jBASE/web/Posting%20Guidelines
>
> IMPORTANT: Type T24: at the start of the subject line for questions
> specific to Globus/T24
>
> To post, send email to [email protected]
> To unsubscribe, send email to [email protected]
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply via email to