lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LYNX-DEV inews compiles


From: Christopher R. Maden
Subject: LYNX-DEV inews compiles
Date: Mon, 28 Oct 1996 23:35:14 GMT

This is for the archive.  There's a Makefile change necessary to get
it to link on Sun5 at least, and the diff was wrong way 'round last
time on clientlib.c.

Did anyone ever try compiling inews before now?  It seems that it
couldn't have worked as-is, with the #includes in the wrong order as
they are.

=-=-=-=-= Makefile change =-=-=-=-=

*** Makefile.orig       Mon Oct 28 18:39:46 1996
--- Makefile    Mon Oct 28 18:39:55 1996
***************
*** 20,26 ****
  # General definitions here which apply to all -- form -DDEF
  DEFS  = -DFOR_NN
  # Link libraries -- form -lLIB
! LIBS  =    #../hostname.o
  # Lint definitions -- same as DEFS, but form -D DEF
  LDEFS = -D lint -D FOR_NN
  # Lint libraries -- same as LIBS, but form -l LIB
--- 20,26 ----
  # General definitions here which apply to all -- form -DDEF
  DEFS  = -DFOR_NN
  # Link libraries -- form -lLIB
! LIBS  = -lsocket -lnsl -lucb
  # Lint definitions -- same as DEFS, but form -D DEF
  LDEFS = -D lint -D FOR_NN
  # Lint libraries -- same as LIBS, but form -l LIB
***************
*** 27,33 ****
  LLIBS =
  # Set to -g for debugging, -O for optimise, or both if compiler handles it
  DEBUG = -O
! CFLAGS        = $(DEBUG) $(DEFS) -I.. -I../conf
  
  SRCS  = inews.c clientlib.c version.c
  OBJS  = inews.o clientlib.o version.o
--- 27,33 ----
  LLIBS =
  # Set to -g for debugging, -O for optimise, or both if compiler handles it
  DEBUG = -O
! CFLAGS        = $(DEBUG) $(DEFS) -I.. -I../conf -L/usr/ucblib
  
  SRCS  = inews.c clientlib.c version.c
  OBJS  = inews.o clientlib.o version.o

=-=-=-=-= clientlib.c change =-=-=-=-=

*** clientlib.c.orig    Mon Oct 28 16:43:15 1996
--- clientlib.c Mon Oct 28 16:45:47 1996
***************
*** 22,28 ****
  #ifndef FOR_NN
  #include <sys/types.h>
  #endif
- #include <sys/socket.h>
  #ifdef FOR_NN
  #if !defined(NETWORK_DATABASE) || defined(NETWORK_BYTE_ORDER)
  #include <netinet/in.h>
--- 22,27 ----
***************
*** 30,35 ****
--- 29,35 ----
  #else
  #include <netinet/in.h>
  #endif
+ #include <sys/socket.h>
  #ifndef EXCELAN
  # include <netdb.h>
  #endif not EXCELAN

=-=-=-=-= end of changes =-=-=-=-=

Now, back to working on Lynx.

-Chris
-- 
<!NOTATION SGML.Geek PUBLIC "-//GCA//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//EBT//NONSGML Christopher R. Maden//EN" SYSTEM
"<URL>http://www.ebt.com <TEL>+1.401.421.9550 <FAX>+1.401.521.2030
<USMAIL>One Richmond Square, Providence, RI 02906 USA" NDATA SGML.Geek>
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]