Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Smail 3.2.0.104 BETA and/or Smail 3.2.0.103 BETA won't compile

0 views
Skip to first unread message

Pete Geenhuizen (TBE)

unread,
Jan 20, 1999, 3:00:00 AM1/20/99
to
I have been using smail-3.2.0.101 for quite sometime, and decided to upgrade to the latest version
smail-3.2.0.104, but the compile failed, so I backtracked and applied the 101-102 diffs which
compiled successfully, but when I applied the 102 to 103 diffs I got the same error as with 104.

Here's the tail compile output:

Smail-3.2.0.103 under Solaris 2.5.1 with gcc-2.8.1

gcc -O2 -g -I. -I.. -I../src -I/usr/local/include -c hash.c
gcc -O2 -g -I. -I.. -I../src -I/usr/local/include -c header.c
gcc -O2 -g -I. -I.. -I../src -I/usr/local/include -c log.c
gcc -O2 -g -I. -I.. -I../src -I/usr/local/include -c lookup.c
lookup.c:1665: macro `DEBUG1' used with too many (4) args
*** Error code 1
make: Fatal error: Command failed for target `lookup.o'
Current working directory /usr3/xfer/smail-3.2.0.103/src
*** Error code 1
make: Fatal error: Command failed for target `build_smail'

Any assistance would be greatly appreciated.

Thx

Pete


Aaron Dewell

unread,
Jan 20, 1999, 3:00:00 AM1/20/99
to

Yes, there is a mistype or something. You need to go into the source
and edit line 1665 of src/lookup.c, and change the DEBUG1 to a DEBUG2.
That should get you on your way.

(or, read another way:
vi +1665 src/lookup.c
:s/DEBUG1/DEBUG2/
:wq
)

_______________________________________________________________________
|Aaron Dewell ===> dew...@woods.net |
|aka local guru ===> dew...@greatland.net |
|http://www.woods.net/~dewell http://www.woods.net/ |
|PGP keyid 0x0D12A6B9 available from http://keys.pgp.com/ |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 new messages