Statisch kompilieren

tr0nix

tr0nix

der-mit-dem-tux-tanzt
Hallo zusammen

Ich würde gerne ein Programm statisch kompilieren, kriege aber seltsame Fehler.

Dynamisch:
Code:
xxx@yyy% gcc -lHBAAPI hbainfo.c
xxx@yyy% ./a.out
Anzahl Adapter:  2

Statisch:
Code:
xxx@yyy% gcc --static -lHBAAPI hbainfo.c
ld: fatal: library -lHBAAPI: not found
ld: fatal: library -lc: not found
ld: fatal: library -lc: not found
ld: fatal: File processing errors. No output written to a.out
collect2: ld returned 1 exit status

Wtf? ;) Any clue?
 
haett schon eine idee, wenn es sich um solaris handelt ;-)
 

Ähnliche Themen

CentOS 6.3 RADIUS - Keine Verbindung möglich

NagiosGrapher 1.7.1 funktioniert nicht

Compiler fehler bei ghostscript 8.64

Seltsames problem beim Compilieren mit Libraries

Xubuntu - AVR32-linux crosscompile sqlite

Zurück
Oben