🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Marco A. Hernandez Wed, 21 Feb 1996 00:00
innd (dbzwritethrough compile error)
#5137
Author: Marco A. Hernandez
Date: Wed, 21 Feb 1996 00:00
21 lines
960 bytes
--

Greetings:

	Solaris 2.5 (Sparc 1000)  Trying to compile innd 1.4 and get the
following error:

Undefined                       first referenced
 symbol                             in file
dbzwritethrough                     his.o

The routine does not exist in dbz.c (either the inn or cnews versions) ...  
Is there a patch ?  Has anyone seen this before ...

Using the Sparc C compiler ...

Thanks ...

Marco

Re: innd (dbzwritethrough compile error)
#5139
Author: Rod Eldridge
Date: Wed, 21 Feb 1996 00:00
27 lines
1490 bytes
In article <4gfgo7$rcg@hgssun2.hgsi.com>, marco@hgsi.com (Marco A. Hernandez) writes:
>--
>
>Greetings:
>
>	Solaris 2.5 (Sparc 1000)  Trying to compile innd 1.4 and get the
>following error:
>
>Undefined                       first referenced
> symbol                             in file
>dbzwritethrough                     his.o
>
>The routine does not exist in dbz.c (either the inn or cnews versions) ...  
>Is there a patch ?  Has anyone seen this before ...
>
>Using the Sparc C compiler ...

I just went through this myself just last week.  When this happened to
me, I discovered that the patch didn't get applied to dbz.c during the
make.  I installed patch onto the system and redid the make after
backing off the files.

-- 
Rod Eldridge | Iowa State University | rod@iastate.edu
515-294-7498     Ames, Iowa 50011      http://www.public.iastate.edu/~rod/

Solaris /bin/patch is a mutant (was Re: innd (dbzwritethrough compile error))
#5212
Author: Dave Barr
Date: Fri, 23 Feb 1996 00:00
36 lines
2276 bytes
In article <slrn4iqt75.56v.hwr@pilhuhn.de>,
Heiko W.Rupp <hwr@pilhuhn.de> wrote:
>In <4gfgo7$rcg@hgssun2.hgsi.com>, Marco A. Hernandez wrote:
>:|dbzwritethrough                     his.o
>
>:|The routine does not exist in dbz.c (either the inn or cnews versions) ...  
>:|Is there a patch ?  Has anyone seen this before ...
>
>Yes there is a patch -- read Install.ms ...
>
>On Solaris2.5 the patch program can't make sense out of the supplied patch,
>so you have to get another patch program first. It is in part2 of the FAQ.

Someone (sorry I forget who) reported this to me but I forgot to post
here.

It seems that the Solaris /usr/bin/patch is a mutant.  While every patch
I have ever seen understands 'patch -p0', in Solaris you have to
say 'patch -p 0'.  Moreover unlike every other patch program, the file has
to be writeable before you can patch it.  (it gives an error otherwise.)
Needless to say this makes any normal uses of 'patch' a royal friggin
pain in the butt, since lots of software comes with '-r--r--r--' permission
because the author uses RCS.

Unfortunately you can't just change the makefile to say 'patch -p 0' because
the normal patch program won't understand that.  (Looks like Sun is
taking lessons from IBM on gratuitous incompatibilities)  I'm going to
remove the directory stuff from the dbz.pch so '-p 0' or '-p0' is
not necessary.  (and also adding a chmod +w dbz.c for good measure)

Please, if any of you Sun users out there has a few minutes of spare time,
please send in an RFE to Sun to fix this.

--Dave

Re: innd (dbzwritethrough compile error)
#5222
Author: Heiko W.Rupp
Date: Fri, 23 Feb 1996 00:00
17 lines
1246 bytes
In <4gfgo7$rcg@hgssun2.hgsi.com>, Marco A. Hernandez wrote:
:|dbzwritethrough                     his.o

:|The routine does not exist in dbz.c (either the inn or cnews versions) ...  
:|Is there a patch ?  Has anyone seen this before ...

Yes there is a patch -- read Install.ms ...

On Solaris2.5 the patch program can't make sense out of the supplied patch,
so you have to get another patch program first. It is in part2 of the FAQ.
-- 
Heiko W.Rupp        Gerwigstr.5        D-76131  Karlsruhe    +49 721 9661524
In an East African newspaper:  A new swimming pool is rapidly taking
     shape since the contractors have thrown in the bulk of their workers.


Re: Solaris /bin/patch is a mutant (was Re: innd (dbzwritethrough compile error))
#5239
Author: Mike Batchelor
Date: Sat, 24 Feb 1996 00:00
22 lines
1568 bytes
In <4gksc2$r39@augusta.math.psu.edu> barr@math.psu.edu (Dave Barr) writes:

>Unfortunately you can't just change the makefile to say 'patch -p 0' because
>the normal patch program won't understand that.  (Looks like Sun is
>taking lessons from IBM on gratuitous incompatibilities)  I'm going to
>remove the directory stuff from the dbz.pch so '-p 0' or '-p0' is
>not necessary.  (and also adding a chmod +w dbz.c for good measure)

>Please, if any of you Sun users out there has a few minutes of spare time,
>please send in an RFE to Sun to fix this.

# chmod 400 /usr/bin/patch
# cd /usr/src/patch-2.1
# make install

There, I fixed it.
-- 
   %%%%%% mikebat@abs.net %%%%%% http://www.abs.net/~mikebat/ %%%%%%
 "HTML is a terrible page layout language.  I suppose that's because it
 lacks any page layout commands."  -- me

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