stat,fstat

Peter Lacus zorba na pobox.sk
Úterý Prosinec 28 17:31:41 CET 1999


je nejaka vseobecne znama kniznica, v ktorej sa nachadzaju tieto
funkcie? Lebo uz druhy program mi nejde zlinkovat a vypisuje

libutil.a(util.o): In function `util_upload':
util.o(.text+0xf15): undefined reference to `fstat'
libutil.a(glob.o): In function `real_stat':
glob.o(.text+0xb10): undefined reference to `stat'
local/liblocal.a(lsince.o): In function `lsince_main':
lsince.o(.text+0x95): undefined reference to `stat'
remote/libremote.a(rget.o): In function `get_file':
rget.o(.text+0x285): undefined reference to `fstat'
remote/libremote.a(rget.o): In function `make_dir':
rget.o(.text+0x5d1): undefined reference to `stat'
remote/libremote.a(rput.o): In function `put_file':
rput.o(.text+0x16): undefined reference to `stat'

konkretne ide o klienta FSP. A prvy zasa (GTKtalog 0.09):

addisk.o: In function `include_file_in_database':
addisk.o(.text+0xa9): undefined reference to `stat'
addisk.o: In function `create_folder_tree':
addisk.o(.text+0x59b): undefined reference to `stat'
addisk.o(.text+0x768): undefined reference to `lstat'
selectdir.o: In function `check_for_subdir':
selectdir.o(.text+0x6d): undefined reference to `stat'
selectdir.o: In function `expand_cb':
selectdir.o(.text+0x202): undefined reference to `stat'
setup.o: In function `load_setup':
setup.o(.text+0x29cf): undefined reference to `stat'
setup.o(.text+0x29ea): undefined reference to `stat'

pouzivam gcc 2.7.2.3 a glibc 2.0.7

Bedo.


Další informace o konferenci Linux