Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* problem with makefile
@ 1998-12-01  5:00 Manfred Gruber
  1998-12-04  5:00 ` Charles M Richmond
  0 siblings, 1 reply; 2+ messages in thread
From: Manfred Gruber @ 1998-12-01  5:00 UTC (permalink / raw)


Hi,
I have a problem with compiling a program. 
I'm running OSF1 V4.0D and I want to use a Makefile that looks like
that:

VVVVVVVVVVVVVVVV Makefile START VVVVVVVVVVVVVVVVVVVVVVVVVVVV

INCLUDEDIR=/usr/local/net-351/include

CC_CMD=cc -O -DNET_SSL -DSOLARIS -D_REENTRANT

LD_SHAREDCMD=ld -G

all:

JRUN_OBJS = extension.o interface.o jrun_proxy.o

INCLUDE_FLAGS=-I$(INCLUDEDIR) -I$(INCLUDEDIR)/base -I$(INCLUDEDIR)/frame

COMMON_DEFS=-DMCC_HTTPD -DXP_UNIX -DSPAPI20 -DNSAPI

all: libjrun_nsapi.so

libjrun_nsapi.so: $(JRUN_OBJS)
        $(LD_SHAREDCMD) $(JRUN_OBJS) -o libjrun_nsapi.so
$(EXTRA_LDDEFINES)

.c.o:
        $(CC_CMD) $(COMMON_DEFS) $(INCLUDE_FLAGS) -c -o $@ $<

clean:
        rm $(JRUN_OBJS) libjrun_nsapi.so $(EXTRA_CLEAN)

^^^^^^^^^^^^^^^^^^ Makefile STOP ^^^^^^^^^^^^^^^^^^^^^^

After successfully compiling extension.c, interface.c and jrun_proxy.c
there is an error when ld starts. It says:

ld -G extension.o interface.o jrun_proxy.o -o libjrun_nsapi.so
ld:
Error: Undefined:
__lc_ctype
sprintf
sscanf
atoi
memcpy
strlen
strcpy
strcmp
__nsapi30_table
WriteToLog
Verbose
bzero
select
connect
recv
send
setsockopt
socket
htons
htonl
inet_addr
printf
_errno
close
realloc
memset
strcat
*** Exit 1
Stop.

Can anyone tell me witch library is missing or what is wrong with my
Makefile?

Regards 

	Manfred



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-12-04  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-01  5:00 problem with makefile Manfred Gruber
1998-12-04  5:00 ` Charles M Richmond

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox