Also das mit ifconfig hat funktioniert.
Ich weiß nun meine IP.
Nun kommt aber wenn ich das PHP fronted Aufrufe diese Meldung:
Unknown column 'last_seen' in 'where clause'
Also das mit ifconfig hat funktioniert.
Ich weiß nun meine IP.
Nun kommt aber wenn ich das PHP fronted Aufrufe diese Meldung:
Unknown column 'last_seen' in 'where clause'
dann hast du das sql-file nicht in deine datenbank importiert, es fehlt das feld.
Vielen Dank für die große Hilfe!
Das mit der Fehlermeldung ist gekommen weil eine alte Datenbank nicht überschrieben wurde.
Es funktioniert endlich!
Super fronted!
Großes Lob!
Geändert von R.A. Pioneer (15.07.2006 um 15:32 Uhr)
Na also, hier werden Sie schließlich geholfen.
Sommerliche Grüße aus dem hohen Norden an alle "Monitorer"!
Funkwart
an alle Monitiere ;)
Sehe ich das richtig, dass außer in der config.inc.php nichts von mir drinsteht. D.h. alle anderen Dateien kann ich blind überschreiben, wenn ich mein Frontend aktualisieren will?
jhr
Hab's einfach so gemacht :)
Ich bin noch nicht dahinter, warum, aber zwei Dinge fallen mir spontan auf:
1. Ich kann keine RICs/ZVEIs abonnieren; es passiert einfach nichts.
2. Laut Statistik waren alle (bis auf eine komischerweise) letzten Alarmierungen am 7.12.2005.
Ich suche noch, wenn ich rausfinde, warum, sag ich bescheid... :)
jhr
Kann mir jmd sagen was ich da noch brauch?
http://www.nalux.de/moni.png
hm eigentlich müsste doch Monitor auch laufen wenn ich Crusader auch hin bekommen habe oder?
@ Manuell ja habe ich, bringt nichts.
@ Schewal, war das nicht erst:
1) make clean
2) make
3) make scope
4) make install
oder hab ich das falsch in erinnerung? wenn ja, nehme ich alles zurück behaupte das gegen teil :D
ne die anderen hab ich nur schon vorher gemacht^^ Ich komm auch irgendwie nicht an die manual....
florian@florian-ubuntu:~/monitor-komplett/monitor-grundprog$ make clean
rm -f -f `find . -name '*.[oas]' -print`
rm -f -f costabi.c costabf.c *~
rm -f -f `find . -name 'core' -print`
florian@florian-ubuntu:~/monitor-komplett/monitor-grundprog$ make
mkdir bin-i686
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/hdlc.o hdlc.c
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/pocsag.o pocsag.c
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/translate.o translate.c
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/demod_afsk12.o demod_afsk12.c
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/demod_afsk24.o demod_afsk24.c
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/demod_afsk24_2.o demod_afsk24_2.c
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/demod_hapn48.o demod_hapn48.c
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/demod_fsk96.o demod_fsk96.c
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/fms.o fms.c
fms.c:25: warning: built-in function ‘fmin’ declared as non-function
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/demod_poc5.o demod_poc5.c
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/demod_poc12.o demod_poc12.c
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/demod_poc24.o demod_poc24.c
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/demod_fms.o demod_fms.c
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/demod_dtmf.o demod_dtmf.c
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/demod_zvei.o demod_zvei.c
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/mon_mysql.o mon_mysql.c
mon_mysql.c:40: warning: function declaration isn’t a prototype
mon_mysql.c: In function ‘mon_mysql_store_fms’:
mon_mysql.c:66: warning: incompatible implicit declaration of built-in function ‘memset’
mon_mysql.c:69: warning: incompatible implicit declaration of built-in function ‘strcat’
mon_mysql.c:94: warning: incompatible implicit declaration of built-in function ‘strlen’
mon_mysql.c:120: warning: incompatible implicit declaration of built-in function ‘exit’
mon_mysql.c: In function ‘mon_mysql_store_dme’:
mon_mysql.c:137: warning: incompatible implicit declaration of built-in function ‘memset’
mon_mysql.c:138: warning: incompatible implicit declaration of built-in function ‘strcat’
mon_mysql.c:161: warning: incompatible implicit declaration of built-in function ‘strlen’
mon_mysql.c:195: warning: incompatible implicit declaration of built-in function ‘exit’
mon_mysql.c: In function ‘mon_mysql_update_dme’:
mon_mysql.c:218: warning: incompatible implicit declaration of built-in function ‘memset’
mon_mysql.c:219: warning: incompatible implicit declaration of built-in function ‘strcat’
mon_mysql.c:225: warning: incompatible implicit declaration of built-in function ‘strlen’
mon_mysql.c:251: warning: incompatible implicit declaration of built-in function ‘exit’
mon_mysql.c: In function ‘mon_mysql_store_zvei’:
mon_mysql.c:271: warning: incompatible implicit declaration of built-in function ‘memset’
mon_mysql.c:274: warning: incompatible implicit declaration of built-in function ‘strcat’
mon_mysql.c:304: warning: incompatible implicit declaration of built-in function ‘strlen’
mon_mysql.c:335: warning: incompatible implicit declaration of built-in function ‘exit’
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/unixinout.o unixinout.c
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/monitor_rou.o monitor_rou.c
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/mkcostab.o mkcostab.c
mkcostab.c: In function ‘main’:
mkcostab.c:43: warning: incompatible implicit declaration of built-in function ‘exit’
gcc bin-i686/mkcostab.o -lm -lncurses -L/usr/lib/mysql -lmysqlclient -o bin-i686/mkcostab
bin-i686/mkcostab
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/costabf.o costabf.c
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/demod_display_dummy.o demod_display_dummy.c
gcc bin-i686/hdlc.o bin-i686/pocsag.o bin-i686/translate.o bin-i686/demod_afsk12.o bin-i686/demod_afsk24.o bin-i686/demod_afsk24_2.o bin-i686/demod_hapn48.o bin-i686/demod_fsk96.o bin-i686/fms.o bin-i686/demod_poc5.o bin-i686/demod_poc12.o bin-i686/demod_poc24.o bin-i686/demod_fms.o bin-i686/demod_dtmf.o bin-i686/demod_zvei.o bin-i686/mon_mysql.o bin-i686/unixinout.o bin-i686/monitor_rou.o bin-i686/costabf.o bin-i686/demod_display_dummy.o -lm -lncurses -L/usr/lib/mysql -lmysqlclient -o bin-i686/monitor
rm -f -f monitor
ln -s bin-i686/monitor monitor
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/gen.o gen.c
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/gen_dtmf.o gen_dtmf.c
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/gen_sin.o gen_sin.c
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/gen_zvei.o gen_zvei.c
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/gen_hdlc.o gen_hdlc.c
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/gen_fms.o gen_fms.c
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/costabi.o costabi.c
gcc bin-i686/gen.o bin-i686/gen_dtmf.o bin-i686/gen_sin.o bin-i686/gen_zvei.o bin-i686/gen_hdlc.o bin-i686/gen_fms.o bin-i686/costabi.o -lm -lncurses -L/usr/lib/mysql -lmysqlclient -o bin-i686/gen
rm -f -f gen
ln -s bin-i686/gen gen
florian@florian-ubuntu:~/monitor-komplett/monitor-grundprog$ make scope
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/demod_display.o demod_display.c
gcc -Wstrict-prototypes -I/usr/X11R6/include -O3 -march=i486 -DARCH_I386 -c -o bin-i686/xdisplay.o xdisplay.c
gcc bin-i686/hdlc.o bin-i686/pocsag.o bin-i686/translate.o bin-i686/demod_afsk12.o bin-i686/demod_afsk24.o bin-i686/demod_afsk24_2.o bin-i686/demod_hapn48.o bin-i686/demod_fsk96.o bin-i686/fms.o bin-i686/demod_poc5.o bin-i686/demod_poc12.o bin-i686/demod_poc24.o bin-i686/demod_fms.o bin-i686/demod_dtmf.o bin-i686/demod_zvei.o bin-i686/mon_mysql.o bin-i686/unixinout.o bin-i686/monitor_rou.o bin-i686/costabf.o bin-i686/demod_display.o bin-i686/xdisplay.o -lm -lncurses -L/usr/lib/mysql -lmysqlclient -o bin-i686/Xmonitor
bin-i686/xdisplay.o: In function `x_error_handler':
xdisplay.c:(.text+0x41): undefined reference to `XGetErrorText'
xdisplay.c:(.text+0x7f): undefined reference to `XGetErrorDatabaseText'
xdisplay.c:(.text+0xce): undefined reference to `XGetErrorDatabaseText'
bin-i686/xdisplay.o: In function `do_x_select':
xdisplay.c:(.text+0x133): undefined reference to `XInternalConnectionNumbers'
xdisplay.c:(.text+0x240): undefined reference to `XProcessInternalConnection'
xdisplay.c:(.text+0x258): undefined reference to `XFree'
xdisplay.c:(.text+0x280): undefined reference to `XCheckIfEvent'
xdisplay.c:(.text+0x2b5): undefined reference to `XLookupString'
xdisplay.c:(.text+0x367): undefined reference to `XGetWindowAttributes'
xdisplay.c:(.text+0x39d): undefined reference to `XCopyArea'
xdisplay.c:(.text+0x3b3): undefined reference to `XCloseDisplay'
bin-i686/xdisplay.o: In function `xdisp_start':
xdisplay.c:(.text+0x639): undefined reference to `XOpenDisplay'
xdisplay.c:(.text+0x656): undefined reference to `XSetErrorHandler'
xdisplay.c:(.text+0x67b): undefined reference to `XAllocNamedColor'
xdisplay.c:(.text+0x6b4): undefined reference to `XRootWindow'
xdisplay.c:(.text+0x6e1): undefined reference to `XCreateWindow'
xdisplay.c:(.text+0x70a): undefined reference to `XCreatePixmap'
xdisplay.c:(.text+0x732): undefined reference to `XSelectInput'
xdisplay.c:(.text+0x760): undefined reference to `XCreateGC'
xdisplay.c:(.text+0x7bf): undefined reference to `XSetWMNormalHints'
xdisplay.c:(.text+0x7d4): undefined reference to `XMapWindow'
xdisplay.c:(.text+0x7e3): undefined reference to `XSynchronize'
xdisplay.c:(.text+0x87f): undefined reference to `XSetState'
xdisplay.c:(.text+0x8aa): undefined reference to `XFillRectangle'
xdisplay.c:(.text+0x8c4): undefined reference to `XSetForeground'
xdisplay.c:(.text+0x8ef): undefined reference to `XDrawLine'
xdisplay.c:(.text+0x90c): undefined reference to `XSetForeground'
xdisplay.c:(.text+0x950): undefined reference to `XDrawLine'
xdisplay.c:(.text+0x98f): undefined reference to `XCopyArea'
collect2: ld returned 1 exit status
make: *** [bin-i686/Xmonitor] Fehler 1
florian@florian-ubuntu:~/monitor-komplett/monitor-grundprog$ make install
Installiere Monitor und Gen nach /usr/local/bin,
Manual nach /usr/local/man/mann
als Super User
su -c"/usr/bin/install -c monitor /usr/local/bin;\
/usr/bin/install -c bin-i686/gen /usr/local/bin;\
/usr/bin/install -c monrc.n.gz /usr/local/man/mann"
Password:
florian@florian-ubuntu:~/monitor-komplett/monitor-grundprog$ make clean
rm -f -f `find . -name '*.[oas]' -print`
rm -f -f costabi.c costabf.c *~
rm -f -f `find . -name 'core' -print`
florian@florian-ubuntu:~/monitor-komplett/monitor-grundprog$
Geändert von Schewal (04.12.2006 um 16:19 Uhr)
AFAIR brauchst Du nicht "make" und "make scope" nacheinander auszuführen. Wenn Du unbedingt X-Unterstützung haben willst, dann machst Du "make scope", ansonsten nur "make". Letzteres scheint ja (trotz vieler Warnungen) ohne Fehler geklappt zu haben. Kannst Du nach "make" und "make install" denn den monitor aufrufen?
Der Fehler bei "make scope" klingt irgendwie nach einem Fehler mit den X-Paketen. Das war irgendwie schon immer eine knifflige Sache. Probiers doch erstmal ohne X.
Gruß,
Funkwart
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)