bijendra,Nepal modemdata smartlink netodragon modem ven_10b9&dev_5459 subsys sil26, Fedora Core release 4 (Stentz)Kernel kernel 2.6.11-1.1369_FC4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



subject:bijendra,Nepal modemdata smartlink netodragon modem
ven_10b9&dev_5459 subsys sil26, Fedora Core release 4 (Stentz)Kernel  kernel
2.6.11-1.1369_FC4

Dear sir,

hardware specification:

intel pentium4 845 glly
modem netodragon smartlink frontech modem (pci bus 1,device 1,function 0)as
apear in winxp

OEM string:
PCIVEN_10B9 & DEV_5459 & SUBSYS_545910A5 & REV_00 4 & 2AF9ED5 & 0 & 08F0
diaognostics querry modem
ATI3	Frontech SIL -26 (pri) on NetoDragon

>From sofmodem.txt by scan modem utility,
SIL26   SML          SML, slamr driver plus slmodemd

Here I downloaded slamr driver(slmodem 2.9.9 epre1.tar.gz),
slmodemd2.9.11.20051009gcc4.tar.gz and incase of SML smartlink object file.o
I will download (possibly I don't need)because I already have netodragon
object file.o(amrmo.o 373bytes slamrmo.o 380 bytes)and whole tar file
slmodem-2.9.10_netodragon.tar.gz( which includes directories drivers,modem
patches,scripts and files changes, copying, makefile, readme) from
www.netodragon.com  download site.How to merge precompiled netodragon *.o
object file into slmodem2.9.9 ?

I)First case:Now I untar slmodem299epre1 to /home/modem folder and start
make clean, make,make all ,make install the output is messy(autput:-
makeuname.txt file attached).
uname -r produces 2.6.11-1.1369_FC4 that is I have extra version mismatched
problem.
II)Second case:My /usr/include doesn't have every file & uname -r dir is
mismatched so I compile with $kernel_dir =
/usr/src/kernels/2.6.11-1.1369_FC4-i686/ where there is adequate files.Is
this path correct ?Then make clean, make ,make install.
uname -r produces 2.6.11-1.1369_FC4 that is I have extra version mismatched
problem.
but as I put $kerne_dir defined the compilation should have gone
smoothly.The output attached as make2.txt.

bijendra
bijendra@xxxxxxxxxxx




________________________________________________
Message sent using enet Mail

 Only plain text email is forwarded by the  DISCUSS@xxxxxxxxxxxxx List Server.
 Do use the following as the email Subject Line:
           SomeName, YourCountry Fedora Core release 4 (Stentz)
Kernel  kernel 2.6.11-1.1369_FC4 
 This will alert cogent experts, and  distinguish cases in the Archives.
 YourCountry will enable Country Code guidance.
 Occassionally responses are blocked by an Internet Provider mail filters.
 So in a day, also check the Archived responses at http://www.linmodems.org .
 Local Linux experts can be found through: http://www.linux.org/groups/index.html
--------------------------  System information ----------------------------
 Fedora Core release 4 (Stentz)
Kernel 
Linux version 2.6.11-1.1369_FC4 (bhcompile@xxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.0.0 20050525 (Red Hat 4.0.0-9)) #1 Thu Jun 2 22:55:56 EDT 2005
 scanModem update of:  2006_October_25


 USB modem not detected.

Modem or host audio card candidates have firmware information:
 PCI slot      PCI ID   SubsystemID  Name
 ----------   ---------  ---------   --------------
01:01.0  10b9:5459  10a5:5459  Modem: ALi Corporation SmartLink SmartPCI561 56K Modem

 Modem interrupt assignment and sharing: 
 11:      23048          XT-PIC  Intel 82801DB-ICH4, uhci_hcd:usb2, i915@pci:0000:00:02.0

 --- Bootup diagnositcs for 01:01.0 ----
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:01:01.0[A] -> Link [LNKG] -> GSI 11 (level, low) -> IRQ 11
ttyS47 at I/O 0xd828 (irq = 11) is a 8250
ttyS50 at I/O 0xd840 (irq = 11) is a 8250

 Completed candidate modem analyses.

 The base of the UDEV device file system is: /dev/.udevdb

 Versions adequately match for the compiler installed: 4.0.0
             and the compiler used in kernel assembly: 4.0.0


 
 Compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.0
   kernel_headers base folder /lib/modules/2.6.11-1.1369_FC4/build


Checking pppd properties:
	-r-xr-xr-x  1 root root 250892 Nov  2  2004 /usr/sbin/pppd

In case of an "error 17" "serial loopback" problem, see:
    http://phep2.technion.ac.il/linmodems/archive-sixth/msg02637.html

To enable dialout without Root permission do:
	$ su - root  (not for Ubuntu)
         chmod a+x /usr/sbin/pppd
or under Ubuntu related Linuxes
	 chmod a+x /usr/sbin/pppd

Checking settings of:	/etc/ppp/options
lock


 Don't worry about the following, it is for the experts
 should trouble shooting be necessary.
==========================================================

 Checking for modem support lines:
 --------------------------------------
     /device/modem symbolic link:   
slmodemd created symbolic link /dev/ttySL0:  
     Within /etc/udev/ files:

     Within /etc/modprobe.conf files:

     Within any ancient /etc/devfs files:

     Within ancient kernel 2.4.n /etc/module.conf files:

--------- end modem support lines --------

[root@localhost slmodem299epre1]# make
make -C modem all
make[1]: Entering directory `/home/slmodem299epre1/modem'
rebuild profile...
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_main.o -c modem_main.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_cmdline.o -c modem_cmdline.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem.o -c modem.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_datafile.o -c modem_datafile .c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_at.o -c modem_at.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_timer.o -c modem_timer.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_pack.o -c modem_pack.c
modem_pack.c: In function â??modem_async_get_bitsâ??:
modem_pack.c:100: warning: pointer targets in passing argument 2 of â??m->get_char sâ?? differ in signedness
modem_pack.c: In function â??modem_async_put_bitsâ??:
modem_pack.c:148: warning: pointer targets in passing argument 2 of â??m->put_char sâ?? differ in signedness
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_ec.o -c modem_ec.c
modem_ec.c: In function â??tx_infoâ??:
modem_ec.c:723: warning: pointer targets in passing argument 2 of â??l->modem->get _charsâ?? differ in signedness
modem_ec.c: In function â??push_rest_dataâ??:
modem_ec.c:811: warning: pointer targets in passing argument 2 of â??l->modem->put _charsâ?? differ in signedness
modem_ec.c: In function â??rx_infoâ??:
modem_ec.c:860: warning: pointer targets in passing argument 2 of â??l->modem->put _charsâ?? differ in signedness
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_comp.o -c modem_comp.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_param.o -c modem_param.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_debug.o -c modem_debug.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o homolog_data.o -c homolog_data.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o dp_sinus.o -c dp_sinus.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o dp_dummy.o -c dp_dummy.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o sysdep_common.o -c sysdep_common.c
gcc -o slmodemd modem_main.o modem_cmdline.o modem.o modem_datafile.o modem_at.o  modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_test.o -c modem_test.c
gcc -o modem_test modem_test.o modem_cmdline.o modem.o modem_datafile.o modem_at .o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug. o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o
make[1]: Leaving directory `/home/slmodem299epre1/modem'
make -C drivers KERNEL_DIR=/lib/modules/2.6.11-1.1369_FC4/build
make[1]: Entering directory `/home/slmodem299epre1/drivers'
cc -I/lib/modules/2.6.11-1.1369_FC4/build/include -o kernel-ver kernel-ver.c
make all KERNEL_VER=2.4.20
make[2]: Entering directory `/home/slmodem299epre1/drivers'
cc -Wall -pipe -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -D MODVERSIONS --include /lib/modules/2.6.11-1.1369_FC4/build/include/linux/modvers ions.h -I/lib/modules/2.6.11-1.1369_FC4/build/include -I. -I./../modem  -o amrmo _init.o -c amrmo_init.c
cc1: error: /lib/modules/2.6.11-1.1369_FC4/build/include/linux/modversions.h: No  such file or directory
In file included from amrmo_init.c:46:
/usr/include/linux/config.h:5:2: error: #error Incorrectly using glibc headers f or a kernel module
In file included from /usr/include/linux/interrupt.h:9,
                 from amrmo_init.c:52:
