Re: NNTPC: dbz doesn't compile on my system

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

 



> I have just downloaded nntpcache-0.88.2UL, and am trying to compile
> it.  Most compiles, except for the dbz directory.
> 
> These are the errors that I get :
> 
> root:/tmp/downloads/nntpcache-0.88.2UL/dbz# make
> gcc -g -O -Wall -pipe  -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1
> -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_FILE_H=1
> -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UTIME_H=1
> -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_VFS_H=1
> -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1
> -DTIME_WITH_SYS_TIME=1 -DHAVE_VALLOC=1 -DHAVE_GETPAGESIZE=1
> -DHAVE_MMAP=1 -DRETSIGTYPE=void -DHAVE_GETDTABLESIZE=1 -DHAVE_STATFS=1
> -DHAVE_USLEEP=1 -DHAVE_UTIME=1 -DHAVE_WAITPID=1 -DHAVE_WAIT3=1
> -DHAVE_CHROOT=1  -I. -I..   -c dbz.c -o dbz.o
> dbz.c:348: macro `atoi' used without args
> dbz.c:349: macro `atol' used without args
> dbz.c:348: parse error before `int'
> dbz.c:349: parse error before `('
> dbz.c:349: parse error before `char'
> make: *** [dbz.o] Error 1
> root:/tmp/downloads/nntpcache-0.88.2UL/dbz# 

Just delete the offending lines - your system has defined atoi as a macro.


-- 
"Of all tyrannies a tyranny sincerely  exercised for the good of its victims  
 may be the most  oppressive.  It may be better to live under  robber barons  
 than  under  omnipotent  moral busybodies,  The robber baron's  cruelty may  
 sometimes sleep,  his cupidity may at some point be satiated; but those who  
 torment us for own good  will torment us  without end,  for they do so with 
 the approval of their own conscience."    -   C.S. Lewis, _God in the Dock_ 
+---------------------+--------------------+----------------------------------+
|Julian Assange RSO   | PO Box 2031 BARKER | Secret Analytic Guy Union        |
|proff@suburbia.net   | VIC 3122 AUSTRALIA | finger for PGP key hash ID =     |
|proff@gnu.ai.mit.edu | FAX +61-3-98199066 | 0619737CCC143F6DEA73E27378933690 |
+---------------------+--------------------+----------------------------------+


[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux