capi und AVM FRITZ!Card USB v2.1

hjoerg

Neuer User
Mitglied seit
30 Dez 2004
Beiträge
90
Punkte für Reaktionen
1
Punkte
8
habe einen externen isdn-adapter ( AVM FRITZ!Card USB v2.1) eingebaut und will chan_capi_0.3.5 compileren zusammen mit *1.0.5 auf einem SuSE 9.0 System.Also ich weiß nicht wo da das Problem liegt.
bei einem make kommt folgendes dabei raus

Code:
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g  -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686  -DCAPI_ES -DCAPI_GAIN -DCAPI_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO   -c -o chan_capi.o chan_capi.c
In file included from /usr/include/linux/kernelcapi.h:13,
                 from /usr/include/linux/capi.h:18,
                 from chan_capi.c:35:
/usr/include/linux/list.h:563:2: Warnung: #warning "don't include kernel headers in userspace"
gcc -shared -Xlinker -x -o chan_capi.so chan_capi.o -lcapi20
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g  -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686  -DCAPI_ES -DCAPI_GAIN -DCAPI_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO   -c -o app_capiCD.o app_capiCD.c
In file included from /usr/include/linux/kernelcapi.h:13,
                 from /usr/include/linux/capi.h:18,
                 from app_capiCD.c:28:
/usr/include/linux/list.h:563:2: Warnung: #warning "don't include kernel headers in userspace"
gcc -shared -Xlinker -x -o app_capiCD.so app_capiCD.o
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g  -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686  -DCAPI_ES -DCAPI_GAIN -DCAPI_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO   -c -o app_capiHOLD.o app_capiHOLD.c
In file included from /usr/include/linux/kernelcapi.h:13,
                 from /usr/include/linux/capi.h:18,
                 from app_capiHOLD.c:28:
/usr/include/linux/list.h:563:2: Warnung: #warning "don't include kernel headers in userspace"
gcc -shared -Xlinker -x -o app_capiHOLD.so app_capiHOLD.o
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g  -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686  -DCAPI_ES -DCAPI_GAIN -DCAPI_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO   -c -o app_capiRETRIEVE.o app_capiRETRIEVE.c
In file included from /usr/include/linux/kernelcapi.h:13,
                 from /usr/include/linux/capi.h:18,
                 from app_capiRETRIEVE.c:28:
/usr/include/linux/list.h:563:2: Warnung: #warning "don't include kernel headers in userspace"
gcc -shared -Xlinker -x -o app_capiRETRIEVE.so app_capiRETRIEVE.o
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g  -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686  -DCAPI_ES -DCAPI_GAIN -DCAPI_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO   -c -o app_capiECT.o app_capiECT.c
In file included from /usr/include/linux/kernelcapi.h:13,
                 from /usr/include/linux/capi.h:18,
                 from app_capiECT.c:29:
/usr/include/linux/list.h:563:2: Warnung: #warning "don't include kernel headers in userspace"
gcc -shared -Xlinker -x -o app_capiECT.so app_capiECT.o
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g  -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686  -DCAPI_ES -DCAPI_GAIN -DCAPI_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO   -c -o app_capiMCID.o app_capiMCID.c
In file included from /usr/include/linux/kernelcapi.h:13,
                 from /usr/include/linux/capi.h:18,
                 from app_capiMCID.c:28:
/usr/include/linux/list.h:563:2: Warnung: #warning "don't include kernel headers in userspace"
gcc -shared -Xlinker -x -o app_capiMCID.so app_capiMCID.o
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g  -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686  -DCAPI_ES -DCAPI_GAIN -DCAPI_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO   -c -o app_capiNoES.o app_capiNoES.c
In file included from /usr/include/linux/kernelcapi.h:13,
                 from /usr/include/linux/capi.h:18,
                 from app_capiNoES.c:28:
/usr/include/linux/list.h:563:2: Warnung: #warning "don't include kernel headers in userspace"
gcc -shared -Xlinker -x -o app_capiNoES.so app_capiNoES.o
rm app_capiRETRIEVE.o app_capiNoES.o app_capiCD.o app_capiMCID.o app_capiECT.o app_capiHOLD.o
 
Wo ist das Problem. Die Ausgabe sieht doch eigentlich ganz gut aus. Die warnings kannst du ignorieren. Du musst jetzt nur noch ein 'make install' machen und die config anpassen.
 
O.K danke...war wohl zu voreilig.

Funzt prima !!
 

Zurzeit aktive Besucher

Statistik des Forums

Themen
244,695
Beiträge
2,216,697
Mitglieder
371,316
Neuestes Mitglied
realbluethunder
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.