Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Probleme mit der readline Bibliothek
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Hilefoks
l33t
l33t


Joined: 29 Jan 2003
Posts: 849
Location: Emden / Deutschland

PostPosted: Mon Dec 15, 2003 11:45 am    Post subject: Probleme mit der readline Bibliothek Reply with quote

moin zusammen,

Ich habe ein Problem mit der readline-Bibliothek. Wenn ich folgendes Programm kombilieren möchte :
Code:

#include <stdio.h>
#include <stdlib.h>
#include <readline/readline.h>
#include <readline/history.h>

int main (void) {  return 0; }

dann bekomme ich immer folgenden Fehler
Code:

FiascoMobile test # gcc test.c -o test -lreadline
/lib/libreadline.so: undefined reference to `tgetnum'
/lib/libreadline.so: undefined reference to `tgoto'
/lib/libreadline.so: undefined reference to `tgetflag'
/lib/libreadline.so: undefined reference to `BC'
/lib/libreadline.so: undefined reference to `tputs'
/lib/libreadline.so: undefined reference to `PC'
/lib/libreadline.so: undefined reference to `tgetent'
/lib/libreadline.so: undefined reference to `UP'
/lib/libreadline.so: undefined reference to `tgetstr'
collect2: ld returned 1 exit status


Leider habe ich noch keine Erfahrung mit dem Programmieren unter Linux, deshalb hab ich nicht so recht die Ahnung was hier nicht stimmt. Ich habe schon Versucht die readline Bibliothek zu löschen und neu zu installieren, - ohne Erfolg (habe sie auch aus Distfiles gelöscht um nicht auf ein e.v. defektes Packet hereinzufallen). Vieleicht fehlt auch eine andere Bibliothek, allerdings kann habe ich keine Ahnung welche das sein könnte. readline selbst scheint von keiner abhängig zu sein.

Vieleicht hat ja einer von euch einen Tip

Vielen Dank

Fiasco
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum