Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

EMX-Problem: Library nicht gefunden?

0 views
Skip to first unread message

Matthias Heidbrink

unread,
Apr 24, 1996, 3:00:00 AM4/24/96
to
Hallo,

ich habe mir vor kurzem den EMX-GCC neu installiert (müßte jetzt 0.9b, Fix
3 sein) und bekomme seitdem leider nichts mehr damit compiliert. Die
Environmentvariablen sind (inclusive forward-slashes) wie in install.doc
beschrieben gesetzt. Any ideas?

------------------------------------
[D:\devtools\emx\samples]make
gcc -g -Wall calc.c
d:\tcpip\tmp\ccc00260: Undefined symbol _hypot referenced from data
segment
d:\tcpip\tmp\ccc00260: Undefined symbol _cbrt referenced from data segment
d:\tcpip\tmp\ccc00260: Undefined symbol _rint referenced from data segment
d:\tcpip\tmp\ccc00260: Undefined symbol _trunc referenced from data
segment
make: *** [calc.exe] Error 1
------------------------------------

Wenn ich den Compiler direkt aufrufe, ist das Resultat das gleiche.

Ciao, Matthias

Ekkehard Kraemer

unread,
Apr 25, 1996, 3:00:00 AM4/25/96
to

Hi Matthias!

MH>gcc -g -Wall calc.c

Versuch's mal so:

gcc -g -Wall calc.c -lmath

MbG, Ekkehard

Eberhard Mattes

unread,
Apr 27, 1996, 3:00:00 AM4/27/96
to

Matthias Heidbrink schreibt:

> ich habe mir vor kurzem den EMX-GCC neu installiert (müßte jetzt 0.9b, Fix
> 3 sein) und bekomme seitdem leider nichts mehr damit compiliert. Die
> Environmentvariablen sind (inclusive forward-slashes) wie in install.doc
> beschrieben gesetzt. Any ideas?
>
> ------------------------------------
> [D:\devtools\emx\samples]make
> gcc -g -Wall calc.c
> d:\tcpip\tmp\ccc00260: Undefined symbol _hypot referenced from data
> segment
> d:\tcpip\tmp\ccc00260: Undefined symbol _cbrt referenced from data segment
> d:\tcpip\tmp\ccc00260: Undefined symbol _rint referenced from data segment
> d:\tcpip\tmp\ccc00260: Undefined symbol _trunc referenced from data
> segment

Da liegt wohl eine Mischung von emx 0.9a und 0.9b vor.

--
Eberhard Mattes <mat...@azu.informatik.uni-stuttgart.de>


Ullrich Pollaehne

unread,
Apr 27, 1996, 3:00:00 AM4/27/96
to

Hallo Ekkehard,

EK>-lmath

ist die Bibliothek umbenannt worden? Bei mir heißt die Bibliothek einfach
nur 'm' und dementsprechend die Kommandozeilenoption auch nur '-lm'.

Ullrich.

Peter Sulzer

unread,
Apr 29, 1996, 3:00:00 AM4/29/96
to

Ullrich Pollähne schrieb am 27. April an Ekkehard Krämer:

UP>EK>-lmath
UP>
UP>ist die Bibliothek umbenannt worden? Bei mir heißt die Bibliothek
einfach nu
UP>'m' und dementsprechend die Kommandozeilenoption auch nur '-lm'.

Kompromiß wegen der 8+3-Zeichen-Beschränkung unter DOS, eigentlich
müßte sie libm.a heißen (die Kommandozeilenoption lautet trotzdem -lm).

MfG Peter

0 new messages