Hallo miteinander
Source siehe beiliegende Files.
$ gpc -g -c pmod.p ist noch OK, dann aber
$ gcc -g cmain.c *.o Undefined first referenced symbol in file _p_stdout pmod.o _p_atexit pmod.o _p_write pmod.o _p_InOutRes pmod.o _p_check_inoutres pmod.o _p_Real_ArcTan pmod.o ld: fatal: Symbol referencing errors. No output written to a.out collect2: ld returned 1 exit status
Was mache ich falsch?
Für jeden Tipp den besten Dank im voraus, Roland
LGT Financial Services Limited Herrengasse 12, P.O. Box 85, FL-9490 VADUZ Principality of Liechtenstein Tel. +423 235 24 44, Fax +423 235 24 40 Mail: lgt.fs@lgt.com Web: http://www.lgt.com ---------------------------------------------------------------------- Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer does not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of my firm shall be understood as neither given nor endorsed by it. -----------------------------------------------------------------------
Rick Roland schrieb:
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible.
--
Hallo miteinander
Source siehe beiliegende Files.
$ gpc -g -c pmod.p ist noch OK, dann aber
$ gcc -g cmain.c *.o Undefined first referenced symbol in file _p_stdout pmod.o _p_atexit pmod.o _p_write pmod.o _p_InOutRes pmod.o _p_check_inoutres pmod.o _p_Real_ArcTan pmod.o ld: fatal: Symbol referencing errors. No output written to a.out collect2: ld returned 1 exit status
Was mache ich falsch?
Wie ich schon schrieb:
: Von GPC-Seite dürfte das Selbe gelten wie für Linken mit C-Code (s. : demos/gpc_c*). Wenn zum Linken nicht GPC aufgerufen wird, : `-lgpc -lm' angeben sowie einen Pfad, der zu libgpc.a führt, mittels : `-L'.
Frank