Folks,

I am unsuccessfully attempting to install aolserver on AIX 5.1.  I saw Freddie's 
account of how he got it working with the native AIX c compiler.  I am using gcc 
rather than AIX's xlc -- with little luck.  My Makefile.global AIX stanza looks like 
this -- my attempt to squash Freddie's AIX friendly stanza with the gcc compiler 
options. I got my source from http://uptime.openacs.org/aolserver-openacs/.  Does 
anyone have any success stories with aolserver on AIX OR comments on my errors below.  
All help is much appreciated!! :


#
# AIX 5.1
#
ifneq (,$(findstring AIX,$(PLAT)))
  PLATFORM=aix
      #CC=xlc_r -bexpall
      #CFLAGS+=$(GCCOPTIMIZE) -DHAS_STDARG -DUSE_PROTOTYPE -DCOMPAT_43 -D_AIX
  CFLAGS+=$(GCCOPT) -mcpu=common -mthread
      LDSO=$(LD) -G -bnoentry -lpthread -bexpall  -lc -L/usr/lib
      #NSDLIBS=-lm -lld -ldl
  NSDLIBS=-lm
endif



But I still get endless errors of this type:

ld: 0711-317 ERROR: Undefined symbol: .pthread_self
ld: 0711-317 ERROR: Undefined symbol: .pthread_once
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock

Thanks.

Reply via email to