Kompilacja: ld.so i SVGATextMode

Malekith malekith w topnet.pl
Czw, 10 Lut 2000, 13:41:06 CET


On Mon, 7 Feb 2000, Michał Kuratczyk wrote:

> SVGATextMode wywala "undefined reference to outb" (i innych, np. inb). 

quote z outb(1):

>       You  compile  with -O or -O2 or similar. The functions are
>       defined as inline macros, and will not be  substituted  in
>       without  optimization  enabled,  causing unresolved refer-
>       ences at link time.

czemu SVGATextMode miałoby być kompilowane bez -O nie wiem, ale
wpieprzanuie się w Makefile i zmiana orygianlych CFLAGS na RPM_OPT_FLAGS
lubi się czasem mścić ;)))

> AFAIR to to są standardowe sprawy w C++. O co chodzi?

nie bardzo rozumiem co to ma wspólnego z C++ ...


--
# malekith
#
# mailto:malekith w topnet.pl
# http://malekith.topnet.pl
#
# Any resemblance to real persons, living or dead is purely coincidental.
#



Więcej informacji o liście dyskusyjnej pld-devel-pl