Skip to Content.
Sympa Menu

sm-users - [SM-Users] Problem with procps

sm-users AT lists.ibiblio.org

Subject: Sourcemage Users List

List archive

Chronological Thread  
  • From: Dieter Schmitz <dieter AT adele.gerwinski.de>
  • To: sm-users AT lists.ibiblio.org
  • Subject: [SM-Users] Problem with procps
  • Date: Tue, 7 Jan 2003 02:03:20 +0100

Hello all SM-Users,

I'm using Sourcemage GNU/Linux since yesterday and very fascinated :-)

After a little playing I'm doing a "sorcery rebuild" and have some
Problems since that.

After a lot of trouble i upgrade to the devel grimore, because a lot of
packages are too old so they didn't no longer exist on the servers.

After the rebuild the program "ps" is missing so I cast the procps
package. During the compilation I get these errors


cc -D_GNU_SOURCE -O2 -g3 -fno-common -ffast-math -I proc -W -Wall
-Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual
-Wwrite-strings -Waggregate-return -c w.c
w.c: In function `getproc':
w.c:160: warning: comparison between signed and unsigned
w.c:160: warning: comparison between signed and unsigned
w.c: In function `showinfo':
w.c:221: warning: passing arg 2 of `print_strlist' from incompatible
pointer type
cc -Wl,-warn-common -o w w.o proc/libproc.so.3.1.4
cc -D_GNU_SOURCE -O2 -g3 -fno-common -ffast-math -I proc -W -Wall
-Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual
-Wwrite-strings -Waggregate-return -c -o top.o top.c
In file included from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/include/curses.h:86,
from top.c:28:
/usr/include/unctrl.h:57: parse error before "unctrl"
top.c: In function `good_uid':
top.c:810: warning: comparison between signed and
unsigned
top.c:811: warning: comparison between signed and
unsigned
top.c:812: warning: comparison between signed and
unsigned
top.c:815: warning: comparison between signed and
unsigned
top.c: In function `prochlp':
top.c:1011: warning: passing arg 5 of `bsearch' from
incompatible pointer type
! Problem Detected !


Anyone know how i can solve this?

My second Problem is the binutils Package. The devel grimore use a
newer version of binutils (2.13.2) as the test grimore, so sorcery
want to upgrade the Package. During the compilation I get this Error


gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes
-march=athlon-tbird -mmmx -m3dnow -O3 -Os -o size size.o bucomm.o
version.o filemode.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a
! Problem Detected !
bucomm.o: In function `make_tempname':
bucomm.o(.text+0x360): the use of `mktemp' is dangerous, better use
`mkstemp'
size.o: In function `usage':
size.o(.text+0x17): undefined reference to `libintl_gettext'
size.o(.text+0x2a): undefined reference to `libintl_gettext'
size.o(.text+0x3d): undefined reference to `libintl_gettext'
size.o(.text+0x55): undefined reference to `libintl_gettext'
size.o(.text+0x82): undefined reference to `libintl_gettext'
size.o: In function `main':
size.o(.text+0xc6): undefined reference to `libintl_bindtextdomain'
size.o(.text+0xd0): undefined reference to `libintl_textdomain'
size.o(.text+0x168): undefined reference to `libintl_gettext'
bucomm.o: In function `set_default_bfd_target':
bucomm.o(.text+0x104): undefined reference to `libintl_gettext'
bucomm.o: In function `list_matching_formats':
bucomm.o(.text+0x123): undefined reference to `libintl_gettext'
bucomm.o: In function `list_supported_targets':
bucomm.o(.text+0x18c): undefined reference to `libintl_gettext'
bucomm.o(.text+0x1dc): undefined reference to `libintl_gettext'
bucomm.o(.text+0x203): more undefined references to `libintl_gettext'
follow
../bfd/.libs/libbfd.a(archive.o): In function
`_bfd_write_archive_contents':
archive.o(.text+0x164a): undefined reference to `libintl_dgettext'
../bfd/.libs/libbfd.a(archive.o): In function
`_bfd_archive_bsd_update_armap_timestamp':
archive.o(.text+0x1eee): undefined reference to `libintl_dgettext'
../bfd/.libs/libbfd.a(bfd.o): In function `bfd_errmsg':
bfd.o(.text+0x3a): undefined reference to `libintl_dgettext'
../bfd/.libs/libbfd.a(bfd.o): In function `bfd_assert':
bfd.o(.text+0x295): undefined reference to `libintl_dgettext'
../bfd/.libs/libbfd.a(bfd.o): In function `_bfd_abort':
bfd.o(.text+0x2c7): undefined reference to `libintl_dgettext'
../bfd/.libs/libbfd.a(bfd.o)(.text+0x2eb): more undefined references to
`libintl_dgettext' follow
collect2: ld returned 1 exit status


I noticed that some other, not so important, Packages gives me also an
error with "libintl_gettext". I think it's a Problem with gettext, but
a recast of gettext doesn't help anything.

I'm thankfully for any help

Best Regards
Dieter

PS: Please excuse my broken English




Archive powered by MHonArc 2.6.24.

Top of Page