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

Re: dpkg compilation on Solaris



Michel,

not sure if you heard of http://www.nexenta.org
you can find many patches here: http://www.nexenta.org/diffs-gnusolaris
but this is Debian/OpenSolaris platform - perfect for storage and
reliable servers.

On Thu, 2008-03-13 at 15:51 +0100, BRIAND, Michel (EKITO) wrote:
> Hi,
> 
> dpkg ported to Solaris, has problems with obstack and strlen.
> 
> I've seen that a recent patch converted all that stuff to libcompat.
> 
> Can you help me get this new version (I do not have git) and I need to
> go with dpkg 1.14.16.x 
> 
> I used to build 1.14 with the build script and the patch attached, but
> that does not work with the last 1.14.16.6 :
> 
> ...
> mv -f .deps/select.Tpo .deps/select.Po
> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../../dpkg-1.14.16.6/src -DLOCALEDIR=\"/home/homolog/dpkg/share/locale\" -DADMINDIR=\"/home/homolog/dpkg/var/dpkg\" -I../../dpkg-1.14.16.6/lib  -I/home/homolog/dpkg/ssl/include -I/home/homolog/dpkg/include  -g -m32 -MT update.o -MD -MP -MF .deps/update.Tpo -c -o update.o ../../dpkg-1.14.16.6/src/update.c
> mv -f .deps/update.Tpo .deps/update.Po
> gcc -std=gnu99  -g -m32  -L/home/homolog/dpkg/ssl/lib -L/home/homolog/dpkg/lib -o dpkg archives.o cleanup.o configure.o depcon.o enquiry.o errors.o filesdb.o help.o main.o packages.o processarc.o remove.o select.o update.o  ../lib/libdpkg.a -lz 
> Undefined                       first referenced
>  symbol                             in file
> _obstack_begin                      archives.o
> _obstack_newchunk                   archives.o
> strnlen                             ../lib/libdpkg.a(tarfn.o)
> obstack_free                        archives.o
> ld: fatal: Symbol referencing errors. No output written to dpkg
> collect2: ld returned 1 exit status
> gmake[2]: *** [dpkg] Error 1
> gmake[2]: Leaving directory `/local/homologation/transfert/dpkg/build_dpkg-1.14.16.6/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/local/homologation/transfert/dpkg/build_dpkg-1.14.16.6'
> gmake: *** [all] Error 2
> Making install in getopt
> gmake[1]: Entering directory `/local/homologation/transfert/dpkg/build_dpkg-1.14.16.6/getopt'
> gmake[2]: Entering directory `/local/homologation/transfert/dpkg/build_dpkg-1.14.16.6/getopt'
> gmake[2]: Nothing to be done for `install-exec-am'.
> gmake[2]: Nothing to be done for `install-data-am'.
> gmake[2]: Leaving directory `/local/homologation/transfert/dpkg/build_dpkg-1.14.16.6/getopt'
> gmake[1]: Leaving directory `/local/homologation/transfert/dpkg/build_dpkg-1.14.16.6/getopt'
> Making install in lib
> gmake[1]: Entering directory `/local/homologation/transfert/dpkg/build_dpkg-1.14.16.6/lib'
> gmake[2]: Entering directory `/local/homologation/transfert/dpkg/build_dpkg-1.14.16.6/lib'
> gmake[2]: Nothing to be done for `install-exec-am'.
> gmake[2]: Nothing to be done for `install-data-am'.
> gmake[2]: Leaving directory `/local/homologation/transfert/dpkg/build_dpkg-1.14.16.6/lib'
> gmake[1]: Leaving directory `/local/homologation/transfert/dpkg/build_dpkg-1.14.16.6/lib'
> Making install in src
> gmake[1]: Entering directory `/local/homologation/transfert/dpkg/build_dpkg-1.14.16.6/src'
> gcc -std=gnu99  -g -m32  -L/home/homolog/dpkg/ssl/lib -L/home/homolog/dpkg/lib -o dpkg archives.o cleanup.o configure.o depcon.o enquiry.o errors.o filesdb.o help.o main.o packages.o processarc.o remove.o select.o update.o  ../lib/libdpkg.a -lz   
> Undefined                       first referenced
>  symbol                             in file
> _obstack_begin                      archives.o
> _obstack_newchunk                   archives.o
> strnlen                             ../lib/libdpkg.a(tarfn.o)
> obstack_free                        archives.o
> ld: fatal: Symbol referencing errors. No output written to dpkg
> collect2: ld returned 1 exit status
> gmake[1]: *** [dpkg] Error 1
> gmake[1]: Leaving directory `/local/homologation/transfert/dpkg/build_dpkg-1.14.16.6/src'
> gmake: *** [install-recursive] Error 1
> {dev}  build_dpkg-1.14.16.6 $ 
> The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other then the addressee. Access to this e-mail by anyone else is unauthorised.
> If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
> Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
> All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.


Reply to: