pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/31489
The following reply was made to PR pkg/31489; it has been noted by GNATS.
From: RUMI Szabolcs <rumi%rtfm.hu@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/31489
Date: Thu, 6 Oct 2005 12:33:16 +0200
Next error I ran into:
source='Listener.c++' object='Listener.o' libtool=no \
depfile='.deps/Listener.Po' tmpdepfile='.deps/Listener.TPo' \
depmode=tru64 /bin/ksh ../depcomp \
cxx -DHAVE_CONFIG_H -D_POSIX_PII_SOCKET -I. -I. -I.. -I../include
-DFAM_CONF=\"/usr/pkg/etc/fam.conf\" -O2 -ieee -ieee -c -o Listener.o `test
-f 'Listener.c++' || echo './'`Listener.c++
cxx: Error: Listener.c++, line 209: identifier "unsetenv" is undefined
unsetenv("TMPDIR");
----^
cxx: Info: 1 error detected in the compilation of "Listener.c++".
gmake[2]: *** [Listener.o] Error 1
gmake[2]: Leaving directory
`/home/admin/pkgsrc/work/sysutils/fam/work/fam-2.7.0/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/home/admin/pkgsrc/work/sysutils/fam/work/fam-2.7.0'
gmake: *** [all] Error 2
*** Error code 2
Stop.
Excerpt from stdlib.h of Tru64 UNIX:
#ifdef _BSD
/*
* The following prototypes are included to provide support
* for legacy applications that require BSD 4.3 interfaces.
*
* NEW DEVELOPMENT USE OF THESE INTERFACES IS DISCOURAGED!!
*/
extern int setenv __((const char *, const char *, int));
extern void unsetenv __((const char *));
#endif /* _BSD */
So I added -D_BSD in the Makefile and it worked.
Listener.c++ was also affected by pkg/31447
Home |
Main Index |
Thread Index |
Old Index