tr0nix
der-mit-dem-tux-tanzt
Hallo zusammen
Ich würde gerne ein Programm statisch kompilieren, kriege aber seltsame Fehler.
Dynamisch:
Statisch:
Wtf? Any clue?
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?