Article View: news.software.readers
Article #87027[SLRN] Building 0.9.7.3 on Sun Solaris 2.4 system
From: Frank Hahn
Date: Fri, 09 Nov 2001 22:27
Date: Fri, 09 Nov 2001 22:27
119 lines
5121 bytes
5121 bytes
I am trying to build slrn-0.9.7.3 on a Sun Sparc 5 running Solaris 2.4.
After I enter the following:
$ ./configure --disable-nls --with-slrnpull
[runs for awhile]
#v+
checking for AIX... no
checking C compiler that understands ANSI prototypes... gcc looks ok. Good.
checking for gcc 2.7.* (assume bug in strength reduction)... no
checking for BeOS... no
checking host system type... autoconf/config.guess: test: argument expected
configure: error: can not guess host type; you must specify one
#v-
it stops. If I then enter the following:
$ ./configure --disable-nls --with-slrnpull --host=solaris
[runs for awhile]
#v+
checking for AIX... no
checking C compiler that understands ANSI prototypes... gcc looks ok. Good.
checking for gcc 2.7.* (assume bug in strength reduction)... no
checking for BeOS... no
checking host system type... Invalid configuration solaris': machine
solaris' not recognized
#v-
but configure keeps on going. Part way through though, it quits here:
#v+
Making all in src
make[1]: Entering directory /home/dfh/temp/slrn-0.9.7.3/src'
./chkslang slrn 10003 10400
gcc -g -O2 -o slrn art.o chmap.o editscore.o group.o grplens.o
hash.o help.o hooks.o interp.o menu.o mime.o misc.o post.o score.o
server.o sortdate.o slrn.o startup.o ttymsg.o util.o decode.o xover.o
slrndir.o version.o print.o art_misc.o vfile.o snprintf.o
-L/usr/local/lib -lslang -lm
Undefined first referenced
symbol in file
socket server.o
gethostbyname misc.o
h_errno misc.o
getservbyname server.o
inet_addr server.o
inet_ntoa server.o
gethostname misc.o
connect server.o
ld: fatal: Symbol referencing errors. No output written to slrn
make[1]: *** [slrn] Error 1
make[1]: Leaving directory /home/dfh/temp/slrn-0.9.7.3/src'
make: *** [all-recursive] Error 1
#v-
If I start over, and type the following:
$ ./configure --disable-nls --with-slrnpull --host=sun4 (or sparc)
#v+
checking for AIX... no
checking C compiler that understands ANSI prototypes... gcc looks ok.
Good.
checking for gcc 2.7.* (assume bug in strength reduction)... no
checking for BeOS... no
checking host system type... sparc-sun-sunos4.1.1
checking for ranlib... ranlib
checking for ANSI C header files... yes
#v-
and I am not sure the sparc-sun-sunos4.1.1 is correct. It compiles
for awhile and then ends here:
#v+
gcc -Dunix -DSHAREDIR=\"/usr/local/share/slrn\"
-DSYSCONFDIR=\"/usr/local/etc\" -I. -I../intl -I/usr/local/include
-g -O2 -c vfile.c
In file included from /usr/include/sys/turnstile.h:11,
from /usr/include/sys/t_lock.h:20,
from /usr/include/sys/file.h:13,
from vfile.c:44:
/usr/include/sys/param.h:122: warning: NULL' redefined
/opt/depot/gcc-2.8.1/lib/gcc-lib/sparc-sun-solaris2.4/2.8.1/include/stddef.h:313:
warning: this is the location of the previous definition
gcc -Dunix -DSHAREDIR=\"/usr/local/share/slrn\"
-DSYSCONFDIR=\"/usr/local/etc\" -I. -I../intl -I/usr/local/include
-g -O2 -c snprintf.c
gcc -g -O2 -o slrn art.o chmap.o editscore.o group.o grplens.o
hash.o help.o hooks.o interp.o menu.o mime.o misc.o post.o score.o
server.o sortdate.o slrn.o startup.o ttymsg.o util.o decode.o xover.o
slrndir.o version.o print.o art_misc.o vfile.o snprintf.o
-L/usr/local/lib -lslang -lm
Undefined first referenced
symbol in file
socket server.o
gethostbyname misc.o
h_errno misc.o
getservbyname server.o
inet_addr server.o
inet_ntoa server.o
gethostname misc.o
connect server.o
ld: fatal: Symbol referencing errors. No output written to slrn
make[1]: *** [slrn] Error 1
make[1]: Leaving directory /home/dfh/temp/slrn-0.9.7.3/src'
make: *** [all-recursive] Error 1
#v-
Any possible suggestions or solutions.
--
Frank Hahn
Corrupt, adj.:
In politics, holding an office of trust or profit.
Technical Details
Message-ID:
<slrn9uofbc.d85.fhahnisfake@gpc1a.gpceci.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <slrn9uofbc.d85.fhahnisfake@gpc1a.gpceci.com> Subject: [SLRN] Building 0.9.7.3 on Sun Solaris 2.4 system Date: Fri, 09 Nov 2001 22:27:34 -0000 From: Frank Hahn <fhahnisfake@yahoo.com.invalid> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Newsgroups: news.software.readers Organization: Posted via Supernews, http://www.supernews.com Reply-To: Frank Hahn <fhahn@yahoo.com> X-No-Productlinks: yes User-Agent: slrn/0.9.7.2 (SunOS) X-Complaints-To: newsabuse@supernews.com Lines: 118