Hi Mukanya,

 First Install the c -complier to your server, if it's already
installed, check - whether the compiler is installed properly or not
by using
" cc "  command
and write simple c program

#include<stdio.h>
void main()
{
 printf('Hello");
}

Regards
Madhu

On Jan 28, 3:07 pm, 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

Reply via email to