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

Re: Porting dpkg to UltraSPARC



"Dale" == Dale Scheetz <dwarf@polaris.net> writes:

Dale>  Do you still have access to that machine? Building a staticly
Dale> linked dpkg would allow us to Debianize xia01 and start building
Dale> packages.

Looks like dpkg simply can't be compiled statically.

root@tln:/u2/dpkg-1.4.0.24/debian/build/dpkg# gcc -Wl,-Bstatic
-D_REENTRANT -D_GNU_SOURCE -O2 -Wall -Wno-implicit -Wwrite-strings
-Wpointer-arith -Wimplicit -Wnested-externs -Wmissing-prototypes
-Wstrict-prototypes -g -DLOCALEDIR=\"/usr/share/locale\" -o dpkg
main.o enquiry.o filesdb.o archives.o processarc.o cleanup.o select.o
packages.o configure.o remove.o help.o depcon.o errors.o update.o
../lib/.libs/libdpkg.a ../lib/myopt.o /usr/lib/libc.a
../intl/libintl.a
../intl/libintl.a(dcgettext.o)(.rodata+0x0): multiple definition of
`_nl_default_default_domain'
/usr/lib/libc.a(dcgettext.o)(.rodata+0x0): first defined here
../intl/libintl.a(dcgettext.o)(.data+0x0): multiple definition of
`_nl_current_default_domain'
/usr/lib/libc.a(dcgettext.o)(.data+0x0): first defined here
../intl/libintl.a(dcgettext.o)(.rodata+0x10): multiple definition of
`_nl_default_dirname'
/usr/lib/libc.a(dcgettext.o)(.rodata+0x10): first defined here


gcc -Wl,-Bstatic -D_REENTRANT -D_GNU_SOURCE -O2 -Wall -Wno-implicit
-Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs
-Wmissing-prototypes -Wstrict-prototypes -g
-DLOCALEDIR=\"/usr/share/locale\" -o dpkg main.o enquiry.o filesdb.o
archives.o processarc.o cleanup.o select.o packages.o configure.o
remove.o help.o depcon.o errors.o update.o
../lib/.libs/libdpkg.a ../lib/myopt.o /usr/lib/libc.a
main.o: In function `printversion':
/u2/dpkg-1.4.0.24/debian/build/dpkg/../../../dpkg/main.c:44: undefined
reference to `dcgettext__'
/u2/dpkg-1.4.0.24/debian/build/dpkg/../../../dpkg/main.c:49: undefined
reference to `dcgettext__'
main.o: In function `usage':
/u2/dpkg-1.4.0.24/debian/build/dpkg/../../../dpkg/main.c:58: undefined
reference to `dcgettext__'


--  
To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: