[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Sun Jan 16 21:59:42 2005 -->
- <!--x-from-r13: Rbj.Vhefg ng zvaqfcevat.pbz (Rbj Vhefg) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: 02b501c4fbfe$c8b274e0$bb00a8c0@Ringo --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Help with packages -->
- <li><em>date</em>: Sun Jan 16 21:59:42 2005</li>
- <li><em>from</em>: Dow.Hurst at mindspring.com (Dow Hurst)</li>
- <li><em>in-reply-to</em>: <02b501c4fbfe$c8b274e0$bb00a8c0@Ringo></li>
- <li><em>references</em>: <02b501c4fbfe$c8b274e0$bb00a8c0@Ringo></li>
- <li><em>subject</em>: [ale] Help with packages</li>
ringo wrote:
>I figured out that YaST will install the packages.
>I have the kernel source and all the GTK stuff installed now so those
>errors are gone. However when I try to compile the driver for me
>usb-ethernet adapter I get the following errors.
>If I do
>rpm -qa | grep kernel-source
> then it returns
>kernel-source-2.6.8-24
>
>It's missing stuff like Malloc, so if the kernel source is installed
>what else am I missing?
>Ringo
>
>
>[ringo at localhost linux]$ gcc -DMODULE -D__KERNEL__ -c rtl8150.c
>-I/usr/src/linux/include/
>rtl8150.c:52:26: linux/malloc.h: No such file or directory
>In file included from /usr/src/linux/include/linux/irq.h:20,
> from /usr/src/linux/include/asm/hardirq.h:6,
> from /usr/src/linux/include/linux/interrupt.h:11,
> from /usr/src/linux/include/linux/netdevice.h:501,
> from rtl8150.c:55:
>/usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or
>directory
>In file included from /usr/src/linux/include/asm/hardirq.h:6,
> from /usr/src/linux/include/linux/interrupt.h:11,
> from /usr/src/linux/include/linux/netdevice.h:501,
> from rtl8150.c:55:
>/usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here
>(not in a function)
>In file included from /usr/src/linux/include/linux/irq.h:72,
> from /usr/src/linux/include/asm/hardirq.h:6,
> from /usr/src/linux/include/linux/interrupt.h:11,
> from /usr/src/linux/include/linux/netdevice.h:501,
> from rtl8150.c:55:
>/usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS'
>undeclared here (not in a function)
>/usr/src/linux/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here
>(not in a function)
>rtl8150.c:114:1: warning: "ALIGN" redefined
>In file included from /usr/src/linux/include/asm/system.h:5,
> from /usr/src/linux/include/asm/processor.h:18,
> from /usr/src/linux/include/asm/thread_info.h:13,
> from /usr/src/linux/include/linux/thread_info.h:21,
> from /usr/src/linux/include/linux/spinlock.h:12,
> from /usr/src/linux/include/linux/capability.h:45,
> from /usr/src/linux/include/linux/sched.h:7,
> from /usr/src/linux/include/linux/module.h:10,
> from rtl8150.c:50:
>/usr/src/linux/include/linux/kernel.h:28:1: warning: this is the
>location of the previous definition
>rtl8150.c:320: error: parse error before "devrequest"
>rtl8150.c:320: warning: no semicolon at end of struct or union
>rtl8150.c:334: error: parse error before '}' token
>rtl8150.c:334: warning: data definition has no type or storage class
>rtl8150.c:364: error: parse error before '*' token
>rtl8150.c: In function `set_registers_callback':
>rtl8150.c:366: error: `rtl8150' undeclared (first use in this function)
>rtl8150.c:366: error: (Each undeclared identifier is reported only once
>rtl8150.c:366: error: for each function it appears in.)
>rtl8150.c:366: error: `urb' undeclared (first use in this function)
>rtl8150.c:374: error: `USB_ST_NOERROR' undeclared (first use in this
>function)
>rtl8150.c:376: error: `USB_ST_URB_PENDING' undeclared (first use in this
>function)
>rtl8150.c:379: error: `USB_ST_URB_KILLED' undeclared (first use in this
>function)
>rtl8150.c:383: error: called object is not a function
>rtl8150.c:383: error: parse error before string constant
>rtl8150.c: At top level:
>rtl8150.c:398: error: parse error before '*' token
>rtl8150.c: In function `get_registers_callback':
>rtl8150.c:400: error: `rtl8150' undeclared (first use in this function)
>rtl8150.c:400: error: `urb' undeclared (first use in this function)
>rtl8150.c:408: error: `USB_ST_NOERROR' undeclared (first use in this
>function)
>rtl8150.c:410: error: `USB_ST_URB_PENDING' undeclared (first use in this
>function)
>rtl8150.c:413: error: `USB_ST_URB_KILLED' undeclared (first use in this
>function)
>rtl8150.c:417: error: called object is not a function
>rtl8150.c:417: error: parse error before string constant
>rtl8150.c: At top level:
>rtl8150.c:432: error: parse error before '*' token
>rtl8150.c: In function `get_registers':
>rtl8150.c:438: error: `rtl8150' undeclared (first use in this function)
>rtl8150.c:440: error: `indx' undeclared (first use in this function)
>rtl8150.c:443: error: `size' undeclared (first use in this function)
>rtl8150.c:448: error: `data' undeclared (first use in this function)
>rtl8150.c:450: error: too few arguments to function `usb_submit_urb'
>rtl8150.c:452: error: called object is not a function
>rtl8150.c:452: error: parse error before string constant
>rtl8150.c: At top level:
>rtl8150.c:464: error: parse error before '*' token
>rtl8150.c: In function `set_registers':
>rtl8150.c:475: error: `rtl8150' undeclared (first use in this function)
>rtl8150.c:477: error: `indx' undeclared (first use in this function)
>rtl8150.c:479: error: `size' undeclared (first use in this function)
>rtl8150.c:484: error: `data' undeclared (first use in this function)
>rtl8150.c:486: error: too few arguments to function `usb_submit_urb'
>rtl8150.c:488: error: called object is not a function
>rtl8150.c:488: error: parse error before string constant
>rtl8150.c: At top level:
>rtl8150.c:502: error: parse error before '*' token
>rtl8150.c:530: error: parse error before '*' token
>rtl8150.c:562: error: parse error before '*' token
>rtl8150.c: In function `read_eprom_word':
>rtl8150.c:568: error: `rtl8150' undeclared (first use in this function)
>rtl8150.c:571: error: `index' undeclared (first use in this function)
>rtl8150.c:571: error: `retdata' undeclared (first use in this function)
>rtl8150.c: At top level:
>rtl8150.c:581: error: parse error before '*' token
>rtl8150.c: In function `read_eprom_byte':
>rtl8150.c:587: error: `rtl8150' undeclared (first use in this function)
>rtl8150.c:590: error: `index' undeclared (first use in this function)
>rtl8150.c:590: error: `retdata' undeclared (first use in this function)
>rtl8150.c: At top level:
>rtl8150.c:650: error: parse error before '*' token
>rtl8150.c: In function `get_node_id':
>rtl8150.c:657: error: `rtl8150' undeclared (first use in this function)
>rtl8150.c:660: error: `id' undeclared (first use in this function)
>rtl8150.c: At top level:
>rtl8150.c:668: error: parse error before '*' token
>rtl8150.c: In function `set_ethernet_addr':
>rtl8150.c:673: error: `rtl8150' undeclared (first use in this function)
>rtl8150.c: At top level:
>rtl8150.c:681: error: parse error before '*' token
>rtl8150.c: In function `reset_mac':
>rtl8150.c:691: error: `rtl8150' undeclared (first use in this function)
>rtl8150.c: In function `enable_net_traffic':
>rtl8150.c:728: error: `rtl8150' undeclared (first use in this function)
>rtl8150.c: In function `read_bulk_callback':
>rtl8150.c:806: error: `rtl8150' undeclared (first use in this function)
>rtl8150.c:830: error: `USB_ST_NOERROR' undeclared (first use in this
>function)
>rtl8150.c:832: error: `USB_ST_NORESPONSE' undeclared (first use in this
>function)
>rtl8150.c:872: error: too few arguments to function `usb_submit_urb'
>rtl8150.c:875: error: called object is not a function
>rtl8150.c:875: error: parse error before string constant
>rtl8150.c: In function `write_bulk_callback':
>rtl8150.c:885: error: `rtl8150' undeclared (first use in this function)
>rtl8150.c: In function `intr_callback':
>rtl8150.c:907: error: `rtl8150' undeclared (first use in this function)
>rtl8150.c:930: error: `USB_ST_NOERROR' undeclared (first use in this
>function)
>rtl8150.c:932: error: `USB_ST_URB_KILLED' undeclared (first use in this
>function)
>rtl8150.c: In function `rtl8150_tx_timeout':
>rtl8150.c:944: error: `rtl8150' undeclared (first use in this function)
>rtl8150.c: In function `rtl8150_start_xmit':
>rtl8150.c:964: error: `rtl8150' undeclared (first use in this function)
>rtl8150.c:989: error: `USB_ASYNC_UNLINK' undeclared (first use in this
>function)
>rtl8150.c:990: error: too few arguments to function `usb_submit_urb'
>rtl8150.c: In function `rtl8150_netdev_stats':
>rtl8150.c:1014: error: parse error before ')' token
>rtl8150.c: At top level:
>rtl8150.c:1020: error: parse error before '*' token
>rtl8150.c: In function `disable_net_traffic':
>rtl8150.c:1025: error: `rtl8150' undeclared (first use in this function)
>rtl8150.c: At top level:
>rtl8150.c:1031: error: parse error before '*' token
>rtl8150.c: In function `get_interrupt_interval':
>rtl8150.c:1037: error: `rtl8150' undeclared (first use in this function)
>rtl8150.c: In function `rtl8150_open':
>rtl8150.c:1046: error: `rtl8150' undeclared (first use in this function)
>rtl8150.c:1046: error: parse error before ')' token
>rtl8150.c:1051: warning: `MOD_INC_USE_COUNT' is deprecated (declared at
>/usr/src/linux/include/linux/module.h:502)
>rtl8150.c:1058: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at
>/usr/src/linux/include/linux/module.h:514)
>rtl8150.c:1068: error: too few arguments to function `usb_submit_urb'
>rtl8150.c:1071: error: called object is not a function
>rtl8150.c:1071: error: parse error before string constant
>rtl8150.c: In function `rtl8150_close':
>rtl8150.c:1099: error: `rtl8150' undeclared (first use in this function)
>rtl8150.c:1113: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at
>/usr/src/linux/include/linux/module.h:514)
>rtl8150.c: In function `rtl8150_ioctl':
>rtl8150.c:1124: error: `rtl8150' undeclared (first use in this function)
>rtl8150.c: In function `rtl8150_set_multicast':
>rtl8150.c:1150: error: `rtl8150' undeclared (first use in this function)
>rtl8150.c: At top level:
>rtl8150.c:1228: error: parse error before '*' token
>rtl8150.c: In function `rtl8150_probe':
>rtl8150.c:1264: error: `rtl8150' undeclared (first use in this function)
>rtl8150.c:1280: error: structure has no member named
>`bConfigurationValue'
>rtl8150.c:1282: error: structure has no member named
>`bConfigurationValue'
>rtl8150.c:1290: error: invalid application of `sizeof' to an incomplete
>type
>rtl8150.c:1303: error: invalid application of `sizeof' to an incomplete
>type
>rtl8150.c:1303: error: invalid application of `sizeof' to an incomplete
>type
>rtl8150.c:1303: error: invalid application of `sizeof' to an incomplete
>type
>rtl8150.c:1303: error: invalid application of `sizeof' to an incomplete
>type
>rtl8150.c:1303: error: invalid application of `sizeof' to an incomplete
>type
>rtl8150.c:1303: error: invalid application of `sizeof' to an incomplete
>type
>rtl8150.c:1329:40: missing binary operator before token "("
>rtl8150.c: In function `rtl8150_disconnect':
>rtl8150.c:1379: error: dereferencing pointer to incomplete type
>rtl8150.c:1380: error: dereferencing pointer to incomplete type
>rtl8150.c: At top level:
>rtl8150.c:1390: warning: initialization from incompatible pointer type
>rtl8150.c:1391: warning: initialization from incompatible pointer type
>[ringo at localhost linux]$
>
>
>
>-----Original Message-----
>From: ale-bounces at ale.org [<a rel="nofollow" href="mailto:ale-bounces">mailto:ale-bounces</a> at ale.org] On Behalf Of
>James P. Kinney III
>Sent: Sunday, January 16, 2005 1:52 PM
>To: Atlanta Linux Enthusiasts
>Subject: Re: [ale] Help with packages
>
>You need a bunch of *-devel packages. If you have the rmb dbinstalled,
>you can find what packages has what file with rpm -q --what-provides
>filefoo
>
>On Sun, 2005-01-16 at 12:59, ringo wrote:
>
>
>>I'm running Suse 9.2 pro on a laptop. It's a brand new install.
>>
>>When I try to compile a program I get the following errors:
>>stage.h:62:63: glib.h: No such file or directory
>>rtk.h:32:21: gtk/gtk.h: No such file or directory
>>
>>I was told this means that I don't have the GTK develop stuff
>>
>>
>installed.
>
>
>>I went to KPackage and did a search for gtk and it finds things like
>>
>>
>gtk
>
>
>>and python-gtk but if I "Mark" any of them then the only button that
>>lights up is "uninstall", so I'm assuming that means that they are
>>already installed. What am I missing here?
>>Thanks
>>Ringo
>>
>>
>>
>>_______________________________________________
>>Ale mailing list
>>Ale at ale.org
>><a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
>>
>>!DSPAM:41eaabbc102788744112271!
>>
>>
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00579" href="msg00579.html">[ale] Help with packages</a></strong>
<ul><li><em>From:</em> ringo at margaritasrus.com (ringo)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00591.html">[ale] SUSE 9.2 Pro free from Novell</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00593.html">[ale] permissions</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00579.html">[ale] Help with packages</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00597.html">[ale] Help with packages</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00592"><strong>Date</strong></a></li>
<li><a href="threads.html#00592"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>