Ich habs dann mal versucht...
1 OK
2 OK, hab ich so gelassen
3 OK
4 FEHLER
5 OK
6 FEHLER
7 OK
8,9,10 Noch nicht erledigt
Fehler zu 4:
Code:
ispcp:~/hcrond-0.3.2# make install
gcc -std=c99 -pedantic -Wall -W -c -o main.o main.c
main.c:34:25: error: mysql/mysql.h: Datei oder Verzeichnis nicht gefunden
main.c:35:29: error: libdaemon/dfork.h: Datei oder Verzeichnis nicht gefunden
main.c:36:28: error: libdaemon/dlog.h: Datei oder Verzeichnis nicht gefunden
main.c:37:28: error: libdaemon/dpid.h: Datei oder Verzeichnis nicht gefunden
main.c:38:31: error: libdaemon/dsignal.h: Datei oder Verzeichnis nicht gefunden
main.c:88: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token
main.c:89: error: expected â)â before â*â token
main.c:99: error: expected â)â before â*â token
main.c: In function âmainâ:
main.c:118: warning: implicit declaration of function âdaemon_pid_file_killâ
main.c:120: warning: implicit declaration of function âdaemon_logâ
main.c:126: error: âdaemon_log_identâ undeclared (first use in this function)
main.c:126: error: (Each undeclared identifier is reported only once
main.c:126: error: for each function it appears in.)
main.c:127: error: âdaemon_log_useâ undeclared (first use in this function)
main.c:127: error: âDAEMON_LOG_AUTOâ undeclared (first use in this function)
main.c:127: error: âDAEMON_LOG_STDERRâ undeclared (first use in this function)
main.c:131: warning: implicit declaration of function âdaemon_retval_initâ
main.c:132: warning: implicit declaration of function âdaemon_forkâ
main.c:134: warning: implicit declaration of function âdaemon_retval_sendâ
main.c:138: warning: implicit declaration of function âdaemon_retval_doneâ
main.c:141: warning: implicit declaration of function âdaemon_retval_waitâ
main.c:150: error: âdaemon_pid_file_procâ undeclared (first use in this function)
main.c:151: warning: implicit declaration of function âdaemon_pid_file_createâ
main.c:153: warning: implicit declaration of function âdaemon_pid_file_is_runningâ
main.c:160: error: âdaemon_pid_file_removeâ undeclared (first use in this function)
main.c:171: warning: implicit declaration of function âdaemon_signal_initâ
main.c:176: error: âdaemon_signal_doneâ undeclared (first use in this function)
main.c:198: warning: implicit declaration of function âdaemon_pid_file_removeâ
main.c:199: warning: implicit declaration of function âdaemon_signal_doneâ
main.c: In function ârun_jobsâ:
main.c:220: warning: implicit declaration of function âdaemon_signal_nextâ
main.c: At top level:
main.c:265: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token
main.c:285: error: expected â)â before â*â token
main.c:313: error: expected â)â before â*â token
main.c: In function ârefreshâ:
main.c:337: error: âMYSQLâ undeclared (first use in this function)
main.c:337: error: âsqlâ undeclared (first use in this function)
main.c:340: warning: implicit declaration of function âdb_connectâ
main.c:348: warning: implicit declaration of function âdb_updateâ
main.c:370: warning: implicit declaration of function âmysql_closeâ
main.c:375: error: âMYSQL_RESâ undeclared (first use in this function)
main.c:375: error: âresâ undeclared (first use in this function)
main.c:376: warning: implicit declaration of function âqueryfâ
main.c:376: warning: implicit declaration of function âmysql_store_resultâ
main.c:376: warning: pointer/integer type mismatch in conditional expression
main.c:378: error: âMYSQL_ROWâ undeclared (first use in this function)
main.c:378: error: expected â;â before ârowâ
main.c:379: error: ârowâ undeclared (first use in this function)
main.c:379: warning: implicit declaration of function âmysql_fetch_rowâ
main.c:438: warning: implicit declaration of function âmysql_free_resultâ
main.c: In function ârun_thisâ:
main.c:481: warning: initialization discards qualifiers from pointer target type
make: *** [main.o] Fehler 1
Fehler zu 6:
Code:
ispcp:~/hcrond-0.3.2# chkconfig --add hcrond
insserv: warning: script 'K01hcrond' missing LSB tags and overrides
insserv: warning: script 'hcrond' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0) of script `halt' overwrites defaults (empty).
insserv: warning: current start runlevel(s) (0 6) of script `umountnfs.sh' overwrites defaults (empty).
insserv: warning: current start runlevel(s) (0 6) of script `umountfs' overwrites defaults (empty).
insserv: warning: current start runlevel(s) (0 6) of script `sendsigs' overwrites defaults (empty).
insserv: warning: current start runlevel(s) (0 6) of script `umountroot' overwrites defaults (empty).
insserv: warning: current start runlevel(s) (6) of script `reboot' overwrites defaults (empty).
hcrond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Gruß
FISA4