/usr/include/asm/bitops.h:327:2: warning: #warning This includefile is not avail able on all architectures.
/usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers in users pace: atomicity not guaranteed
In file included from amrmo_init.c:52:
/usr/include/linux/interrupt.h:12:25: error: asm/hardirq.h: No such file or dire ctory
/usr/include/linux/interrupt.h:13:25: error: asm/softirq.h: No such file or dire ctory
amrmo_init.c:55:25: error: asm/uaccess.h: No such file or directory
amrmo_init.c:56:35: error: linux/devfs_fs_kernel.h: No such file or directory
amrmo_init.c:171: error: syntax error before â??spinlock_tâ??
amrmo_init.c:171: warning: no semicolon at end of struct or union
amrmo_init.c:172: warning: type defaults to â??intâ?? in declaration of â??waitâ??
amrmo_init.c:172: warning: data definition has no type or storage class
amrmo_init.c:175: error: syntax error before â??}â?? token
amrmo_init.c:179: error: syntax error before â??externâ??
amrmo_init.c:180: error: syntax error before â??externâ??
amrmo_init.c:181: error: syntax error before â??externâ??
amrmo_init.c:182: error: syntax error before â??externâ??
amrmo_init.c:183: error: syntax error before â??externâ??
amrmo_init.c:184: error: syntax error before â??externâ??
amrmo_init.c:185: error: syntax error before â??externâ??
amrmo_init.c:186: error: syntax error before â??externâ??
amrmo_init.c:187: error: syntax error before â??externâ??
amrmo_init.c:188: error: syntax error before â??externâ??
amrmo_init.c:215: error: array type has incomplete element type
amrmo_init.c:217: error: â??PCI_ANY_IDâ?? undeclared here (not in a function)
amrmo_init.c:278: error: invalid application of â??sizeofâ?? to incomplete type â??str uct pci_device_idâ??
amrmo_init.c:293: error: syntax error before â??va_listâ??
amrmo_init.c: In function â??amrmo_vprintfâ??:
amrmo_init.c:296: error: storage size of â??tvâ?? isnâ??t known
amrmo_init.c:300: error: â??fmtâ?? undeclared (first use in this function)
amrmo_init.c:300: error: (Each undeclared identifier is reported only once
amrmo_init.c:300: error: for each function it appears in.)
amrmo_init.c:300: warning: implicit declaration of function â??strlenâ??
amrmo_init.c:300: warning: incompatible implicit declaration of built-in functio n â??strlenâ??
amrmo_init.c:302: warning: implicit declaration of function â??do_gettimeofdayâ??
amrmo_init.c:306: warning: implicit declaration of function â??sprintfâ??
amrmo_init.c:306: warning: incompatible implicit declaration of built-in functio n â??sprintfâ??
amrmo_init.c:307: warning: implicit declaration of function â??in_interruptâ??
amrmo_init.c:310: warning: implicit declaration of function â??vsprintfâ??
amrmo_init.c:310: error: â??argsâ?? undeclared (first use in this function)
amrmo_init.c:316: warning: implicit declaration of function â??printkâ??
amrmo_init.c:316: error: â??KERN_DEBUGâ?? undeclared (first use in this function)
amrmo_init.c:316: error: syntax error before string constant
amrmo_init.c:296: warning: unused variable â??tvâ??
amrmo_init.c: At top level:
amrmo_init.c:320: error: syntax error before â??intâ??
amrmo_init.c: In function â??amrmo_debug_printfâ??:
amrmo_init.c:323: error: â??va_listâ?? undeclared (first use in this function)
amrmo_init.c:323: error: syntax error before â??argsâ??
amrmo_init.c:325: warning: implicit declaration of function â??va_startâ??
amrmo_init.c:325: error: â??argsâ?? undeclared (first use in this function)
amrmo_init.c:327: warning: implicit declaration of function â??va_endâ??
amrmo_init.c: At top level:
amrmo_init.c:337: error: syntax error before â??voidâ??
amrmo_init.c: In function â??amrmo_update_statusâ??:
amrmo_init.c:341: warning: implicit declaration of function â??spin_lock_irqsaveâ??
amrmo_init.c:341: error: dereferencing pointer to incomplete type
amrmo_init.c:342: error: dereferencing pointer to incomplete type
amrmo_init.c:343: warning: implicit declaration of function â??wake_upâ??
amrmo_init.c:343: error: dereferencing pointer to incomplete type
amrmo_init.c:344: warning: implicit declaration of function â??spin_unlock_irqrest oreâ??
amrmo_init.c:344: error: dereferencing pointer to incomplete type
amrmo_init.c: At top level:
amrmo_init.c:347: warning: â??struct fileâ?? declared inside parameter list
amrmo_init.c:347: warning: its scope is only this definition or declaration, whi ch is probably not what you want
amrmo_init.c: In function â??amrmo_readâ??:
amrmo_init.c:349: error: dereferencing pointer to incomplete type
amrmo_init.c:352: warning: implicit declaration of function â??access_okâ??
amrmo_init.c:352: error: â??VERIFY_READâ?? undeclared (first use in this function)
amrmo_init.c:353: error: â??EFAULTâ?? undeclared (first use in this function)
amrmo_init.c:354: error: dereferencing pointer to incomplete type
amrmo_init.c:355: error: dereferencing pointer to incomplete type
amrmo_init.c:356: error: dereferencing pointer to incomplete type
amrmo_init.c:356: error: dereferencing pointer to incomplete type
amrmo_init.c:357: warning: implicit declaration of function â??copy_to_userâ??
amrmo_init.c:357: error: dereferencing pointer to incomplete type
amrmo_init.c: At top level:
amrmo_init.c:362: warning: â??struct fileâ?? declared inside parameter list
amrmo_init.c: In function â??amrmo_writeâ??:
amrmo_init.c:364: error: dereferencing pointer to incomplete type
amrmo_init.c:367: error: â??VERIFY_WRITEâ?? undeclared (first use in this function)
amrmo_init.c:368: error: â??EFAULTâ?? undeclared (first use in this function)
amrmo_init.c:369: error: dereferencing pointer to incomplete type
amrmo_init.c:370: error: dereferencing pointer to incomplete type
amrmo_init.c:371: warning: implicit declaration of function â??copy_from_userâ??
amrmo_init.c:371: error: dereferencing pointer to incomplete type
amrmo_init.c:373: error: dereferencing pointer to incomplete type
amrmo_init.c:373: error: dereferencing pointer to incomplete type
amrmo_init.c: At top level:
amrmo_init.c:378: error: syntax error before â??poll_tableâ??
amrmo_init.c: In function â??amrmo_pollâ??:
amrmo_init.c:380: error: â??fileâ?? undeclared (first use in this function)
amrmo_init.c:383: warning: implicit declaration of function â??poll_waitâ??
amrmo_init.c:383: error: dereferencing pointer to incomplete type
amrmo_init.c:384: error: dereferencing pointer to incomplete type
amrmo_init.c:385: error: dereferencing pointer to incomplete type
amrmo_init.c:387: error: dereferencing pointer to incomplete type
amrmo_init.c:389: error: dereferencing pointer to incomplete type
amrmo_init.c:391: error: dereferencing pointer to incomplete type
amrmo_init.c:393: error: dereferencing pointer to incomplete type
amrmo_init.c: At top level:
amrmo_init.c:399: warning: â??struct fileâ?? declared inside parameter list
amrmo_init.c:399: warning: â??struct inodeâ?? declared inside parameter list
amrmo_init.c: In function â??amrmo_ioctlâ??:
amrmo_init.c:401: error: dereferencing pointer to incomplete type
amrmo_init.c:405: error: â??KERN_DEBUGâ?? undeclared (first use in this function)
amrmo_init.c:405: error: syntax error before string constant
amrmo_init.c:409: error: dereferencing pointer to incomplete type
amrmo_init.c:410: error: dereferencing pointer to incomplete type
amrmo_init.c:411: error: dereferencing pointer to incomplete type
amrmo_init.c:412: error: dereferencing pointer to incomplete type
amrmo_init.c:413: warning: implicit declaration of function â??put_userâ??
amrmo_init.c:414: error: â??EFAULTâ?? undeclared (first use in this function)
amrmo_init.c:417: error: dereferencing pointer to incomplete type
amrmo_init.c:418: error: dereferencing pointer to incomplete type
amrmo_init.c:421: error: dereferencing pointer to incomplete type
amrmo_init.c:422: error: dereferencing pointer to incomplete type
amrmo_init.c:425: error: dereferencing pointer to incomplete type
amrmo_init.c:427: error: â??EINVALâ?? undeclared (first use in this function)
amrmo_init.c: At top level:
amrmo_init.c:430: warning: â??struct fileâ?? declared inside parameter list
amrmo_init.c:430: warning: â??struct inodeâ?? declared inside parameter list
amrmo_init.c: In function â??amrmo_openâ??:
amrmo_init.c:433: warning: implicit declaration of function â??MINORâ??
amrmo_init.c:433: error: dereferencing pointer to incomplete type
amrmo_init.c:435: error: â??ENODEVâ?? undeclared (first use in this function)
amrmo_init.c:439: error: â??KERN_DEBUGâ?? undeclared (first use in this function)
amrmo_init.c:439: error: syntax error before string constant
amrmo_init.c:440: error: dereferencing pointer to incomplete type
amrmo_init.c:441: error: â??EBUSYâ?? undeclared (first use in this function)
amrmo_init.c:442: error: dereferencing pointer to incomplete type
amrmo_init.c:443: error: dereferencing pointer to incomplete type
amrmo_init.c:445: warning: implicit declaration of function â??atomic_incâ??
amrmo_init.c:445: error: â??__this_moduleâ?? undeclared (first use in this function)
amrmo_init.c:445: warning: value computed is not used
amrmo_init.c:447: warning: implicit declaration of function â??init_waitqueue_head â??
amrmo_init.c:447: error: dereferencing pointer to incomplete type
amrmo_init.c: At top level:
amrmo_init.c:451: warning: â??struct fileâ?? declared inside parameter list
amrmo_init.c:451: warning: â??struct inodeâ?? declared inside parameter list
amrmo_init.c: In function â??amrmo_releaseâ??:
amrmo_init.c:453: error: dereferencing pointer to incomplete type
amrmo_init.c:454: error: â??KERN_DEBUGâ?? undeclared (first use in this function)
amrmo_init.c:454: error: syntax error before string constant
amrmo_init.c:455: error: dereferencing pointer to incomplete type
amrmo_init.c:456: error: dereferencing pointer to incomplete type
amrmo_init.c:457: error: dereferencing pointer to incomplete type
amrmo_init.c:458: error: dereferencing pointer to incomplete type
amrmo_init.c:460: warning: implicit declaration of function â??atomic_decâ??
amrmo_init.c:460: error: â??__this_moduleâ?? undeclared (first use in this function)
amrmo_init.c:460: warning: value computed is not used
amrmo_init.c: At top level:
amrmo_init.c:465: error: variable â??amrmo_fopsâ?? has initializer but incomplete ty pe
amrmo_init.c:466: error: unknown field â??ownerâ?? specified in initializer
amrmo_init.c:466: error: â??__this_moduleâ?? undeclared here (not in a function)
amrmo_init.c:466: warning: excess elements in struct initializer
amrmo_init.c:466: warning: (near initialization for â??amrmo_fopsâ??)
amrmo_init.c:467: error: unknown field â??llseekâ?? specified in initializer
amrmo_init.c:467: error: â??no_llseekâ?? undeclared here (not in a function)
amrmo_init.c:467: warning: excess elements in struct initializer
amrmo_init.c:467: warning: (near initialization for â??amrmo_fopsâ??)
amrmo_init.c:468: error: unknown field â??readâ?? specified in initializer
amrmo_init.c:468: warning: excess elements in struct initializer
amrmo_init.c:468: warning: (near initialization for â??amrmo_fopsâ??)
amrmo_init.c:469: error: unknown field â??writeâ?? specified in initializer
amrmo_init.c:469: warning: excess elements in struct initializer
amrmo_init.c:469: warning: (near initialization for â??amrmo_fopsâ??)
amrmo_init.c:470: error: unknown field â??pollâ?? specified in initializer
amrmo_init.c:470: warning: excess elements in struct initializer
amrmo_init.c:470: warning: (near initialization for â??amrmo_fopsâ??)
amrmo_init.c:471: error: unknown field â??ioctlâ?? specified in initializer
amrmo_init.c:471: warning: excess elements in struct initializer
amrmo_init.c:471: warning: (near initialization for â??amrmo_fopsâ??)
amrmo_init.c:472: error: unknown field â??openâ?? specified in initializer
amrmo_init.c:472: warning: excess elements in struct initializer
amrmo_init.c:472: warning: (near initialization for â??amrmo_fopsâ??)
amrmo_init.c:473: error: unknown field â??releaseâ?? specified in initializer
amrmo_init.c:473: warning: excess elements in struct initializer
amrmo_init.c:473: warning: (near initialization for â??amrmo_fopsâ??)
amrmo_init.c: In function â??amrmo_pci_interruptâ??:
amrmo_init.c:487: error: dereferencing pointer to incomplete type
amrmo_init.c: In function â??amrmo_pci_probeâ??:
amrmo_init.c:505: error: â??KERN_INFOâ?? undeclared (first use in this function)
amrmo_init.c:505: error: syntax error before string constant
amrmo_init.c:509: warning: implicit declaration of function â??pci_enable_deviceâ??
amrmo_init.c:510: error: dereferencing pointer to incomplete type
amrmo_init.c:511: error: â??ENODEVâ?? undeclared (first use in this function)
amrmo_init.c:513: warning: implicit declaration of function â??kmallocâ??
amrmo_init.c:513: error: dereferencing pointer to incomplete type
amrmo_init.c:513: error: â??GFP_KERNELâ?? undeclared (first use in this function)
amrmo_init.c:513: warning: assignment makes pointer from integer without a cast
amrmo_init.c:515: warning: implicit declaration of function â??pci_disable_deviceâ??
amrmo_init.c:516: error: â??ENOMEMâ?? undeclared (first use in this function)
amrmo_init.c:518: warning: implicit declaration of function â??memsetâ??
amrmo_init.c:518: warning: incompatible implicit declaration of built-in functio n â??memsetâ??
amrmo_init.c:518: error: dereferencing pointer to incomplete type
amrmo_init.c:520: error: dereferencing pointer to incomplete type
amrmo_init.c:520: error: dereferencing pointer to incomplete type
amrmo_init.c:521: error: dereferencing pointer to incomplete type
amrmo_init.c:521: error: dereferencing pointer to incomplete type
amrmo_init.c:522: error: dereferencing pointer to incomplete type
amrmo_init.c:523: error: dereferencing pointer to incomplete type
amrmo_init.c:523: error: dereferencing pointer to incomplete type
amrmo_init.c:524: warning: implicit declaration of function â??pci_resource_flagsâ??
amrmo_init.c:524: error: â??IORESOURCE_MEMâ?? undeclared (first use in this function )
amrmo_init.c:525: warning: implicit declaration of function â??pci_resource_startâ??
amrmo_init.c:526: warning: implicit declaration of function â??pci_resource_lenâ??
amrmo_init.c:527: error: dereferencing pointer to incomplete type
amrmo_init.c:530: error: dereferencing pointer to incomplete type
amrmo_init.c:535: error: dereferencing pointer to incomplete type
amrmo_init.c:536: error: dereferencing pointer to incomplete type
amrmo_init.c:541: warning: implicit declaration of function â??spin_lock_initâ??
amrmo_init.c:541: error: dereferencing pointer to incomplete type
amrmo_init.c:542: error: dereferencing pointer to incomplete type
amrmo_init.c:544: error: dereferencing pointer to incomplete type
amrmo_init.c:544: error: dereferencing pointer to incomplete type
amrmo_init.c:545: error: dereferencing pointer to incomplete type
amrmo_init.c:546: error: â??KERN_ERRâ?? undeclared (first use in this function)
amrmo_init.c:546: error: syntax error before string constant
amrmo_init.c:548: warning: implicit declaration of function â??kfreeâ??
amrmo_init.c:552: warning: implicit declaration of function â??pci_set_masterâ??
amrmo_init.c:554: warning: implicit declaration of function â??pci_request_regions â??
amrmo_init.c:554: error: dereferencing pointer to incomplete type
amrmo_init.c:556: error: syntax error before string constant
amrmo_init.c:557: error: dereferencing pointer to incomplete type
amrmo_init.c:563: error: dereferencing pointer to incomplete type
amrmo_init.c:563: warning: implicit declaration of function â??ioremapâ??
amrmo_init.c:564: error: dereferencing pointer to incomplete type
amrmo_init.c:565: error: syntax error before string constant
amrmo_init.c:566: warning: implicit declaration of function â??pci_release_regions â??
amrmo_init.c:567: error: dereferencing pointer to incomplete type
amrmo_init.c:570: error: â??EIOâ?? undeclared (first use in this function)
amrmo_init.c:574: warning: implicit declaration of function â??request_irqâ??
amrmo_init.c:574: error: dereferencing pointer to incomplete type
amrmo_init.c:574: error: â??SA_SHIRQâ?? undeclared (first use in this function)
amrmo_init.c:575: error: dereferencing pointer to incomplete type
amrmo_init.c:577: error: syntax error before string constant
amrmo_init.c:578: error: dereferencing pointer to incomplete type
amrmo_init.c:579: warning: implicit declaration of function â??iounmapâ??
amrmo_init.c:579: error: dereferencing pointer to incomplete type
amrmo_init.c:581: error: dereferencing pointer to incomplete type
amrmo_init.c:587: error: dereferencing pointer to incomplete type
amrmo_init.c:589: error: syntax error before string constant
amrmo_init.c:590: warning: implicit declaration of function â??free_irqâ??
amrmo_init.c:590: error: dereferencing pointer to incomplete type
amrmo_init.c:591: error: dereferencing pointer to incomplete type
amrmo_init.c:592: error: dereferencing pointer to incomplete type
amrmo_init.c:594: error: dereferencing pointer to incomplete type
amrmo_init.c:602: error: dereferencing pointer to incomplete type
amrmo_init.c:608: error: â??EBUSYâ?? undeclared (first use in this function)
amrmo_init.c:612: error: â??KERN_DEBUGâ?? undeclared (first use in this function)
amrmo_init.c:612: error: syntax error before string constant
amrmo_init.c:615: error: syntax error before string constant
amrmo_init.c:618: warning: implicit declaration of function â??pci_set_drvdataâ??
amrmo_init.c:635: error: dereferencing pointer to incomplete type
amrmo_init.c:636: error: dereferencing pointer to incomplete type
amrmo_init.c:637: error: dereferencing pointer to incomplete type
amrmo_init.c:639: error: dereferencing pointer to incomplete type
amrmo_init.c: In function â??amrmo_pci_removeâ??:
amrmo_init.c:647: warning: implicit declaration of function â??pci_get_drvdataâ??
amrmo_init.c:647: warning: initialization makes pointer from integer without a c ast
amrmo_init.c:648: error: â??KERN_DEBUGâ?? undeclared (first use in this function)
amrmo_init.c:648: error: syntax error before string constant
amrmo_init.c:664: error: dereferencing pointer to incomplete type
amrmo_init.c:665: error: dereferencing pointer to incomplete type
amrmo_init.c:666: error: dereferencing pointer to incomplete type
amrmo_init.c:667: error: dereferencing pointer to incomplete type
amrmo_init.c:668: error: dereferencing pointer to incomplete type
amrmo_init.c:670: error: dereferencing pointer to incomplete type
amrmo_init.c: At top level:
amrmo_init.c:678: error: variable â??amrmo_pci_driverâ?? has initializer but incompl ete type
amrmo_init.c:679: error: unknown field â??nameâ?? specified in initializer
amrmo_init.c:679: warning: excess elements in struct initializer
amrmo_init.c:679: warning: (near initialization for â??amrmo_pci_driverâ??)
amrmo_init.c:680: error: unknown field â??id_tableâ?? specified in initializer
amrmo_init.c:680: warning: excess elements in struct initializer
amrmo_init.c:680: warning: (near initialization for â??amrmo_pci_driverâ??)
amrmo_init.c:681: error: unknown field â??probeâ?? specified in initializer
amrmo_init.c:681: warning: excess elements in struct initializer
amrmo_init.c:681: warning: (near initialization for â??amrmo_pci_driverâ??)
amrmo_init.c:682: error: unknown field â??removeâ?? specified in initializer
amrmo_init.c:682: warning: excess elements in struct initializer
amrmo_init.c:682: warning: (near initialization for â??amrmo_pci_driverâ??)
amrmo_init.c: In function â??amrmo_initâ??:
amrmo_init.c:703: warning: implicit declaration of function â??pci_presentâ??
amrmo_init.c:704: error: â??ENODEVâ?? undeclared (first use in this function)
amrmo_init.c:707: error: â??KERN_INFOâ?? undeclared (first use in this function)
amrmo_init.c:707: error: syntax error before string constant
amrmo_init.c:714: warning: implicit declaration of function â??pci_for_each_devâ??
amrmo_init.c:714: error: syntax error before â??{â?? token
amrmo_init.c:701: warning: unused variable â??errâ??
amrmo_init.c: At top level:
amrmo_init.c:724: error: syntax error before â??ifâ??
amrmo_init.c: In function â??amrmo_exitâ??:
amrmo_init.c:777: error: â??KERN_DEBUGâ?? undeclared (first use in this function)
amrmo_init.c:777: error: syntax error before string constant
amrmo_init.c:778: warning: implicit declaration of function â??unregister_chrdevâ??
amrmo_init.c:779: warning: implicit declaration of function â??pci_unregister_driv erâ??
amrmo_init.c:789: confused by earlier errors, bailing out
make[2]: *** [amrmo_init.o] Error 1
make[2]: Leaving directory `/home/slmodem299epre1/drivers'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/slmodem299epre1/drivers'
make: *** [drivers] Error 2
[root@localhost slmodem299epre1]# make clean
make -C modem clean &&  make -C drivers clean &&  echo "done."
make[1]: Entering directory `/home/slmodem299epre1/modem'
rm -f slmodemd modem_test modem_main.o modem_cmdline.o modem_test.o modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o sysdep_common.o
rm -f *~ *.orig *.rej
make[1]: Leaving directory `/home/slmodem299epre1/modem'
make[1]: Entering directory `/home/slmodem299epre1/drivers'
rm -f kernel-ver slamr.o slusb.o slamr.ko slusb.ko *st7554.o amrmo_init.o sysdep_amr.o *.mod.* .*.cmd *~
rm -f -r .tmp_versions
make[1]: Leaving directory `/home/slmodem299epre1/drivers'
done.
[root@localhost slmodem299epre1]# make
make -C modem all
make[1]: Entering directory `/home/slmodem299epre1/modem'
make[1]: Leaving directory `/home/slmodem299epre1/modem'
make -C drivers KERNEL_DIR=/lib/modules/2.6.11-1.1369_FC4/build
make[1]: Entering directory `/home/slmodem299epre1/drivers'
cc -I/lib/modules/2.6.11-1.1369_FC4/build/include -o kernel-ver kernel-ver.c
make all KERNEL_VER=2.4.20
make[2]: Entering directory `/home/slmodem299epre1/drivers'
cc -Wall -pipe -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS --include /lib/modules/2.6.11-1.1369_FC4/build/include/linux/modversions.h -I/lib/modules/2.6.11-1.1369_FC4/build/include -I. -I./../modem  -o amrmo_init.o -c amrmo_init.c
cc1: error: /lib/modules/2.6.11-1.1369_FC4/build/include/linux/modversions.h: No such file or directory
In file included from amrmo_init.c:46:
/usr/include/linux/config.h:5:2: error: #error Incorrectly using glibc headers for a kernel module
In file included from /usr/include/linux/interrupt.h:9,
                 from amrmo_init.c:52:
/usr/include/asm/bitops.h:327:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers in userspace: atomicity not guaranteed
In file included from amrmo_init.c:52:
/usr/include/linux/interrupt.h:12:25: error: asm/hardirq.h: No such file or directory
/usr/include/linux/interrupt.h:13:25: error: asm/softirq.h: No such file or directory
amrmo_init.c:55:25: error: asm/uaccess.h: No such file or directory
amrmo_init.c:56:35: error: linux/devfs_fs_kernel.h: No such file or directory
amrmo_init.c:171: error: syntax error before â??spinlock_tâ??
amrmo_init.c:171: warning: no semicolon at end of struct or union
amrmo_init.c:172: warning: type defaults to â??intâ?? in declaration of â??waitâ??
amrmo_init.c:172: warning: data definition has no type or storage class
amrmo_init.c:175: error: syntax error before â??}â?? token
amrmo_init.c:179: error: syntax error before â??externâ??
amrmo_init.c:180: error: syntax error before â??externâ??
amrmo_init.c:181: error: syntax error before â??externâ??
amrmo_init.c:182: error: syntax error before â??externâ??
amrmo_init.c:183: error: syntax error before â??externâ??
amrmo_init.c:184: error: syntax error before â??externâ??
amrmo_init.c:185: error: syntax error before â??externâ??
amrmo_init.c:186: error: syntax error before â??externâ??
amrmo_init.c:187: error: syntax error before â??externâ??
amrmo_init.c:188: error: syntax error before â??externâ??
amrmo_init.c:215: error: array type has incomplete element type
amrmo_init.c:217: error: â??PCI_ANY_IDâ?? undeclared here (not in a function)
amrmo_init.c:278: error: invalid application of â??sizeofâ?? to incomplete type â??struct pci_device_idâ??
amrmo_init.c:293: error: syntax error before â??va_listâ??
amrmo_init.c: In function â??amrmo_vprintfâ??:
amrmo_init.c:296: error: storage size of â??tvâ?? isnâ??t known
amrmo_init.c:300: error: â??fmtâ?? undeclared (first use in this function)
amrmo_init.c:300: error: (Each undeclared identifier is reported only once
amrmo_init.c:300: error: for each function it appears in.)
amrmo_init.c:300: warning: implicit declaration of function â??strlenâ??
amrmo_init.c:300: warning: incompatible implicit declaration of built-in function â??strlenâ??
amrmo_init.c:302: warning: implicit declaration of function â??do_gettimeofdayâ??
amrmo_init.c:306: warning: implicit declaration of function â??sprintfâ??
amrmo_init.c:306: warning: incompatible implicit declaration of built-in function â??sprintfâ??
amrmo_init.c:307: warning: implicit declaration of function â??in_interruptâ??
amrmo_init.c:310: warning: implicit declaration of function â??vsprintfâ??
amrmo_init.c:310: error: â??argsâ?? undeclared (first use in this function)
amrmo_init.c:316: warning: implicit declaration of function â??printkâ??
amrmo_init.c:316: error: â??KERN_DEBUGâ?? undeclared (first use in this function)
amrmo_init.c:316: error: syntax error before string constant
amrmo_init.c:296: warning: unused variable â??tvâ??
amrmo_init.c: At top level:
amrmo_init.c:320: error: syntax error before â??intâ??
amrmo_init.c: In function â??amrmo_debug_printfâ??:
amrmo_init.c:323: error: â??va_listâ?? undeclared (first use in this function)
amrmo_init.c:323: error: syntax error before â??argsâ??
amrmo_init.c:325: warning: implicit declaration of function â??va_startâ??
amrmo_init.c:325: error: â??argsâ?? undeclared (first use in this function)
amrmo_init.c:327: warning: implicit declaration of function â??va_endâ??
amrmo_init.c: At top level:
amrmo_init.c:337: error: syntax error before â??voidâ??
amrmo_init.c: In function â??amrmo_update_statusâ??:
amrmo_init.c:341: warning: implicit declaration of function â??spin_lock_irqsaveâ??
amrmo_init.c:341: error: dereferencing pointer to incomplete type
amrmo_init.c:342: error: dereferencing pointer to incomplete type
amrmo_init.c:343: warning: implicit declaration of function â??wake_upâ??
amrmo_init.c:343: error: dereferencing pointer to incomplete type
amrmo_init.c:344: warning: implicit declaration of function â??spin_unlock_irqrestoreâ??
amrmo_init.c:344: error: dereferencing pointer to incomplete type
amrmo_init.c: At top level:
amrmo_init.c:347: warning: â??struct fileâ?? declared inside parameter list
amrmo_init.c:347: warning: its scope is only this definition or declaration, which is probably not what you want
amrmo_init.c: In function â??amrmo_readâ??:
amrmo_init.c:349: error: dereferencing pointer to incomplete type
amrmo_init.c:352: warning: implicit declaration of function â??access_okâ??
amrmo_init.c:352: error: â??VERIFY_READâ?? undeclared (first use in this function)
amrmo_init.c:353: error: â??EFAULTâ?? undeclared (first use in this function)
amrmo_init.c:354: error: dereferencing pointer to incomplete type
amrmo_init.c:355: error: dereferencing pointer to incomplete type
amrmo_init.c:356: error: dereferencing pointer to incomplete type
amrmo_init.c:356: error: dereferencing pointer to incomplete type
amrmo_init.c:357: warning: implicit declaration of function â??copy_to_userâ??
amrmo_init.c:357: error: dereferencing pointer to incomplete type
amrmo_init.c: At top level:
amrmo_init.c:362: warning: â??struct fileâ?? declared inside parameter list
amrmo_init.c: In function â??amrmo_writeâ??:
amrmo_init.c:364: error: dereferencing pointer to incomplete type
amrmo_init.c:367: error: â??VERIFY_WRITEâ?? undeclared (first use in this function)
amrmo_init.c:368: error: â??EFAULTâ?? undeclared (first use in this function)
amrmo_init.c:369: error: dereferencing pointer to incomplete type
amrmo_init.c:370: error: dereferencing pointer to incomplete type
amrmo_init.c:371: warning: implicit declaration of function â??copy_from_userâ??
amrmo_init.c:371: error: dereferencing pointer to incomplete type
amrmo_init.c:373: error: dereferencing pointer to incomplete type
amrmo_init.c:373: error: dereferencing pointer to incomplete type
amrmo_init.c: At top level:
amrmo_init.c:378: error: syntax error before â??poll_tableâ??
amrmo_init.c: In function â??amrmo_pollâ??:
amrmo_init.c:380: error: â??fileâ?? undeclared (first use in this function)
amrmo_init.c:383: warning: implicit declaration of function â??poll_waitâ??
amrmo_init.c:383: error: dereferencing pointer to incomplete type
amrmo_init.c:384: error: dereferencing pointer to incomplete type
amrmo_init.c:385: error: dereferencing pointer to incomplete type
amrmo_init.c:387: error: dereferencing pointer to incomplete type
amrmo_init.c:389: error: dereferencing pointer to incomplete type
amrmo_init.c:391: error: dereferencing pointer to incomplete type
amrmo_init.c:393: error: dereferencing pointer to incomplete type
amrmo_init.c: At top level:
amrmo_init.c:399: warning: â??struct fileâ?? declared inside parameter list
amrmo_init.c:399: warning: â??struct inodeâ?? declared inside parameter list
amrmo_init.c: In function â??amrmo_ioctlâ??:
amrmo_init.c:401: error: dereferencing pointer to incomplete type
amrmo_init.c:405: error: â??KERN_DEBUGâ?? undeclared (first use in this function)
amrmo_init.c:405: error: syntax error before string constant
amrmo_init.c:409: error: dereferencing pointer to incomplete type
amrmo_init.c:410: error: dereferencing pointer to incomplete type
amrmo_init.c:411: error: dereferencing pointer to incomplete type
amrmo_init.c:412: error: dereferencing pointer to incomplete type
amrmo_init.c:413: warning: implicit declaration of function â??put_userâ??
amrmo_init.c:414: error: â??EFAULTâ?? undeclared (first use in this function)
amrmo_init.c:417: error: dereferencing pointer to incomplete type
amrmo_init.c:418: error: dereferencing pointer to incomplete type
amrmo_init.c:421: error: dereferencing pointer to incomplete type
amrmo_init.c:422: error: dereferencing pointer to incomplete type
amrmo_init.c:425: error: dereferencing pointer to incomplete type
amrmo_init.c:427: error: â??EINVALâ?? undeclared (first use in this function)
amrmo_init.c: At top level:
amrmo_init.c:430: warning: â??struct fileâ?? declared inside parameter list
amrmo_init.c:430: warning: â??struct inodeâ?? declared inside parameter list
amrmo_init.c: In function â??amrmo_openâ??:
amrmo_init.c:433: warning: implicit declaration of function â??MINORâ??
amrmo_init.c:433: error: dereferencing pointer to incomplete type
amrmo_init.c:435: error: â??ENODEVâ?? undeclared (first use in this function)
amrmo_init.c:439: error: â??KERN_DEBUGâ?? undeclared (first use in this function)
amrmo_init.c:439: error: syntax error before string constant
amrmo_init.c:440: error: dereferencing pointer to incomplete type
amrmo_init.c:441: error: â??EBUSYâ?? undeclared (first use in this function)
amrmo_init.c:442: error: dereferencing pointer to incomplete type
amrmo_init.c:443: error: dereferencing pointer to incomplete type
amrmo_init.c:445: warning: implicit declaration of function â??atomic_incâ??
amrmo_init.c:445: error: â??__this_moduleâ?? undeclared (first use in this function)
amrmo_init.c:445: warning: value computed is not used
amrmo_init.c:447: warning: implicit declaration of function â??init_waitqueue_headâ??
amrmo_init.c:447: error: dereferencing pointer to incomplete type
amrmo_init.c: At top level:
amrmo_init.c:451: warning: â??struct fileâ?? declared inside parameter list
amrmo_init.c:451: warning: â??struct inodeâ?? declared inside parameter list
amrmo_init.c: In function â??amrmo_releaseâ??:
amrmo_init.c:453: error: dereferencing pointer to incomplete type
amrmo_init.c:454: error: â??KERN_DEBUGâ?? undeclared (first use in this function)
amrmo_init.c:454: error: syntax error before string constant
amrmo_init.c:455: error: dereferencing pointer to incomplete type
amrmo_init.c:456: error: dereferencing pointer to incomplete type
amrmo_init.c:457: error: dereferencing pointer to incomplete type
amrmo_init.c:458: error: dereferencing pointer to incomplete type
amrmo_init.c:460: warning: implicit declaration of function â??atomic_decâ??
amrmo_init.c:460: error: â??__this_moduleâ?? undeclared (first use in this function)
amrmo_init.c:460: warning: value computed is not used
amrmo_init.c: At top level:
amrmo_init.c:465: error: variable â??amrmo_fopsâ?? has initializer but incomplete type
amrmo_init.c:466: error: unknown field â??ownerâ?? specified in initializer
amrmo_init.c:466: error: â??__this_moduleâ?? undeclared here (not in a function)
amrmo_init.c:466: warning: excess elements in struct initializer
amrmo_init.c:466: warning: (near initialization for â??amrmo_fopsâ??)
amrmo_init.c:467: error: unknown field â??llseekâ?? specified in initializer
amrmo_init.c:467: error: â??no_llseekâ?? undeclared here (not in a function)
amrmo_init.c:467: warning: excess elements in struct initializer
amrmo_init.c:467: warning: (near initialization for â??amrmo_fopsâ??)
amrmo_init.c:468: error: unknown field â??readâ?? specified in initializer
amrmo_init.c:468: warning: excess elements in struct initializer
amrmo_init.c:468: warning: (near initialization for â??amrmo_fopsâ??)
amrmo_init.c:469: error: unknown field â??writeâ?? specified in initializer
amrmo_init.c:469: warning: excess elements in struct initializer
amrmo_init.c:469: warning: (near initialization for â??amrmo_fopsâ??)
amrmo_init.c:470: error: unknown field â??pollâ?? specified in initializer
amrmo_init.c:470: warning: excess elements in struct initializer
amrmo_init.c:470: warning: (near initialization for â??amrmo_fopsâ??)
amrmo_init.c:471: error: unknown field â??ioctlâ?? specified in initializer
amrmo_init.c:471: warning: excess elements in struct initializer
amrmo_init.c:471: warning: (near initialization for â??amrmo_fopsâ??)
amrmo_init.c:472: error: unknown field â??openâ?? specified in initializer
amrmo_init.c:472: warning: excess elements in struct initializer
amrmo_init.c:472: warning: (near initialization for â??amrmo_fopsâ??)
amrmo_init.c:473: error: unknown field â??releaseâ?? specified in initializer
amrmo_init.c:473: warning: excess elements in struct initializer
amrmo_init.c:473: warning: (near initialization for â??amrmo_fopsâ??)
amrmo_init.c: In function â??amrmo_pci_interruptâ??:
amrmo_init.c:487: error: dereferencing pointer to incomplete type
amrmo_init.c: In function â??amrmo_pci_probeâ??:
amrmo_init.c:505: error: â??KERN_INFOâ?? undeclared (first use in this function)
amrmo_init.c:505: error: syntax error before string constant
amrmo_init.c:509: warning: implicit declaration of function â??pci_enable_deviceâ??
amrmo_init.c:510: error: dereferencing pointer to incomplete type
amrmo_init.c:511: error: â??ENODEVâ?? undeclared (first use in this function)
amrmo_init.c:513: warning: implicit declaration of function â??kmallocâ??
amrmo_init.c:513: error: dereferencing pointer to incomplete type
amrmo_init.c:513: error: â??GFP_KERNELâ?? undeclared (first use in this function)
amrmo_init.c:513: warning: assignment makes pointer from integer without a cast
amrmo_init.c:515: warning: implicit declaration of function â??pci_disable_deviceâ??
amrmo_init.c:516: error: â??ENOMEMâ?? undeclared (first use in this function)
amrmo_init.c:518: warning: implicit declaration of function â??memsetâ??
amrmo_init.c:518: warning: incompatible implicit declaration of built-in function â??memsetâ??
amrmo_init.c:518: error: dereferencing pointer to incomplete type
amrmo_init.c:520: error: dereferencing pointer to incomplete type
amrmo_init.c:520: error: dereferencing pointer to incomplete type
amrmo_init.c:521: error: dereferencing pointer to incomplete type
amrmo_init.c:521: error: dereferencing pointer to incomplete type
amrmo_init.c:522: error: dereferencing pointer to incomplete type
amrmo_init.c:523: error: dereferencing pointer to incomplete type
amrmo_init.c:523: error: dereferencing pointer to incomplete type
amrmo_init.c:524: warning: implicit declaration of function â??pci_resource_flagsâ??
amrmo_init.c:524: error: â??IORESOURCE_MEMâ?? undeclared (first use in this function)
amrmo_init.c:525: warning: implicit declaration of function â??pci_resource_startâ??
amrmo_init.c:526: warning: implicit declaration of function â??pci_resource_lenâ??
amrmo_init.c:527: error: dereferencing pointer to incomplete type
amrmo_init.c:530: error: dereferencing pointer to incomplete type
amrmo_init.c:535: error: dereferencing pointer to incomplete type
amrmo_init.c:536: error: dereferencing pointer to incomplete type
amrmo_init.c:541: warning: implicit declaration of function â??spin_lock_initâ??
amrmo_init.c:541: error: dereferencing pointer to incomplete type
amrmo_init.c:542: error: dereferencing pointer to incomplete type
amrmo_init.c:544: error: dereferencing pointer to incomplete type
amrmo_init.c:544: error: dereferencing pointer to incomplete type
amrmo_init.c:545: error: dereferencing pointer to incomplete type
amrmo_init.c:546: error: â??KERN_ERRâ?? undeclared (first use in this function)
amrmo_init.c:546: error: syntax error before string constant
amrmo_init.c:548: warning: implicit declaration of function â??kfreeâ??
amrmo_init.c:552: warning: implicit declaration of function â??pci_set_masterâ??
amrmo_init.c:554: warning: implicit declaration of function â??pci_request_regionsâ??
amrmo_init.c:554: error: dereferencing pointer to incomplete type
amrmo_init.c:556: error: syntax error before string constant
amrmo_init.c:557: error: dereferencing pointer to incomplete type
amrmo_init.c:563: error: dereferencing pointer to incomplete type
amrmo_init.c:563: warning: implicit declaration of function â??ioremapâ??
amrmo_init.c:564: error: dereferencing pointer to incomplete type
amrmo_init.c:565: error: syntax error before string constant
amrmo_init.c:566: warning: implicit declaration of function â??pci_release_regionsâ??
amrmo_init.c:567: error: dereferencing pointer to incomplete type
amrmo_init.c:570: error: â??EIOâ?? undeclared (first use in this function)
amrmo_init.c:574: warning: implicit declaration of function â??request_irqâ??
amrmo_init.c:574: error: dereferencing pointer to incomplete type
amrmo_init.c:574: error: â??SA_SHIRQâ?? undeclared (first use in this function)
amrmo_init.c:575: error: dereferencing pointer to incomplete type
amrmo_init.c:577: error: syntax error before string constant
amrmo_init.c:578: error: dereferencing pointer to incomplete type
amrmo_init.c:579: warning: implicit declaration of function â??iounmapâ??
amrmo_init.c:579: error: dereferencing pointer to incomplete type
amrmo_init.c:581: error: dereferencing pointer to incomplete type
amrmo_init.c:587: error: dereferencing pointer to incomplete type
amrmo_init.c:589: error: syntax error before string constant
amrmo_init.c:590: warning: implicit declaration of function â??free_irqâ??
amrmo_init.c:590: error: dereferencing pointer to incomplete type
amrmo_init.c:591: error: dereferencing pointer to incomplete type
amrmo_init.c:592: error: dereferencing pointer to incomplete type
amrmo_init.c:594: error: dereferencing pointer to incomplete type
amrmo_init.c:602: error: dereferencing pointer to incomplete type
amrmo_init.c:608: error: â??EBUSYâ?? undeclared (first use in this function)
amrmo_init.c:612: error: â??KERN_DEBUGâ?? undeclared (first use in this function)
amrmo_init.c:612: error: syntax error before string constant
amrmo_init.c:615: error: syntax error before string constant
amrmo_init.c:618: warning: implicit declaration of function â??pci_set_drvdataâ??
amrmo_init.c:635: error: dereferencing pointer to incomplete type
amrmo_init.c:636: error: dereferencing pointer to incomplete type
amrmo_init.c:637: error: dereferencing pointer to incomplete type
amrmo_init.c:639: error: dereferencing pointer to incomplete type
amrmo_init.c: In function â??amrmo_pci_removeâ??:
amrmo_init.c:647: warning: implicit declaration of function â??pci_get_drvdataâ??
amrmo_init.c:647: warning: initialization makes pointer from integer without a cast
amrmo_init.c:648: error: â??KERN_DEBUGâ?? undeclared (first use in this function)
amrmo_init.c:648: error: syntax error before string constant
amrmo_init.c:664: error: dereferencing pointer to incomplete type
amrmo_init.c:665: error: dereferencing pointer to incomplete type
amrmo_init.c:666: error: dereferencing pointer to incomplete type
amrmo_init.c:667: error: dereferencing pointer to incomplete type
amrmo_init.c:668: error: dereferencing pointer to incomplete type
amrmo_init.c:670: error: dereferencing pointer to incomplete type
amrmo_init.c: At top level:
amrmo_init.c:678: error: variable â??amrmo_pci_driverâ?? has initializer but incomplete type
amrmo_init.c:679: error: unknown field â??nameâ?? specified in initializer
amrmo_init.c:679: warning: excess elements in struct initializer
amrmo_init.c:679: warning: (near initialization for â??amrmo_pci_driverâ??)
amrmo_init.c:680: error: unknown field â??id_tableâ?? specified in initializer
amrmo_init.c:680: warning: excess elements in struct initializer
amrmo_init.c:680: warning: (near initialization for â??amrmo_pci_driverâ??)
amrmo_init.c:681: error: unknown field â??probeâ?? specified in initializer
amrmo_init.c:681: warning: excess elements in struct initializer
amrmo_init.c:681: warning: (near initialization for â??amrmo_pci_driverâ??)
amrmo_init.c:682: error: unknown field â??removeâ?? specified in initializer
amrmo_init.c:682: warning: excess elements in struct initializer
amrmo_init.c:682: warning: (near initialization for â??amrmo_pci_driverâ??)
amrmo_init.c: In function â??amrmo_initâ??:
amrmo_init.c:703: warning: implicit declaration of function â??pci_presentâ??
amrmo_init.c:704: error: â??ENODEVâ?? undeclared (first use in this function)
amrmo_init.c:707: error: â??KERN_INFOâ?? undeclared (first use in this function)
amrmo_init.c:707: error: syntax error before string constant
amrmo_init.c:714: warning: implicit declaration of function â??pci_for_each_devâ??
amrmo_init.c:714: error: syntax error before â??{â?? token
amrmo_init.c:701: warning: unused variable â??errâ??
amrmo_init.c: At top level:
amrmo_init.c:724: error: syntax error before â??ifâ??
amrmo_init.c: In function â??amrmo_exitâ??:
amrmo_init.c:777: error: â??KERN_DEBUGâ?? undeclared (first use in this function)
amrmo_init.c:777: error: syntax error before string constant
amrmo_init.c:778: warning: implicit declaration of function â??unregister_chrdevâ??
amrmo_init.c:779: warning: implicit declaration of function â??pci_unregister_driverâ??
amrmo_init.c:789: confused by earlier errors, bailing out
make[2]: *** [amrmo_init.o] Error 1
make[2]: Leaving directory `/home/slmodem299epre1/drivers'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/slmodem299epre1/drivers'
make: *** [drivers] Error 2

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux