
try compiling with -O2 instead as -O3 inlines functions if i'mforceflow2 wrote:I added the use x86 && append-flags -mno-sse2 and the filter-flags -fforce-addr but neither helped at all. xine-lib still fails to compile at the exact same spot every time.
Does anyone have any clue why I still can't get it working?Code: Select all
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -I../../src/input/libdvdnav -O3 -march=pentium4 -momit-leaf-frame-pointer -fomit-frame-pointer -funroll-loops -ftracer -fprefetch-loop-arrays -mfpmath=387 -pipe -fno-unit-at-a-time -mno-sse2 -I/usr/X11R6/include -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -O3 -march=pentium4 -momit-leaf-frame-pointer -fomit-frame-pointer -funroll-loops -ftracer -fprefetch-loop-arrays -mfpmath=387 -pipe -fno-unit-at-a-time -mno-sse2 -c dxr3_decode_video.c -MT dxr3_decode_video.lo -MD -MP -MF .deps/dxr3_decode_video.TPlo -o .libs/dxr3_decode_video.o dxr3_decode_video.c: In function `dxr3_open_plugin': dxr3_decode_video.c:147: sorry, unimplemented: inlining failed in call to 'dxr3_present': function body not available dxr3_decode_video.c:189: sorry, unimplemented: called from here make[3]: *** [dxr3_decode_video.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc4/work/xine-lib-1-rc4/src/dxr3' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc4/work/xine-lib-1-rc4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc4/work/xine-lib-1-rc4' make: *** [all] Error 2 !!! ERROR: media-libs/xine-lib-1_rc4 failed. !!! Function src_compile, Line 108, Exitcode 2 !!! Parallel make failed
Code: Select all
ccache -Cz
Code: Select all
simple.h: In member function `bool CryptoPP::Unflushable<T>::Flush(bool, int, bool)':
simple.h:71: error: `NULL_CHANNEL' undeclared (first use this function)
simple.h:71: error: (Each undeclared identifier is reported only once for each function it appears in.)
simple.h: In member function `bool CryptoPP::Unflushable<T>::ChannelFlush(const std::string&, bool, int, bool)':
simple.h:80: error: there are no arguments to `AttachedTransformation' that depend on a template parameter, so a declaration of `AttachedTransformation' must be available
simple.h:80: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
simple.h: In member function `void CryptoPP::Multichannel<T>::Initialize(const CryptoPP::NameValuePairs&, int)':
simple.h:134: error: `NULL_CHANNEL' undeclared (first use this function)
simple.h: In member function `bool CryptoPP::Multichannel<T>::Flush(bool, int, bool)':
simple.h:136: error: `NULL_CHANNEL' undeclared (first use this function)
simple.h: In member function `bool CryptoPP::Multichannel<T>::MessageSeriesEnd(int, bool)':
simple.h:138: error: `NULL_CHANNEL' undeclared (first use this function)
simple.h:138: error: there are no arguments to `ChannelMessageSeriesEnd' that depend on a template parameter, so a declaration of `ChannelMessageSeriesEnd' must be available
simple.h: In member function `byte* CryptoPP::Multichannel<T>::CreatePutSpace(unsigned int&)':
simple.h:140: error: `NULL_CHANNEL' undeclared (first use this function)
simple.h: In member function `unsigned int CryptoPP::Multichannel<T>::Put2(const byte*, unsigned int, int, bool)':
simple.h:142: error: `NULL_CHANNEL' undeclared (first use this function)
simple.h: In member function `unsigned int CryptoPP::Multichannel<T>::PutModifiable2(byte*, unsigned int, int, bool)':
simple.h:144: error: `NULL_CHANNEL' undeclared (first use this function)
simple.h: In member function `bool CryptoPP::Multichannel<T>::ChannelPutModifiable(const std::string&, byte*, unsigned int)':
simple.h:151: error: there are no arguments to `ChannelPut' that depend on a template parameter, so a declaration of `ChannelPut' must be available
In file included from 3way.h:7,
from 3way.cpp:5:
seckey.h: In member function `unsigned int CryptoPP::BlockCipherBaseTemplate<INFO, INTERFACE>::BlockSize() const':
seckey.h:159: error: `BLOCKSIZE' undeclared (first use this function)
seckey.h: In constructor `CryptoPP::BlockCipherTemplate<DIR, BASE>::BlockCipherTemplate(const byte*)':
seckey.h:169: error: `DEFAULT_KEYLENGTH' undeclared (first use this function)
seckey.h: In constructor `CryptoPP::BlockCipherTemplate<DIR, BASE>::BlockCipherTemplate(const byte*, unsigned int, unsigned int)':
seckey.h:173: error: there are no arguments to `SetKeyWithRounds' that depend on a template parameter, so a declaration of `SetKeyWithRounds' must be available
seckey.h: In constructor `CryptoPP::MessageAuthenticationCodeTemplate<BASE>::MessageAuthenticationCodeTemplate(const byte*)':
seckey.h:197: error: `DEFAULT_KEYLENGTH' undeclared (first use this function)
seckey.h: In member function `std::string CryptoPP::MessageAuthenticationCodeTemplate<BASE>::AlgorithmName() const':
seckey.h:201: error: there are no arguments to `StaticAlgorithmName' that depend on a template parameter, so a declaration of `StaticAlgorithmName' must be available
make: *** [3way.o] Error 1
make: *** Waiting for unfinished jobs....I did, setting both CFLAGS and CXXFLAGS to empty strings, but it still doesn't compileneenee wrote:Angel666 - i had problems as well - set your CFLAGS
to CFLAGS="" and it will compile just fine.
You're missing an include somewhere. Go into the builddir and grep -R for NULL_CHANNEL - probably a #define somewhere. Then work out why it isn't being included.Angel666 wrote:Code: Select all
simple.h: In member function `bool CryptoPP::Unflushable<T>::Flush(bool, int, bool)': simple.h:71: error: `NULL_CHANNEL' undeclared (first use this function) simple.h:71: error: (Each undeclared identifier is reported only once for each function it appears in.)

