Everyone,

Through John Buckman's loaning me the temporary use of a 2-CPU Xeon E5335
Clovertown (quad-core) box, I've been able to figure out how to get
64-bit AOLserver running on it.

The recent suggestion of CC="gcc -nostartfiles" to get AOLserver to
compile and link (due to the _init symbol issue) yields a nsd binary
that doesn't run properly when 64-bit.  What I believe is the correct
"fix" to the problem is to edit include/ns.mak like so:

Change:

    LDLIB           = ${CC} -shared ${CFLAGS} ${LDFLAGS}

to:

    LDLIB           = ${CC} -nostartfiles -shared ${CFLAGS} ${LDFLAGS}

Adding the -nostartfiles to only the LDLIB variable allows AOLserver to
link, but produces a nsd binary that appears to run without the segfault
problem on 64-bit Linux.

I'd like to hear from others who have access to 64-bit platforms if this
fixes your issue, as well.

-- Dossy

-- 
Dossy Shiobara              | [EMAIL PROTECTED] | http://dossy.org/
Panoptic Computer Network   | http://panoptic.com/
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to