.titleBar { margin-bottom: 5px!important; }

capi und AVM FRITZ!Card USB v2.1

Dieses Thema im Forum "Asterisk ISDN mit CAPI (chan_capi, chan_capi_cm)" wurde erstellt von hjoerg, 22 Feb. 2005.

  1. hjoerg

    hjoerg Neuer User

    Registriert seit:
    30 Dez. 2004
    Beiträge:
    78
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    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
    
    
    
     
  2. Maik

    Maik Gesperrt

    Registriert seit:
    1 Apr. 2004
    Beiträge:
    1,778
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    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.
     
  3. hjoerg

    hjoerg Neuer User

    Registriert seit:
    30 Dez. 2004
    Beiträge:
    78
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    O.K danke...war wohl zu voreilig.

    Funzt prima !!