chan_capi o.3.5

boxana

Neuer User
Mitglied seit
16 Aug 2004
Beiträge
55
Punkte für Reaktionen
0
Punkte
0
wenn ich make eingebe bekomme ich meldungen!
warning "don´t include kernel in userspace
kann mir da jemad weiterhelfen bitte?

MfG Schroer
 
Moin..

Die Meldungen hab ich auch. Und wenn die Asterisk die Module findet fehlen ihm irgendwelche Funktionen.

Wenn jemand eine Idee hat, wäre ich auch dankbar..


MfG,
Karl
 
hab mal alles eingegeben!

Code:
> make
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:604:2: warning: #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:604:2: warning: #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:604:2: warning: #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:604:2: warning: #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:604:2: warning: #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:604:2: warning: #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:604:2: warning: #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
[EDIT]von Hupe: Im Code-Block ist das etwas übersichtlicher[/EDIT]
 
Leider funktionieren die Module dann nicht.

Hat jemand eine Idee?


MfG,
Karl
 

Zurzeit aktive Besucher

Statistik des Forums

Themen
245,353
Beiträge
2,230,002
Mitglieder
372,288
Neuestes Mitglied
Flamy91
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.