Recompiling ALL kde packages finally helped.malloc wrote: You need to recompile all the kde packages with gcc 3.4 for things to get normal.
I had that problem with arts too, recompile kdemultimedia and it should go away.
You should recompile kdemultimedia with DO_NOT_COMPILE="noatun noatun-plugins" and before that make sure you recompile id3tag and taglib or juk will fail to compile.
Well, as i said in my last post, i really dont know anything about C/C++, but here is what i did and what i found:ecatmur wrote: You're missing an include somewhere. Go into the builddir and grep -R for NULL_CHANNEL - probably a #define somewhere. Then work out why it isn't being included.
Code: Select all
[euthydemus][/var/tmp/portage/crypto++-5.1-r1/work]$ grep -R NULL_CHANNEL *
asn.h: unsigned int TransferTo2(BufferedTransformation &target, unsigned long &transferBytes, const std::string &channel=NULL_CHANNEL, bool blocking=true);
asn.h: unsigned int CopyRangeTo2(BufferedTransformation &target, unsigned long &begin, unsigned long end=ULONG_MAX, const std::string &channel=NULL_CHANNEL, bool blocking=true) const;
cryptlib.cpp:const std::string BufferedTransformation::NULL_CHANNEL;
cryptlib.cpp: return ChannelPutWord16(NULL_CHANNEL, value, order, blocking);
cryptlib.cpp: return ChannelPutWord32(NULL_CHANNEL, value, order, blocking);
cryptlib.h: static const std::string NULL_CHANNEL; // the empty string ""
cryptlib.h: unsigned long TransferTo(BufferedTransformation &target, unsigned long transferMax=ULONG_MAX, const std::string &channel=NULL_CHANNEL)
cryptlib.h: unsigned long CopyTo(BufferedTransformation &target, unsigned long copyMax=ULONG_MAX, const std::string &channel=NULL_CHANNEL) const
cryptlib.h: unsigned long CopyRangeTo(BufferedTransformation &target, unsigned long position, unsigned long copyMax=ULONG_MAX, const std::string &channel=NULL_CHANNEL) const
cryptlib.h: unsigned int TransferMessagesTo(BufferedTransformation &target, unsigned int count=UINT_MAX, const std::string &channel=NULL_CHANNEL)
cryptlib.h: unsigned int CopyMessagesTo(BufferedTransformation &target, unsigned int count=UINT_MAX, const std::string &channel=NULL_CHANNEL) const;
cryptlib.h: void TransferAllTo(BufferedTransformation &target, const std::string &channel=NULL_CHANNEL)
cryptlib.h: void CopyAllTo(BufferedTransformation &target, const std::string &channel=NULL_CHANNEL) const;
cryptlib.h: virtual unsigned int TransferTo2(BufferedTransformation &target, unsigned long &byteCount, const std::string &channel=NULL_CHANNEL, bool blocking=true) =0;
cryptlib.h: virtual unsigned int CopyRangeTo2(BufferedTransformation &target, unsigned long &begin, unsigned long end=ULONG_MAX, const std::string &channel=NULL_CHANNEL, bool blocking=true) const =0;
cryptlib.h: unsigned int TransferMessagesTo2(BufferedTransformation &target, unsigned int &messageCount, const std::string &channel=NULL_CHANNEL, bool blocking=true);
cryptlib.h: unsigned int TransferAllTo2(BufferedTransformation &target, const std::string &channel=NULL_CHANNEL, bool blocking=true);
files.h: unsigned int TransferTo2(BufferedTransformation &target, unsigned long &transferBytes, const std::string &channel=NULL_CHANNEL, bool blocking=true);
files.h: unsigned int CopyRangeTo2(BufferedTransformation &target, unsigned long &begin, unsigned long end=ULONG_MAX, const std::string &channel=NULL_CHANNEL, bool blocking=true) const;
filters.cpp: byte *space = HelpCreatePutSpace(*AttachedTransformation(), NULL_CHANNEL, s, length, len);
filters.cpp: space = HelpCreatePutSpace(*AttachedTransformation(), NULL_CHANNEL, blockSize);
filters.cpp: space = HelpCreatePutSpace(*AttachedTransformation(), NULL_CHANNEL, length, m_optimalBufferSize);
filters.cpp: space = HelpCreatePutSpace(*AttachedTransformation(), NULL_CHANNEL, s, m_optimalBufferSize);
filters.cpp: m_space = HelpCreatePutSpace(*AttachedTransformation(), NULL_CHANNEL, digestSize, digestSize, size = digestSize);
filters.h: unsigned int TransferTo2(BufferedTransformation &target, unsigned long &transferBytes, const std::string &channel=NULL_CHANNEL, bool blocking=true);
filters.h: unsigned int CopyRangeTo2(BufferedTransformation &target, unsigned long &begin, unsigned long end=ULONG_MAX, const std::string &channel=NULL_CHANNEL, bool blocking=true) const;
filters.h: void PropagateInitialize(const NameValuePairs ¶meters, int propagation, const std::string &channel=NULL_CHANNEL);
filters.h: unsigned int Output(int outputSite, const byte *inString, unsigned int length, int messageEnd, bool blocking, const std::string &channel=NULL_CHANNEL);
filters.h: bool OutputMessageEnd(int outputSite, int propagation, bool blocking, const std::string &channel=NULL_CHANNEL);
filters.h: bool OutputFlush(int outputSite, bool hardFlush, int propagation, bool blocking, const std::string &channel=NULL_CHANNEL);
filters.h: bool OutputMessageSeriesEnd(int outputSite, int propagation, bool blocking, const std::string &channel=NULL_CHANNEL);
filters.h: {ChannelInitialize(NULL_CHANNEL, parameters, propagation);}
filters.h: unsigned int TransferTo2(BufferedTransformation &target, unsigned long &transferBytes, const std::string &channel=NULL_CHANNEL, bool blocking=true);
filters.h: unsigned int CopyRangeTo2(BufferedTransformation &target, unsigned long &begin, unsigned long end=ULONG_MAX, const std::string &channel=NULL_CHANNEL, bool blocking=true) const;
filters.h: unsigned int TransferTo2(BufferedTransformation &target, unsigned long &transferBytes, const std::string &channel=NULL_CHANNEL, bool blocking=true);
filters.h: unsigned int CopyRangeTo2(BufferedTransformation &target, unsigned long &begin, unsigned long end=ULONG_MAX, const std::string &channel=NULL_CHANNEL, bool blocking=true) const
filters.h: unsigned int TransferTo2(BufferedTransformation &target, unsigned long &transferBytes, const std::string &channel=NULL_CHANNEL, bool blocking=true);
filters.h: unsigned int CopyRangeTo2(BufferedTransformation &target, unsigned long &begin, unsigned long end=ULONG_MAX, const std::string &channel=NULL_CHANNEL, bool blocking=true) const;
filters.h: {return m_store.TransferTo2(*AttachedTransformation(), byteCount, NULL_CHANNEL, blocking);}
filters.h: {return m_store.TransferMessagesTo2(*AttachedTransformation(), messageCount, NULL_CHANNEL, blocking);}
filters.h: {return m_store.TransferAllTo2(*AttachedTransformation(), NULL_CHANNEL, blocking);}
mqueue.h: unsigned int TransferTo2(BufferedTransformation &target, unsigned long &transferBytes, const std::string &channel=NULL_CHANNEL, bool blocking=true);
mqueue.h: unsigned int CopyRangeTo2(BufferedTransformation &target, unsigned long &begin, unsigned long end=ULONG_MAX, const std::string &channel=NULL_CHANNEL, bool blocking=true) const;
mqueue.h: unsigned int CopyMessagesTo(BufferedTransformation &target, unsigned int count=UINT_MAX, const std::string &channel=NULL_CHANNEL) const;
queue.cpp: inline unsigned int CopyTo(BufferedTransformation &target, const std::string &channel=BufferedTransformation::NULL_CHANNEL) const
queue.cpp: inline unsigned int CopyTo(BufferedTransformation &target, unsigned int copyMax, const std::string &channel=BufferedTransformation::NULL_CHANNEL) const
queue.cpp: inline unsigned int TransferTo(BufferedTransformation &target, const std::string &channel=BufferedTransformation::NULL_CHANNEL)
queue.cpp: inline unsigned int TransferTo(BufferedTransformation &target, unsigned int transferMax, const std::string &channel=BufferedTransformation::NULL_CHANNEL)
queue.h: unsigned int TransferTo2(BufferedTransformation &target, unsigned long &transferBytes, const std::string &channel=NULL_CHANNEL, bool blocking=true);
queue.h: unsigned int CopyRangeTo2(BufferedTransformation &target, unsigned long &begin, unsigned long end=ULONG_MAX, const std::string &channel=NULL_CHANNEL, bool blocking=true) const;
queue.h: unsigned int TransferTo2(BufferedTransformation &target, unsigned long &transferBytes, const std::string &channel=NULL_CHANNEL, bool blocking=true);
queue.h: unsigned int CopyRangeTo2(BufferedTransformation &target, unsigned long &begin, unsigned long end=ULONG_MAX, const std::string &channel=NULL_CHANNEL, bool blocking=true) const;
randpool.h: unsigned int TransferTo2(BufferedTransformation &target, unsigned long &transferBytes, const std::string &channel=NULL_CHANNEL, bool blocking=true);
randpool.h: unsigned int CopyRangeTo2(BufferedTransformation &target, unsigned long &begin, unsigned long end=ULONG_MAX, const std::string &channel=NULL_CHANNEL, bool blocking=true) const
simple.h: {return ChannelFlush(NULL_CHANNEL, completeFlush, propagation);}
simple.h: {ChannelInitialize(NULL_CHANNEL, parameters, propagation);}
simple.h: {return ChannelFlush(NULL_CHANNEL, hardFlush, propagation, blocking);}
simple.h: {return ChannelMessageSeriesEnd(NULL_CHANNEL, propagation, blocking);}
simple.h: {return ChannelCreatePutSpace(NULL_CHANNEL, size);}
simple.h: {return ChannelPut2(NULL_CHANNEL, begin, length, messageEnd, blocking);}
simple.h: {return ChannelPutModifiable2(NULL_CHANNEL, inString, length, messageEnd, blocking);}
simple.h: unsigned int CopyMessagesTo(BufferedTransformation &target, unsigned int count=UINT_MAX, const std::string &channel=NULL_CHANNEL) const;
simple.h: unsigned int TransferTo2(BufferedTransformation &target, unsigned long &transferBytes, const std::string &channel=NULL_CHANNEL, bool blocking=true)
simple.h: unsigned int CopyRangeTo2(BufferedTransformation &target, unsigned long &begin, unsigned long end=ULONG_MAX, const std::string &channel=NULL_CHANNEL, bool blocking=true) const
test.cpp: channelSwitch->AddRoute(channel, *fileSinks[i], BufferedTransformation::NULL_CHANNEL);
test.cpp: channelSwitch->AddRoute(channel, *fileSinks[i], BufferedTransformation::NULL_CHANNEL);
So, in simple.h, cryptlib.h is included :etcatmur wrote:You now need to check whether simple.h includes cryptlib.h directly or indirectly, and whether there is anything in cryptlib.h that might cause NULL_CHANNEL not to be defined.
Code: Select all
#include "cryptlib.h"
Code: Select all
gcc -c -march=pentium4 -O2 -pipe -fomit-frame-pointer -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0 -DSTUBS -DBACKEND_NAME=snapscan snapscan-s.c -fPIC -DPIC -o .libs/snapscan-s.o
gcc -shared .libs/snapscan.o .libs/snapscan-s.o .libs/sane_strstatus.o ../sanei/.libs/sanei_init_debug.o ../sanei/.libs/sanei_config.o ../sanei/.libs/sanei_config2.o ../sanei/.libs/sanei_constrain_value.o ../sanei/.libs/sanei_scsi.o ../sanei/.libs/sanei_usb.o /usr/lib/libusb.so -lnsl -lm /usr/lib/libjpeg.so /usr/lib/libieee1284.so -ldl -Wl,-soname -Wl,libsane.so.1 -o .libs/libsane-snapscan.so.1.0.13
(cd .libs && rm -f libsane-snapscan.so.1 && ln -s libsane-snapscan.so.1.0.13 libsane-snapscan.so.1)
(cd .libs && rm -f libsane-snapscan.so && ln -s libsane-snapscan.so.1.0.13 libsane-snapscan.so)
creating libsane-snapscan.la
(cd .libs && rm -f libsane-snapscan.la && ln -s ../libsane-snapscan.la libsane-snapscan.la)
gcc -c -march=pentium4 -O2 -pipe -fomit-frame-pointer -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0 -DBACKEND_NAME=sm3600 -DLIBDIR=/usr/lib/sane sm3600.c -fPIC -DPIC -o .libs/sm3600.o
In file included from sm3600.c:97:
sm3600-scanmtek.c:68: error: conflicting types for 'GetScannerModel'
sm3600.h:279: error: previous declaration of 'GetScannerModel' was here
sm3600-scanmtek.c:68: error: conflicting types for 'GetScannerModel'
sm3600.h:279: error: previous declaration of 'GetScannerModel' was here
sm3600.h:279: warning: 'GetScannerModel' declared `static' but never defined
make[1]: *** [sm3600.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.13-r3/work/sane-backends-1.0.13/backend'
make: *** [all-recursive] Error 1
!!! ERROR: media-gfx/sane-backends-1.0.13-r3 failed.
!!! Function src_compile, Line 49, Exitcode 2
!!! (no error message)Code: Select all
gcc-3.4.0
glibc--2.3.3_pre20040420
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"

hmm I tried this too and it also failed..jimbojetset wrote:I had no problems compiling glibc-2.3.3_pre20040420 with nptl USE flag, with gcc 3.4

Code: Select all
gcc nss_nis/nis-hosts.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -fprefetch-loop-arrays -freorder-blocks -march=pentium4 -pipe -mpreferred-stack-boundary=2 -fPIC -I../include -I. -I/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/nis -I.. -I../libio -I../nptl -I/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix -I../nptl/sysdeps/i386/i686 -I../nptl/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.0/include -isystem //usr/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DSHARED -DNOT_IN_libc=1 -DIS_IN_libnss_nis=1 -o /var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/nis/nis-hosts.os -MD -MP -MF /var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/nis/nis-hosts.os.dt
In file included from nss_nis/nis-hosts.c:20:
../include/nss.h:1:21: ./nss/nss.h: Permission denied
In file included from ./nss-nis.h:24,
from nss_nis/nis-service.c:29:
../include/nsswitch.h:1:26: ./nss/nsswitch.h: Permission denied
In file included from ./nss-nis.h:24,
from nss_nis/nis-proto.c:29:
../include/nsswitch.h:1:26: ./nss/nsswitch.h: Permission denied
In file included from nss_nis/nis-proto.c:29:
./nss-nis.h:33: error: return type is an incomplete type
./nss-nis.h: In function `yperr2nss':
./nss-nis.h:35: error: `NSS_STATUS_UNAVAIL' undeclared (first use in this function)
./nss-nis.h:35: error: (Each undeclared identifier is reported only once
./nss-nis.h:35: error: for each function it appears in.)
In file included from nss_nis/nis-service.c:29:
./nss-nis.h:33: error: return type is an incomplete type
./nss-nis.h: In function `yperr2nss':
./nss-nis.h:35: error: `NSS_STATUS_UNAVAIL' undeclared (first use in this function)
./nss-nis.h:35: error: (Each undeclared identifier is reported only once
./nss-nis.h:35: error: for each function it appears in.)
./nss-nis.h:35: warning: `return' with a value, in function returning void
./nss-nis.h:36: error: invalid use of undefined type `enum nss_status'
./nss-nis.h:36: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:35:39: ./nss/nss_files/files-parse.c: Permission denied
nss_nis/nis-service.c: At top level:
nss_nis/nis-service.c:59: error: field `status' has incomplete type
nss_nis/nis-service.c: In function `dosearch':
nss_nis/nis-service.c:113: error: `NSS_STATUS_TRYAGAIN' undeclared (first use in this function)
nss_nis/nis-service.c:150: error: `NSS_STATUS_SUCCESS' undeclared (first use in this function)
nss_nis/nis-service.c: At top level:
nss_nis/nis-service.c:159: error: return type is an incomplete type
nss_nis/nis-service.c: In function `internal_nis_endservent':
nss_nis/nis-service.c:167: error: `NSS_STATUS_SUCCESS' undeclared (first use in this function)
nss_nis/nis-service.c:167: warning: `return' with a value, in function returning void
nss_nis/nis-service.c: At top level:
nss_nis/nis-service.c:172: error: return type is an incomplete type
nss_nis/nis-service.c:172: error: conflicting types for '_nss_nis_endservent'
../include/netdb.h:273: error: previous declaration of '_nss_nis_endservent' was here
nss_nis/nis-service.c:172: error: conflicting types for '_nss_nis_endservent'
../include/netdb.h:273: error: previous declaration of '_nss_nis_endservent' was here
nss_nis/nis-service.c: In function `_nss_nis_endservent':
nss_nis/nis-service.c:173: error: storage size of 'status' isn't known
nss_nis/nis-service.c:181: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:173: warning: unused variable `status'
nss_nis/nis-service.c: At top level:
nss_nis/nis-service.c:186: error: return type is an incomplete type
nss_nis/nis-service.c: In function `internal_nis_setservent':
nss_nis/nis-service.c:189: error: storage size of 'status' isn't known
nss_nis/nis-service.c:192: error: `NSS_STATUS_UNAVAIL' undeclared (first use in this function)
nss_nis/nis-service.c:192: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:201: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:189: warning: unused variable `status'
nss_nis/nis-service.c: At top level:
nss_nis/nis-service.c:206: error: return type is an incomplete type
nss_nis/nis-service.c:206: error: conflicting types for '_nss_nis_setservent'
../include/netdb.h:273: error: previous declaration of '_nss_nis_setservent' was here
nss_nis/nis-service.c:206: error: conflicting types for '_nss_nis_setservent'
../include/netdb.h:273: error: previous declaration of '_nss_nis_setservent' was here
nss_nis/nis-service.c: In function `_nss_nis_setservent':
nss_nis/nis-service.c:207: error: storage size of 'status' isn't known
nss_nis/nis-service.c:215: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:207: warning: unused variable `status'
nss_nis/nis-service.c: At top level:
nss_nis/nis-service.c:221: error: return type is an incomplete type
nss_nis/nis-service.c: In function `internal_nis_getservent_r':
nss_nis/nis-service.c:233: error: `NSS_STATUS_NOTFOUND' undeclared (first use in this function)
nss_nis/nis-service.c:233: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:241: error: `NSS_STATUS_TRYAGAIN' undeclared (first use in this function)
nss_nis/nis-service.c:241: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:246: error: `NSS_STATUS_SUCCESS' undeclared (first use in this function)
nss_nis/nis-service.c:246: warning: `return' with a value, in function returning void
nss_nis/nis-service.c: At top level:
nss_nis/nis-service.c:252: error: return type is an incomplete type
nss_nis/nis-service.c:252: error: conflicting types for '_nss_nis_getservent_r'
../include/netdb.h:273: error: previous declaration of '_nss_nis_getservent_r' was here
nss_nis/nis-service.c:252: error: conflicting types for '_nss_nis_getservent_r'
../include/netdb.h:273: error: previous declaration of '_nss_nis_getservent_r' was here
nss_nis/nis-service.c: In function `_nss_nis_getservent_r':
nss_nis/nis-service.c:253: error: storage size of 'status' isn't known
nss_nis/nis-service.c:261: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:253: warning: unused variable `status'
nss_nis/nis-service.c: At top level:
nss_nis/nis-service.c:268: error: return type is an incomplete type
nss_nis/nis-service.c:268: error: conflicting types for '_nss_nis_getservbyname_r'
../include/netdb.h:273: error: previous declaration of '_nss_nis_getservbyname_r' was here
nss_nis/nis-service.c:268: error: conflicting types for '_nss_nis_getservbyname_r'
../include/netdb.h:273: error: previous declaration of '_nss_nis_getservbyname_r' was here
nss_nis/nis-service.c: In function `_nss_nis_getservbyname_r':
nss_nis/nis-service.c:269: error: storage size of 'status' isn't known
nss_nis/nis-service.c:275: error: `NSS_STATUS_UNAVAIL' undeclared (first use in this function)
nss_nis/nis-service.c:275: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:279: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:302: error: `NSS_STATUS_SUCCESS' undeclared (first use in this function)
nss_nis/nis-service.c:312: error: `NSS_STATUS_TRYAGAIN' undeclared (first use in this function)
nss_nis/nis-service.c:312: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:325: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:327: error: `NSS_STATUS_NOTFOUND' undeclared (first use in this function)
nss_nis/nis-service.c:327: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:330: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:335: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:353: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:355: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:269: warning: unused variable `status'
nss_nis/nis-service.c: At top level:
nss_nis/nis-service.c:362: error: return type is an incomplete type
nss_nis/nis-service.c:362: error: conflicting types for '_nss_nis_getservbyport_r'
../include/netdb.h:273: error: previous declaration of '_nss_nis_getservbyport_r' was here
nss_nis/nis-service.c:362: error: conflicting types for '_nss_nis_getservbyport_r'
../include/netdb.h:273: error: previous declaration of '_nss_nis_getservbyport_r' was here
nss_nis/nis-service.c: In function `_nss_nis_getservbyport_r':
nss_nis/nis-service.c:363: error: storage size of 'status' isn't known
nss_nis/nis-service.c:367: error: `NSS_STATUS_UNAVAIL' undeclared (first use in this function)
nss_nis/nis-service.c:367: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:388: error: `NSS_STATUS_SUCCESS' undeclared (first use in this function)
nss_nis/nis-service.c:398: error: `NSS_STATUS_TRYAGAIN' undeclared (first use in this function)
nss_nis/nis-service.c:398: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:411: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:413: error: `NSS_STATUS_NOTFOUND' undeclared (first use in this function)
nss_nis/nis-service.c:413: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:416: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:422: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:440: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:442: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:363: warning: unused variable `status'
./nss-nis.h:35: warning: `return' with a value, in function returning void
./nss-nis.h:36: error: invalid use of undefined type `enum nss_status'
./nss-nis.h:36: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:34:39: ./nss/nss_files/files-parse.c: Permission denied
nss_nis/nis-proto.c: At top level:
nss_nis/nis-proto.c:86: error: return type is an incomplete type
nss_nis/nis-proto.c: In function `internal_nis_setprotoent':
nss_nis/nis-proto.c:89: error: storage size of 'status' isn't known
nss_nis/nis-proto.c:100: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:89: warning: unused variable `status'
nss_nis/nis-proto.c: At top level:
nss_nis/nis-proto.c:105: error: return type is an incomplete type
nss_nis/nis-proto.c:105: error: conflicting types for '_nss_nis_setprotoent'
../include/netdb.h:273: error: previous declaration of '_nss_nis_setprotoent' was here
nss_nis/nis-proto.c:105: error: conflicting types for '_nss_nis_setprotoent'
../include/netdb.h:273: error: previous declaration of '_nss_nis_setprotoent' was here
nss_nis/nis-proto.c: In function `_nss_nis_setprotoent':
nss_nis/nis-proto.c:106: error: storage size of 'status' isn't known
nss_nis/nis-proto.c:114: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:106: warning: unused variable `status'
nss_nis/nis-proto.c: At top level:
nss_nis/nis-proto.c:119: error: return type is an incomplete type
nss_nis/nis-proto.c:119: error: conflicting types for '_nss_nis_endprotoent'
../include/netdb.h:273: error: previous declaration of '_nss_nis_endprotoent' was here
nss_nis/nis-proto.c:119: error: conflicting types for '_nss_nis_endprotoent'
../include/netdb.h:273: error: previous declaration of '_nss_nis_endprotoent' was here
nss_nis/nis-proto.c: In function `_nss_nis_endprotoent':
nss_nis/nis-proto.c:127: error: `NSS_STATUS_SUCCESS' undeclared (first use in this function)
nss_nis/nis-proto.c:127: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c: At top level:
nss_nis/nis-proto.c:133: error: return type is an incomplete type
nss_nis/nis-proto.c: In function `internal_nis_getprotoent_r':
nss_nis/nis-proto.c:146: error: `NSS_STATUS_NOTFOUND' undeclared (first use in this function)
nss_nis/nis-proto.c:146: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:155: error: `NSS_STATUS_TRYAGAIN' undeclared (first use in this function)
nss_nis/nis-proto.c:155: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:160: error: `NSS_STATUS_SUCCESS' undeclared (first use in this function)
nss_nis/nis-proto.c:160: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c: At top level:
nss_nis/nis-proto.c:166: error: return type is an incomplete type
nss_nis/nis-proto.c:166: error: conflicting types for '_nss_nis_getprotoent_r'
../include/netdb.h:273: error: previous declaration of '_nss_nis_getprotoent_r' was here
nss_nis/nis-proto.c:166: error: conflicting types for '_nss_nis_getprotoent_r'
../include/netdb.h:273: error: previous declaration of '_nss_nis_getprotoent_r' was here
nss_nis/nis-proto.c: In function `_nss_nis_getprotoent_r':
nss_nis/nis-proto.c:167: error: storage size of 'status' isn't known
nss_nis/nis-proto.c:175: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:167: warning: unused variable `status'
nss_nis/nis-proto.c: At top level:
nss_nis/nis-proto.c:181: error: return type is an incomplete type
nss_nis/nis-proto.c:181: error: conflicting types for '_nss_nis_getprotobyname_r'
../include/netdb.h:273: error: previous declaration of '_nss_nis_getprotobyname_r' was here
nss_nis/nis-proto.c:181: error: conflicting types for '_nss_nis_getprotobyname_r'
../include/netdb.h:273: error: previous declaration of '_nss_nis_getprotobyname_r' was here
nss_nis/nis-proto.c: In function `_nss_nis_getprotobyname_r':
nss_nis/nis-proto.c:183: error: storage size of 'retval' isn't known
nss_nis/nis-proto.c:190: error: `NSS_STATUS_UNAVAIL' undeclared (first use in this function)
nss_nis/nis-proto.c:190: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:194: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:199: error: `NSS_STATUS_SUCCESS' undeclared (first use in this function)