tux src # make
gcc -Os -I. -D_GNU_SOURCE -c libcapifax.c -o libcapifax.o
libcapifax.c: In Funktion »spandsp_init«:
libcapifax.c:1419: Warnung: Typkonvertierung in Zeiger von Ganzzahl anderer Breite
libcapifax.c:1420: Warnung: Typkonvertierung in Zeiger von Ganzzahl anderer Breite
libcapifax.c:1421: Warnung: Typkonvertierung in Zeiger von Ganzzahl anderer Breite
libcapifax.c: In Funktion »phase_b_handler«:
libcapifax.c:1482: Warnung: Typkonvertierung von Zeiger auf Ganzzahl anderer Breite
libcapifax.c: In Funktion »phase_d_handler«:
libcapifax.c:1522: Warnung: Typkonvertierung von Zeiger auf Ganzzahl anderer Breite
libcapifax.c: In Funktion »phase_e_handler«:
libcapifax.c:1563: Warnung: Typkonvertierung von Zeiger auf Ganzzahl anderer Breite
gcc -Os -I. -D_GNU_SOURCE -c alaw_ulaw.c -o alaw_ulaw.o
gcc -L./ -shared -Wl,-soname -Wl,libcapifax.so -o libcapifax.so libcapifax.o alaw_ulaw.o -lcapi20 -lm -lspandsp -ltiff -Wl,-Bdynamic
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/../../../../x86_64-pc-linux-gnu/bin/ld: libcapifax.o: relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
libcapifax.o: could not read symbols: Bad value
collect2: ld gab 1 als Ende-Status zurück
make: *** [libcapifax] Fehler 1
[readSocket]: Druckauftrag am Socket empfangen
[libcapifax] 21.09.2008 14:17:49 - capifax_send("/tmp/fax.test-3bY2eV.tif", 14400, 1, "12345", "67890", "+49 221 123456", "XXXXX")
[libcapifax] 21.09.2008 14:17:49 - CONNECT_REQ - 12345 -> 67890
[libcapifax] 21.09.2008 14:17:49 - CNF: CAPI_CONNECT - (0) (PLCI: 1796)
[StatusCapiFax]: Outgoing fax
[StatusCapiFax]: Phase : 1
[StatusCapiFax]: Connection: 0
[StatusCapiFax]: Src-No : 12345
[StatusCapiFax]: Dst-No : 67890
[libcapifax] 21.09.2008 14:17:58 - IND: CAPI_CONNECT_ACTIVE - CON: 0, PLCI: 1796, NCCI: 0
[libcapifax] 21.09.2008 14:17:58 - CNF: CAPI_CONNECT_B3 - (0)
[libcapifax] 21.09.2008 14:17:58 - IND: CAPI_CONNECT_B3_ACTIVE - CON: 0, PLCI: 1796, NCCI: 67332
./capifax -send "/tmp/fax.test-GpeyOz.tif" 4 12345 67890 -loglevel 3
-------------------------------------------------------------------------------
capifax v0.5
-------------------------------------------------------------------------------
[libcapifax] 21.09.2008 20:05:46 - capifax_init(4, 3)
[libcapifax] 21.09.2008 20:05:46 - libcapifax v0.5 initialized
[libcapifax] 21.09.2008 20:05:46 - capifax_send("/tmp/fax.test-GpeyOz.tif", 3, 1, "12345", "67890", "+00 00 0000000", "(null)")
[libcapifax] 21.09.2008 20:05:46 - CONNECT_REQ - 12345 -> 67890
[libcapifax] 21.09.2008 20:05:46 - CNF: CAPI_LISTEN - (0)
[libcapifax] 21.09.2008 20:05:46 - CNF: CAPI_CONNECT - (0) (PLCI: 5124)
OUTGOING FAX
Phase: 1
Connection: 0
Src-No: 12345
Dst-No: 67890
-------------------------------------------------------------------------------
[libcapifax] 21.09.2008 20:05:50 - IND: CAPI_CONNECT_ACTIVE - CON: 0, PLCI: 5124, NCCI: 0
[libcapifax] 21.09.2008 20:05:50 - CNF: CAPI_CONNECT_B3 - (0)
[libcapifax] 21.09.2008 20:05:50 - IND: CAPI_CONNECT_B3_ACTIVE - CON: 0, PLCI: 5124, NCCI: 70660
Speicherzugriffsfehler
capifax[9070] general protection ip:404413 sp:7fff19b51890 error:0 in capifax[400000+8000]
gs -dNOPAUSE -dSAFER -dBATCH -sDEVICE=tiffg3 -sPAPERSIZE=a4 -r204x196 -sOutputFile=fax.tif Quelle.ps
capifax -send /tmp/fax.tif 5 2XXXXXX 0XXXXXXXXXX -loglevel 3
-------------------------------------------------------------------------------
capifax v0.6
-------------------------------------------------------------------------------
[libcapifax] 18.10.2008 20:20:25 - libcapifax v0.6 successfully initialized!
[libcapifax] 18.10.2008 20:20:25 - ctrl: 5, loglevel: 2, ev_status: 669d60, ev_progress: 669d68, ev_log: 669d70
[libcapifax] 18.10.2008 20:20:25 - capifax_send("/tmp/fax.tif", 3, 1, "2XXXXXX", "0XXXXXXXXXX", "+00 00 0000000", "(null)")
[libcapifax] 18.10.2008 20:20:25 - REQ: CONNECT (2XXXXXX -> 05XXXXXXXXXX)
[libcapifax] 18.10.2008 20:20:25 - CNF: CAPI_LISTEN - (0)
[libcapifax] 18.10.2008 20:20:25 - CNF: CAPI_CONNECT - (0) (PLCI: 1797)
OUTGOING FAX
Phase: 1
Connection: 0
Src-No: 2XXXXXX
Dst-No: 0XXXXXXXXXX
-------------------------------------------------------------------------------
[libcapifax] 18.10.2008 20:20:26 - IND: CAPI_CONNECT - CON: -1, PLCI: 2053, NCCI: 0 - IGNORING (0XXXXXXXXXX <- 1#0XXXXXXXXXX)
[libcapifax] 18.10.2008 20:20:28 - IND: CAPI_CONNECT_ACTIVE - CON: 0, PLCI: 1797, NCCI: 0
[libcapifax] 18.10.2008 20:20:28 - CNF: CAPI_CONNECT_B3 - (0)
[libcapifax] 18.10.2008 20:20:28 - IND: CAPI_CONNECT_B3_ACTIVE - CON: 0, PLCI: 1797, NCCI: 132869
[libcapifax] 18.10.2008 20:21:09 - Phase E handler (0x3) Timed out waiting for the first message
[libcapifax] 18.10.2008 20:21:09 - Phase E: pages transferred 0
[libcapifax] 18.10.2008 20:21:09 - Phase E: image resolution 0 x 0
[libcapifax] 18.10.2008 20:21:09 - Phase E: compression type 0
[libcapifax] 18.10.2008 20:21:09 - Phase E: coding method ???
SENDING FAX (END)
Phase: 4
Connection: 0
Bitrate: 14400
Encoding: 0
Bad rows: 0
Page: 0 / 0
-------------------------------------------------------------------------------
[libcapifax] 18.10.2008 20:21:14 - CAPI 0x3490 - Normal call clearing
[libcapifax] 18.10.2008 20:21:14 - IND: CAPI_DISCONNECT - CON: 0, PLCI: 1797, NCCI: 0
SENDING FAX (FAILED 3)
Phase: 6
Connection: 0
Bitrate: 14400
Encoding: 0
Bad rows: 0
Page: 0 / 0
-------------------------------------------------------------------------------
[libcapifax] 18.10.2008 20:21:14 - libcapifax v0.6 closed!
capifax -send ./fax.tif 5 2XXXXXX 0XXXXXXXXXX -loglevel 3
-------------------------------------------------------------------------------
capifax v0.6
-------------------------------------------------------------------------------
[libcapifax] 19.10.2008 21:16:19 - libcapifax v0.6 successfully initialized!
[libcapifax] 19.10.2008 21:16:19 - ctrl: 5, loglevel: 2, ev_status: 669d60, ev_progress: 669d68, ev_log: 669d70
[libcapifax] 19.10.2008 21:16:19 - capifax_send("./fax.tif", 3, 1, "2XXXXXX", "0XXXXXXXXXX", "+00 00 0000000", "(null)")
[libcapifax] 19.10.2008 21:16:19 - REQ: CONNECT (2XXXXXX -> 08XXXXXXXXX)
[libcapifax] 19.10.2008 21:16:19 - CNF: CAPI_LISTEN - (0)
[libcapifax] 19.10.2008 21:16:19 - CNF: CAPI_CONNECT - (0) (PLCI: 3333)
OUTGOING FAX
Phase: 1
Connection: 0
Src-No: 2XXXXXX
Dst-No: 0XXXXXXXXXX
-------------------------------------------------------------------------------
[libcapifax] 19.10.2008 21:16:23 - IND: CAPI_CONNECT - CON: -1, PLCI: 3589, NCCI: 0 - IGNORING (0XXXXXXXXXX <- 1#0XXXXXXXXXX)
[libcapifax] 19.10.2008 21:16:32 - IND: CAPI_CONNECT_ACTIVE - CON: 0, PLCI: 3333, NCCI: 0
[libcapifax] 19.10.2008 21:16:32 - CNF: CAPI_CONNECT_B3 - (0)
[libcapifax] 19.10.2008 21:16:32 - IND: CAPI_CONNECT_B3_ACTIVE - CON: 0, PLCI: 3333, NCCI: 134405
[libcapifax] 19.10.2008 21:16:54 - Phase B handler (0x80) DIS
[libcapifax] 19.10.2008 21:16:54 - Phase B: bit rate 14400
[libcapifax] 19.10.2008 21:16:54 - Phase B: ECM on
[libcapifax] 19.10.2008 21:16:54 - ??? Encoding Type H=���sS�H��(H�|H�t$H�T$�
SENDING FAX (START)
Phase: 2
Connection: 0
Bitrate: 14400
Encoding: 0
Bad rows: 0
Page: 1 / 0
-------------------------------------------------------------------------------
[libcapifax] 19.10.2008 21:17:23 - Phase E handler (0xE) Received bad response to DCS or training
[libcapifax] 19.10.2008 21:17:23 - Phase E: pages transferred 0
[libcapifax] 19.10.2008 21:17:23 - Phase E: image resolution 8031 x 7700
[libcapifax] 19.10.2008 21:17:23 - Phase E: compression type 3
[libcapifax] 19.10.2008 21:17:23 - Phase E: coding method T.6
SENDING FAX (END)
Phase: 4
Connection: 0
Bitrate: 14400
Encoding: 3
Bad rows: 0
Page: 0 / 3
-------------------------------------------------------------------------------
[libcapifax] 19.10.2008 21:17:23 - CAPI 0x3490 - Normal call clearing
[libcapifax] 19.10.2008 21:17:23 - IND: CAPI_DISCONNECT - CON: 0, PLCI: 3333, NCCI: 0
SENDING FAX (FAILED 14)
Phase: 6
Connection: 0
Bitrate: 14400
Encoding: 3
Bad rows: 0
Page: 0 / 3
-------------------------------------------------------------------------------
[libcapifax] 19.10.2008 21:17:23 - libcapifax v0.6 closed!
SENDING FAX (FAILED 13456)
[RegisterPlugin]: Adding 'FritzFon'
[RegisterPlugin]: Adding 'Das Oertliche'
[RegisterPlugin]: Adding 'Thunderbird Addressbook'
[RegisterPlugin]: Adding 'efax'
[RegisterPlugin]: Adding 'Standard'
[RegisterPlugin]: Adding 'CapiFax'
[libcapifax] 22.10.2008 08:39:42 - capifax_init(5, 2)
[libcapifax] 22.10.2008 08:39:43 - libcapifax v0.5 initialized
[server]: FritzFax Server von Jan-Michael Brummer
[server]: Laufe auf Port 9901
[fritzBoxLogin]: Login successful!
[fritzBoxGetLanguage]: Detecting fritzbox language...
[fritzBoxGetLanguage]: Language is 'de'
[fritzBoxGetCallList]: saved callerlist
[libcapifax] 22.10.2008 08:40:03 - capifax_recv(ffgtk_***3164_***16555-22_10_2008_08_40_03.tiff, 14400, 1, ***3164, +43 1 ***6545, OFFICE)
[libcapifax] 22.10.2008 08:40:03 - CNF: CAPI_LISTEN - (0)
[libcapifax] 22.10.2008 08:40:03 - IND: IGNORING - SRC: 1#***96000, TRG: ***16555
capifax -send fax.tif 5 01***3164 05***913488 -ident "+43 1 ***3164 99" -header "OFFICE" -loglevel 3
-------------------------------------------------------------------------------
capifax v0.5
-------------------------------------------------------------------------------
[libcapifax] 22.10.2008 10:04:09 - capifax_init(5, 3)
[libcapifax] 22.10.2008 10:04:10 - libcapifax v0.5 initialized
[libcapifax] 22.10.2008 10:04:10 - capifax_send("fax.tif", 3, 1, "01***3164", "05***913488", "+43 1 ***3164 99", "OFFICE")
[libcapifax] 22.10.2008 10:04:10 - CONNECT_REQ - 01**3164 -> 05***913488
[libcapifax] 22.10.2008 10:04:10 - CNF: CAPI_LISTEN - (0)
[libcapifax] 22.10.2008 10:04:10 - CNF: CAPI_CONNECT - (0) (PLCI: 1285)
OUTGOING FAX
Phase: 1
Connection: 0
Src-No: 01***3164
Dst-No: 05***913488
-------------------------------------------------------------------------------
[libcapifax] 22.10.2008 10:04:14 - IND: IGNORING - SRC: 05***913488, TRG: anonymous
[libcapifax] 22.10.2008 10:04:14 - IND: CAPI_CONNECT_ACTIVE - CON: 0, PLCI: 1285, NCCI: 0
[libcapifax] 22.10.2008 10:04:14 - CNF: CAPI_CONNECT_B3 - (0)
[libcapifax] 22.10.2008 10:04:14 - IND: CAPI_CONNECT_B3_ACTIVE - CON: 0, PLCI: 1285, NCCI: 132357
[libcapifax] 22.10.2008 10:04:23 - Phase B handler (0x80) DIS
[libcapifax] 22.10.2008 10:04:23 - Phase B: bit rate 14400
[libcapifax] 22.10.2008 10:04:23 - Phase B: ECM on
[libcapifax] 22.10.2008 10:04:23 - ??? Encoding Type on
SENDING FAX (START)
Phase: 2
Connection: 0
Bitrate: 14400
Encoding: 0
Bad rows: 0
Page: 1 / 0
-------------------------------------------------------------------------------
[libcapifax] 22.10.2008 10:04:43 - IND: IGNORING - SRC: 1#***96000, TRG: 069938***555
[libcapifax] 22.10.2008 10:04:44 - Phase D handler (0x8C) MCF
[libcapifax] 22.10.2008 10:04:44 - Phase D: pages transferred 1
[libcapifax] 22.10.2008 10:04:44 - Phase D: image size 1728 x 2292
[libcapifax] 22.10.2008 10:04:44 - Phase D: bad rows 0
[libcapifax] 22.10.2008 10:04:44 - Phase D: longest bad row run 0
[libcapifax] 22.10.2008 10:04:44 - Phase D: image size 19448
SENDING FAX (PAGE)
Phase: 3
Connection: 0
Bitrate: 14400
Encoding: 3
Bad rows: 0
Page: 2 / 1
-------------------------------------------------------------------------------
[libcapifax] 22.10.2008 10:04:46 - IND: CAPI_DISCONNECT_B3 - CON: 0, PLCI: 1285, NCCI: 0
[libcapifax] 22.10.2008 10:04:46 - CAPI 0x3490 - Normal call clearing
[libcapifax] 22.10.2008 10:04:46 - IND: CAPI_DISCONNECT - CON: 0, PLCI: 1285, NCCI: 0
[libcapifax] 22.10.2008 10:04:46 - sched_setscheduler error (-1)!
[libcapifax] 22.10.2008 10:04:46 - New thread policy=1, priority=2!
SENDING FAX (FAILED 13456)
Phase: 6
Connection: 0
Bitrate: 14400
Encoding: 3
Bad rows: 0
Page: 2 / 1
-------------------------------------------------------------------------------
[libcapifax] 22.10.2008 10:04:46 - capifax_close()