🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: ch.comp.os.linux
3 messages
3 total messages Started by Andreas 'LionKing | StarFire' Ts... Wed, 23 Jun 1999 00:00
Altes Problem gibt neue Raetsel auf
#21673
Author: Andreas 'LionKing | StarFire' Ts...
Date: Wed, 23 Jun 1999 00:00
24 lines
1345 bytes
Hallo Welt,

Gestern Abend wollte ich mein C-Programm compilieren. Das klappte auch
wunderbar, bis auf's Linken, da kam die altebekannte Fehlermeldung

undefined reference in ...

Das Problem daran ist: Ich habe bei den Linker-Flags mit -L/usr/lib den
Pfad zur Library eindeutig gesetzt und mit -lungif sollte sie auch gelinkt
werden.
Wahrscheinlich habe ich wieder estwas voellig triviales vergessen, nur
was?

Gruss
	Andreas
-- 
     ("`-''-/").___..--''"`-._
      `o_ o  )   `-.  (     ).`-.__.`)
      (_Y_.)'  ._   )  `._ `. ``-..-'
    _..`--'_..-_/  /--'_.' .'
   (il).-''  (li).'  ((!.-'
   
   Andreas Tscharner		andy@vis.ethz.ch
  http://www.vis.ethz.ch/~andy   ICQ-No. 14356454
Re: Altes Problem gibt neue Raetsel auf
#21675
Author: Marc SCHAEFER
Date: Wed, 23 Jun 1999 00:00
8 lines
733 bytes
Andreas 'LionKing | StarFire' Tscharner <andy@vis.ethz.ch> wrote:
> Wahrscheinlich habe ich wieder estwas voellig triviales vergessen, nur
> was?

what reference is missing ?

If it's a mathematical function, you forgot -lm. Or the order of
libraries is wrong.
Re: Altes Problem gibt neue Raetsel auf
#21599
Author: Andreas 'LionKing | StarFire' Ts...
Date: Thu, 24 Jun 1999 00:00
26 lines
1551 bytes
On 23 Jun 1999, Marc SCHAEFER wrote:

> Andreas 'LionKing | StarFire' Tscharner <andy@vis.ethz.ch> wrote:
> > Wahrscheinlich habe ich wieder estwas voellig triviales vergessen, nur
> > was?
> 
> what reference is missing ?
> 
> If it's a mathematical function, you forgot -lm. Or the order of
> libraries is wrong.

No, it's functions from the ungif - library, and yes, I added -lungif (the
library's name is libungif and the functions are in the library as nm
showed

Regards
	Andreas
-- 
     ("`-''-/").___..--''"`-._
      `o_ o  )   `-.  (     ).`-.__.`)
      (_Y_.)'  ._   )  `._ `. ``-..-'
    _..`--'_..-_/  /--'_.' .'
   (il).-''  (li).'  ((!.-'
   
   Andreas Tscharner		andy@vis.ethz.ch
  http://www.vis.ethz.ch/~andy   ICQ-No. 14356454
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads