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

Re: Real build problems on solaris; make problem fixed



On Thu, 9 Dec 1999, Nils Lohner wrote:

> contrib/cdromutl.cc: In function `bool IdentCdrom(basic_string<char,string_ch
> ar_traits<char>,__default_alloc_template<false,0> >, string &, unsigned int 
> = 2)':
> contrib/cdromutl.cc:186: aggregate `struct statfs Buf' has incomplete type 
> and cannot be initialized
> contrib/cdromutl.cc:187: type `statfs' is not yet defined
> make[1]: *** [../build/obj/apt-pkg/cdromutl.opic] Error 1

Wee - Solaris uses 'statvfs' instead of statfs (the BSD call). We'll need
an emulation library for that..

> Compiling contrib/fileutl.cc to ../build/obj/apt-pkg/fileutl.opic
> contrib/fileutl.cc: In function `int GetLock(basic_string<char,string_char_tr
> aits<char>,__default_alloc_template<false,0> >, bool = true)':
> contrib/fileutl.cc:72: implicit declaration of function `int open(...)'
> contrib/fileutl.cc:86: implicit declaration of function `int fcntl(...)'
> make[1]: *** [../build/obj/apt-pkg/fileutl.opic] Error 1

sys/fcntl.h -> fcntl.h

> Compiling acquire-method.cc to ../build/obj/apt-pkg/acquire-method.opic
> acquire-method.cc: In method `void pkgAcqMethod::Log(const char *, ...)':
> acquire-method.cc:383: `va_list' undeclared (first use this function)
> acquire-method.cc:383: (Each undeclared identifier is reported only once
> acquire-method.cc:383: for each function it appears in.)
> acquire-method.cc:383: parse error before `;'
> acquire-method.cc:384: `args' undeclared (first use this function)
> acquire-method.cc:384: implicit declaration of function `int va_start(...)'
> acquire-method.cc: In method `void pkgAcqMethod::Status(const char *, ...)':
> acquire-method.cc:407: parse error before `;'

Needs stdarg.h

> deb/dpkgpm.cc: In method `bool pkgDPkgPM::Go()':
> deb/dpkgpm.cc:359: implicit declaration of function `int setenv(...)'

BSD strikes again - I don't know off hand how to do this in Solaris - will
check..

IIRC APT lacks the configure magic to disable shlibs on Solaris, I'll copy
that from dsync too.

Jason


Reply to: