🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Nicolas Thu, 04 Mar 1999 00:00
Compiling Diablo 1.23 on Solaris
#35786
Author: Nicolas
Date: Thu, 04 Mar 1999 00:00
26 lines
1630 bytes
        hello,
I'm having an extrem hard time to compile Diablo 1.23 on a Solris 2.51 box.
I got xmake to work, but when I xmake I get a linking error... Code follows:
    (cd dreaderd; xmake all)
    gcc -g -O2 -I../ '-DVERS="1.23"' '-DSUBREV="REL"' ../obj/dr_main.o 
./obj/dr_thread.o ../obj/dr_reader.o ../obj/dr_dns.o ../obj/dr_mbuf.o
./obj/dr_subs.o ../obj/dr_list.o ../obj/dr_feed.o ../obj/dr_xover.o
./obj/dr_nntp.o ../obj/dr_misc.o ../obj/dr_post.o ../obj/dr_server.o
./obj/dr_group.o ../obj/dr_spool.o ../obj/dr_cache.o ../obj/dr_rtstatus.o
./obj/dr_control.o ../obj/dr_wildorcmp.o ../obj/dr_cancel.o -o ../dbin/dreaderd
 -L../obj -lfilter -ldiablo -lm -lnsl -lsocket
Undefined                       first referenced
 symbol                             in file
snprintf                            ../obj/dr_reader.o
vsnprintf                           ../obj/dr_reader.o
ld: fatal: Symbol referencing errors. No output written to ../dbin/dreaderd
(all : ../dbin/dreaderd) failed code 1.
xmake Exit 1
xmake Exit 1


   I'm using GCC...

		thanks, Nicolas Sayer <nsayer@netcore.fr>

Re: Compiling Diablo 1.23 on Solaris
#35797
Author: Russell Vincent
Date: Thu, 04 Mar 1999 00:00
15 lines
878 bytes
Nicolas <nsayer@netcore.fr> wrote:
> I'm having an extrem hard time to compile Diablo 1.23 on a Solris 2.51 box.

Try setting the line:

#define HAVE_SNPRINTF           1

in lib/config.h (solaris section) to:

#define HAVE_SNPRINTF           0

 -Russell


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads