(10-21-2009 05:35 AM)FISA4 Wrote: Mal schauen was dabei rauskommt.
Code:
ispcp:~/hcrond-0.3.2# make install
gcc -std=c99 -pedantic -Wall -W -c -o main.o main.c
main.c: In function ârun_thisâ:
main.c:481: warning: initialization discards qualifiers from pointer target type
gcc -o hcrond options.o main.o -I'/usr/include/mysql' -L/usr/lib64/mysql -lmysqlclient -ldaemon -lpthread
main.o: In function `main':
main.c:(.text+0x17): undefined reference to `optmain'
main.c:(.text+0x6e): undefined reference to `debug'
main.c:(.text+0x91): undefined reference to `debug'
main.c:(.text+0x127): undefined reference to `debug'
main.o: In function `run_jobs':
main.c:(.text+0x39e): undefined reference to `reload'
main.c:(.text+0x463): undefined reference to `debug'
main.o: In function `db_connect':
main.c:(.text+0x52b): undefined reference to `port'
main.c:(.text+0x532): undefined reference to `dbnm'
main.c:(.text+0x539): undefined reference to `pass'
main.c:(.text+0x540): undefined reference to `user'
main.c:(.text+0x547): undefined reference to `host'
main.c:(.text+0x5ae): undefined reference to `debug'
main.o: In function `db_update':
main.c:(.text+0x7e1): undefined reference to `table'
main.c:(.text+0x83f): undefined reference to `table'
main.o: In function `refresh':
main.c:(.text+0xa88): undefined reference to `table'
main.o: In function `run_this':
main.c:(.text+0xfb3): undefined reference to `max_jobs'
main.c:(.text+0xfc3): undefined reference to `max_jobs'
main.c:(.text+0xfcd): undefined reference to `debug'
main.c:(.text+0x104e): undefined reference to `allow_uidgid'
main.c:(.text+0x1090): undefined reference to `allow_uidgid'
main.c:(.text+0x10de): undefined reference to `allow_notnice'
main.c:(.text+0x1131): undefined reference to `debug'
main.o: In function `childcare':
main.c:(.text+0x11db): undefined reference to `debug'
main.c:(.text+0x1208): undefined reference to `debug'
main.o: In function `trans':
main.c:(.text+0x180c): undefined reference to `debug'
main.o: In function `pidnaam':
main.c:(.text+0x1be6): undefined reference to `pidfile'
collect2: ld returned 1 exit status
make: *** [hcrond] Fehler 1
ispcp:~/hcrond-0.3.2#
hmmmm.... undefinierte Referenzen....
Ob das wohl läuft ???
Reboot brachte:
Wird wohl momentan noch nichts mit Cronjobs.
Oder weiss jemand Rat ???
Gruß
FISA4