[IRCServices] Services 5.0.42 error in compiling

Sean Kelly smkelly at zombie.org
Wed Dec 1 19:50:06 PST 2004


On Thu, Dec 02, 2004 at 11:48:53AM +0900, Andrew Church wrote:
> >i get this error while compiling (upgrading from 5.0.41)
> >gcc  -O2 -fno-strict-aliasing -g -Wall -Wmissing-prototypes -fno-builtin-log 
> >-c version.c -o version.o
> >gcc -rdynamic actions.o channels.o commands.o compat.o conffile.o encrypt.o 
> >ignore.o init.o language.o log.o main.o memory.o messages.o misc.o modes.o 
> >modules.o process.o send.o servers.o signals.o sockets.o suspinfo.o 
> >timeout.o users.o  version.o   -o ircservices
> >log.o: In function `vlogprintf':
> >/usr/home/xxx/ircservices-5.0.42/log.c:103: undefined reference to `va_copy'
> >gmake: *** [ircservices] Error 1
> 
>      It looks like your compiler doesn't support va_copy (which is part of
> the C99 standard).  I'll add a workaround in the next release, but it will
> disappear again in version 5.1, so I would recommend upgrading your
> compiler.

I hit this in FreeBSD 4.9-STABLE (gcc 2.95.4). The solution was to just
suck it up and install /usr/ports/lang/gcc34/ and build services with the
/usr/local/bin/gcc34 binary.

-- 
Sean Kelly         | PGP KeyID: D2E5E296
smkelly at zombie.org | http://www.zombie.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : ../attachments/20041201/b26004a5/attachment.pgp