- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- gcc for hpux dlkm
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2009 05:50 PM
04-23-2009 05:50 PM
where can i get the information?
Solved! Go to Solution.
- Tags:
- DLKM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2009 07:14 PM
04-23-2009 07:14 PM
Re: gcc for hpux dlkm
It makes none to me.
What's a "dlkm"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2009 08:39 PM
04-23-2009 08:39 PM
Re: gcc for hpux dlkm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2009 09:07 PM
04-23-2009 09:07 PM
Re: gcc for hpux dlkm
was always built using the bundled C
compiler.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2009 09:09 PM - edited 09-03-2011 05:25 PM
04-23-2009 09:09 PM - edited 09-03-2011 05:25 PM
Solution>can gcc compiler the HP-UX DLKM?
What OS and architecture?
No, you MUST use HP's ANSI C compiler.
http://www.hp.com/go/hpux_ddk
http://h21007.www2.hp.com/portal/download/files/unprot/ddk/HP-UXDDKFAQ.htm
>Steven: Does that question make any sense to you? What's a "DLKM"?
This is an intelligence test. If you know, you can obviously answer the question. ;-)
A quick search by mr google finds it right away.
http://www.docs.hp.com/en/B3782-90716/ch02s10.html
http://www.docs.hp.com/en/dlkm-62001/index.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2009 09:11 PM - edited 09-03-2011 05:24 PM
04-23-2009 09:11 PM - edited 09-03-2011 05:24 PM
Re: gcc for hpux DLKM
>Steven: but I thought that the kernel was always built using the bundled C compiler.
honggaoyan is writing a device driver (DLKM).
And the kernel no longer uses the bundled C compiler after 11.11.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2009 09:36 PM
04-23-2009 09:36 PM
Re: gcc for hpux dlkm
#uname -a
HP-UX rp5470 B.11.11 U 9000/800 142444635 unlimited-user license
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2009 09:41 PM
04-23-2009 09:41 PM
Re: gcc for hpux dlkm
#gcc -v
Using built-in specs.
Target: hppa1.1-hp-hpux11.11
Configured with: /tmp/gcc-4.3.1.tar.gz/gcc-4.3.1/configure --host=hppa1.1-hp-hpux11.11 --target=hppa1.1-hp-hpux11.11 --build=hppa1.1-hp-hpux11.11 --prefix=/opt/hp-gcc-4.3.1 --with-gnu-as --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix --enable-languages=c,c++ --with-gmp=/proj/opensrc/be/hppa1.1-hp-hpux11.11 --with-mpfr=/proj/opensrc/be/hppa1.1-hp-hpux11.11
è ½ç ¨gccç¼ è¯ hp_uxç moduleå ,æ è¿ æ ¹é ¢ç ä¾ å å ?
#aCC -V
aCC: HP ANSI C++ B3910B A.03.33
#which aCC
/opt/aCC/bin/aCC
#cc -v
(Bundled) cc: NLSPATH is /usr/lib/nls/msg/%L/%N.cat:/usr/lib/nls/msg/C/%N.cat:
(Bundled) cc: CCOPTS is not set.
(Bundled) cc: INCLUDIR is INCLUDIR=/usr/include
#which cc
/usr/bin/cc
aCC is hp ansic compilerï¼
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2009 09:44 PM
04-23-2009 09:44 PM
Re: gcc for hpux dlkm
#gcc -v
Using built-in specs.
Target: hppa1.1-hp-hpux11.11
Configured with: /tmp/gcc-4.3.1.tar.gz/gcc-4.3.1/configure --host=hppa1.1-hp-hpux11.11 --target=hppa1.1-hp-hpux11.11 --build=hppa1.1-hp-hpux11.11 --prefix=/opt/hp-gcc-4.3.1 --with-gnu-as --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix --enable-languages=c,c++ --with-gmp=/proj/opensrc/be/hppa1.1-hp-hpux11.11 --with-mpfr=/proj/opensrc/be/hppa1.1-hp-hpux11.11
#aCC -V
aCC: HP ANSI C++ B3910B A.03.33
#which aCC
/opt/aCC/bin/aCC
#cc -v
(Bundled) cc: NLSPATH is /usr/lib/nls/msg/%L/%N.cat:/usr/lib/nls/msg/C/%N.cat:
(Bundled) cc: CCOPTS is not set.
(Bundled) cc: INCLUDIR is INCLUDIR=/usr/include
#which cc
/usr/bin/cc
aCC is ansic compiler?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2009 09:52 PM - edited 09-03-2011 05:26 PM
04-23-2009 09:52 PM - edited 09-03-2011 05:26 PM
Re: gcc for hpux DLKM
>aCC is ANSI C compiler?
No, it is a C++ compiler. And A.03.33 is not supported, it is over 7 years old.
While aCC has a -Ae option, it may not be enough to compile a DLKM correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2009 10:01 PM
04-23-2009 10:01 PM
Re: gcc for hpux dlkm
HP-UX rp5470 B.11.11 U 9000/800 142444635 unlimited-user license
is on this environment i complie hpux kernel module must use HP's ANSI C compiler?
how can get the HP's ANSI C compiler?
is HP's ANSI C compiler not free?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2009 10:33 PM - edited 09-03-2011 05:27 PM
04-23-2009 10:33 PM - edited 09-03-2011 05:27 PM
Re: gcc for hpux DLKM
>on this environment I compile hp-ux kernel module must use HP's ANSI C compiler?
I believe so. But you could try aCC -Ae.
>how can get the HP's ANSI C compiler? Is HP's ANSI C compiler not free?
Of course not, you must purchase it.
http://www.hp.com/go/c
Note: Now, when you purchase the HP C/aC++ Developer's Bundle you get both aC++ and C. The license is per core.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2009 09:28 PM
04-25-2009 09:28 PM
Re: gcc for hpux dlkm
HP-UX rp5470 B.11.11 U 9000/800 142444635 unlimited-user license
In my environment which version of HP C/aC++ Developer's Bundle shoud i purchase , can you give me a web link.
on the http://www.hp.com/go/c,there are too man kinds versions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2009 09:54 PM - edited 09-03-2011 05:27 PM
04-25-2009 09:54 PM - edited 09-03-2011 05:27 PM
Re: gcc for hpux DLKM
>which version of HP C/aC++ Developer's Bundle should I purchase, can you give me a web link.
There is only one for 11.11. On that above URL there is "Order HP C":
http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=e9083a7373f021103a7373f02110275d6e10RCRD
(Have you tried aCC -Ae?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2009 11:24 PM
04-25-2009 11:24 PM
Re: gcc for hpux dlkm
#vi Makefile
#CC= /opt/ansic/bin/cc -Ae
CC= /opt/aCC/bin/aCC -Ae
#make
Compiling enet.c...
/usr/bin/rm -f enet.o
/opt/aCC/bin/aCC -Ae -DKERNEL -D__ROSE__ -D__ROSEVILLE__ -DSTCP -DSPP_RUNWAY_ERR_ENABLED -DSPP_OBP_BOOT -DRDB -DPGPROF -DPARISC -DNEW_RDB -DNEW_MFCTL_W -DLWSYSCALL -DLP64_TMP_NODBG -DKGDB_ON -DIVT_INTERCEPT -DIPSEC -DIDDS -DHPONCPLUS -DCOMB_FLIPPER -DAUDIT -DACLS -D__hp9000s800 -D__TEMP64__ -D__STDC_EXT__ -D__NO_EM_HDRS -D_XPG4_EXTENDED -D_UNSUPPORTED -D_KERNEL -D_HPUX_SOURCE -D_CLEAN_BE -U__hp9000s700 -D__HIGHC__ -D__STDC_EXT__ -D_XPG4_EXTENDED -D_HPUX_SOURCE -D_UNSUPPORTED -D__hp9000s800 -Dhp9000s800 -U__hp9000s700 -I/usr/conf -I. -Wp,-H300000 +R500 +Hx0 +ESssf +ESsfc +DA2.0W +DS2.0 +XixdU +ES1.Xindirect_calls -c -o enet.o enet.c
aCC: warning 902: "-Wp" is an unsupported option: use +help for online documentation.
aCC: warning 901: unknown option: `+R500': use +help for online documentation.
aCC: warning 901: unknown option: `+Hx0': use +help for online documentation.
aCC: warning 901: unknown option: `+ESssf': use +help for online documentation.
aCC: warning 901: unknown option: `+XixdU': use +help for online documentation.
Warning 921: "/usr/conf/sys/mpctl.h", line 132 # A trailing comma is not allowed in an enumeration.
MPC_KERNEL_SPU = 1, /* kernel binding to a spu */
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 921: "/usr/conf/sys/dlpi_ext.h", line 589 # A trailing comma is not allowed in an enumeration.
VLAN_TYPE_SUBNET = 0x00000001, /* IP subnet based VLAN *
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 921: "/usr/conf/sys/dlpi_ext.h", line 680 # A trailing comma is not allowed in an enumeration.
DELETE_VLANID, /* Delete this VLAN id */
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 944: "/usr/conf/sys/mci.h", line 65 # Overflow in enumeration constant.
MC_STATUS_EOD = ~((~(unsigned int)0)>>1) /* 0x80000000 */
^
Warning 944: "/usr/conf/sys/mci.h", line 210 # Overflow in enumeration constant.
MC_EVENT_IMPLEMENTATION = ~((~(unsigned int)0)>>1) /* 0x80000000 */
^
Error (future) 667: "/usr/conf/sio/lan_dlpikrn.h", line 289 # Type name expected in typedef declaration.
typedef struct lan_ift;
^^^^^^^^^^^^^^^^^^^^^^^
Warning 921: "./enet_lan.h", line 65 # A trailing comma is not allowed in an enumeration.
LAN_REQ_NONE = 0, /* No ctl request at the driver level *
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 921: "./enet_lan.h", line 143 # A trailing comma is not allowed in an enumeration.
PROMISC_PHYS = 0x1, /* promiscuous mode at phys level */
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 921: "/usr/include/sys/wsio.h", line 425 # A trailing comma is not allowed in an enumeration.
WSIO_SHMEM_OPTIMIZE_DEVICE_LATENCY = 0x1,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 921: "/usr/include/sys/wsio.h", line 435 # A trailing comma is not allowed in an enumeration.
SHMEM_OK=0,
^^^^^^^^^^^
Warning 921: "/usr/include/sys/wsio.h", line 561 # A trailing comma is not allowed in an enumeration.
WSIO_DMA_SAFE = 0x2,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 921: "/usr/include/sys/wsio.h", line 573 # A trailing comma is not allowed in an enumeration.
WSIO_DMA_ATTR_ADDR_WIDTH = 0,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 921: "/usr/include/sys/wsio.h", line 594 # A trailing comma is not allowed in an enumeration.
WSIO_IO_SHMEM_OPTIMIZE_DEVICE_LATENCY = 0x1,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 921: "/usr/include/sys/wsio.h", line 616 # A trailing comma is not allowed in an enumeration.
WSIO_DMA_IOPDIR_PRESENT = 1,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 921: "/usr/include/sys/wsio.h", line 1206 # A trailing comma is not allowed in an enumeration.
WSIO_REPLACE = 0, /* Card will be replaced */
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 921: "/usr/include/sys/wsio.h", line 1212 # A trailing comma is not allowed in an enumeration.
WSIO_RESOURCES_SAME = 0, /* Card resources haven't changed: like
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 921: "/usr/include/sys/wsio.h", line 1218 # A trailing comma is not allowed in an enumeration.
WSIO_DEVICE_ERROR_DETECTED = 1,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 921: "/usr/include/sys/wsio.h", line 1240 # A trailing comma is not allowed in an enumeration.
WSIO_OK = 0,
^^^^^^^^^^^^
Warning 921: "/usr/include/sys/wsio.h", line 1257 # A trailing comma is not allowed in an enumeration.
WSIO_NO_EVENT = 0,
^^^^^^^^^^^^^^^^^^
Warning 921: "/usr/include/sys/wsio.h", line 1267 # A trailing comma is not allowed in an enumeration.
WSIO_GET_HANDLER_REG_FUNC = 1,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 921: "/usr/include/sys/wsio.h", line 1274 # A trailing comma is not allowed in an enumeration.
WSIO_DRV_CLAIM_FUNC = 1,
^^^^^^^^^^^^^^^^^^^^^^^
Warning 921: "./enet.h", line 804 # A trailing comma is not allowed in an enumeration.
ENET_RESET_F,
^^^^^^^^^^^^^
Warning 921: "./enet.h", line 2114 # A trailing comma is not allowed in an enumeration.
ENET_SEND_LOOP_PKT_TIMEOUT = 1 << 0,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error 173: "enet.c", line 282 # Redefined symbol 'pci_attach'; previously defined at ["/usr/include/sys/wsio.h", line 304].
extern int (*pci_attach)();
^^^^^^^^^^
Warning 863: "enet.c", line 744 # Result of operator << is widened from int to unsigned long.
size = ENET_TD_SIZE * ENET_TDR_ENTRIES;
^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 745 # Result of operator << is widened from int to unsigned long.
size = roundup(size, NBPG);
^^^^^^^
Warning 863: "enet.c", line 745 # Result of operator << is widened from int to unsigned long.
size = roundup(size, NBPG);
^^^^^^^
Warning 863: "enet.c", line 765 # Result of operator << is widened from int to unsigned long.
enet_iftp->rbr = (enet_rb_t *)kmalloc(sizeof (enet_rb_t) * ENET_RBR_CNT,
^^^^^^^^^^^^
Warning 863: "enet.c", line 767 # Result of operator << is widened from int to unsigned long.
bzero((caddr_t)enet_iftp->rbr, sizeof(enet_rb_t) * ENET_RBR_CNT);
^^^^^^^^^^^^
Warning 863: "enet.c", line 777 # Result of operator << is widened from int to unsigned long.
size = sizeof(enet_rd_t) * ENET_RDR_CNT;
^^^^^^^^^^^^
Warning 863: "enet.c", line 778 # Result of operator << is widened from int to unsigned long.
size = roundup(size, NBPG);
^^^^^^^
Warning 863: "enet.c", line 778 # Result of operator << is widened from int to unsigned long.
size = roundup(size, NBPG);
^^^^^^^
Warning 863: "enet.c", line 778 # Result of operator << is widened from int to unsigned long.
size = roundup(size, NBPG);
^^^^^^^
Warning 942: "enet.c", line 1361 # Types 'char *' and 'msgb *' are not assignment-compatible.
error = enet_hw_req(hp_dlpi_datap->enetiftp, LAN_REQ_WRITE, mblkp);
^^^^^
Warning 942: "enet.c", line 1681 # Types 'msgb *' and 'char *' are not assignment-compatible.
streams_put((void (*)())enet_dlpi_wakeup_put, temp->q, temp->addr_ptr, temp);
^^^^^^^^^^^^^^
Warning 942: "enet.c", line 2304 # Types 'char *' and 'enet_ift *' are not assignment-compatible.
drv_datap = enet_dlpi_datap->enetiftp;
^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 2306 # Types 'lan_ift *' and 'char *' are not assignment-compatible.
error = enet_media_control(drv_datap, &data, LAN_REQ_BLOCK|DLPI_STREAMS_MASK);
^^^^^^^^^
Warning 942: "enet.c", line 2669 # Types 'char *' and 'int *' are not assignment-compatible.
error = enet_dlpi_diag_req(drv_datap, cmd, datap);
^^^^^^^^^
Warning 942: "enet.c", line 2862 # Types 'char *' and 'unsigned char *' are not assignment-compatible.
datap = (uint8_t *)((uintptr_t)multi_mblkp->b_rptr +
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 2933 # Types 'char *' and 'enet_ift *' are not assignment-compatible.
drv_datap = hp_dlpi_datap->enetiftp;
^^^^^^^^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 2937 # Types 'enet_ift *' and 'char *' are not assignment-compatible.
error = enet_hw_req (drv_datap, LAN_REQ_EXTMIB,
^^^^^^^^^
Warning 942: "enet.c", line 2938 # Types 'char *' and 'unsigned char *' are not assignment-compatible.
(uint8_t *)((uintptr_t)stats_mblkp->b_rptr + DL_GET_STATISTICS_ACK_SIZE ));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 3032 # Types 'char *' and 'enet_ift *' are not assignment-compatible.
drv_datap = hp_dlpi_datap->enetiftp;
^^^^^^^^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 3041 # Types 'enet_ift *' and 'char *' are not assignment-compatible.
error = enet_hw_req (drv_datap, LAN_REQ_GET_STAT, &data);
^^^^^^^^^
Warning 942: "enet.c", line 3041 # Types 'char *' and 'fis *' are not assignment-compatible.
error = enet_hw_req (drv_datap, LAN_REQ_GET_STAT, &data);
^
Warning 942: "enet.c", line 3260 # Types 'char *' and 'enet_ift *' are not assignment-compatible.
drv_datap = hp_dlpi_datap->enetiftp;
^^^^^^^^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 3264 # Types 'enet_ift *' and 'char *' are not assignment-compatible.
error = enet_hw_req(drv_datap, enet_oid_get_table[index].req_type,
^^^^^^^^^
Warning 942: "enet.c", line 3265 # Types 'char *' and 'unsigned char *' are not assignment-compatible.
(uint8_t *)((uintptr_t)stats_mblkp->b_rptr + DL_HP_GET_MIB_STATS_SIZE));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 3800 # Types 'char *' and 'unsigned char *' are not assignment-compatible.
sap_val_addr = subs_sap_addr;
^^^^^^^^^^^^^
Warning 942: "enet.c", line 3833 # Types 'char *' and 'unsigned char *' are not assignment-compatible.
sap_val_addr = &subs_sap_addr[1];
^^^^^^^^^^^^
Warning 942: "enet.c", line 3841 # Types 'char *' and 'unsigned char *' are not assignment-compatible.
sap_val_addr = &subs_sap_addr[1];
^^^^^^^^^^^^
Warning 942: "enet.c", line 3905 # Types 'char *' and 'unsigned char *' are not assignment-compatible.
sap_val_addr = &subs_sap_addr[1];
^^^^^^^^^^^^
Warning 942: "enet.c", line 4072 # Types 'char *' and 'enet_ift *' are not assignment-compatible.
drv_datap = hp_dlpi_datap->enetiftp;
^^^^^^^^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 4107 # Types 'char *' and 'unsigned char *' are not assignment-compatible.
sap_val_addr = &subs_sap[1];
^^^^^^^^^^^^
Warning 942: "enet.c", line 4115 # Types 'char *' and 'unsigned char *' are not assignment-compatible.
sap_val_addr = subs_sap;
^^^^^^^^^^^^
Warning 942: "enet.c", line 4123 # Types 'char *' and 'unsigned char *' are not assignment-compatible.
sap_val_addr = subs_sap;
^^^^^^^^^^^^
Warning 942: "enet.c", line 4135 # Types 'char *' and 'unsigned char *' are not assignment-compatible.
sap_val_addr = (uint8_t *)&unlog_sap;
^^^^^^^^^^^^
Warning 942: "enet.c", line 4372 # Types 'char *' and 'msgb *' are not assignment-compatible.
error = enet_hw_req(hp_dlpi_datap->enetiftp, LAN_REQ_WRITE, llc_hdr_mblkp);
^^^^^^^^^^^^^
Warning 942: "enet.c", line 4582 # Types 'msgb *' and 'char *' are not assignment-compatible.
freemsg(llc_hdrp);
^^^^^^^^
Warning 942: "enet.c", line 4613 # Types 'msgb *' and 'char *' are not assignment-compatible.
freemsg(llc_hdrp);
^^^^^^^^
Warning 942: "enet.c", line 4624 # Types 'msgb *' and 'char *' are not assignment-compatible.
freeb(llc_hdrp);
^^^^^^^^
Warning 942: "enet.c", line 4631 # Types 'msgb *' and 'char *' are not assignment-compatible.
freeb(llc_hdrp);
^^^^^^^^
Warning 942: "enet.c", line 4660 # Types 'msgb *' and 'char *' are not assignment-compatible.
freeb(llc_hdrp);
^^^^^^^^
Warning 942: "enet.c", line 4696 # Types 'msgb *' and 'char *' are not assignment-compatible.
freemsg(llc_hdrp);
^^^^^^^^
Warning 942: "enet.c", line 4778 # Types 'char *' and 'enet_ift *' are not assignment-compatible.
drv_datap = hp_dlpi_datap->enetiftp;
^^^^^^^^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 4965 # Types 'char *' and 'msgb *' are not assignment-compatible.
enet_hw_req(hp_dlpi_datap->enetiftp,LAN_REQ_WRITE, mblkp);
^^^^^
Warning 942: "enet.c", line 5196 # Types 'msgb *' and 'char *' are not assignment-compatible.
freemsg(llc_hdrp);
^^^^^^^^
Warning 942: "enet.c", line 5206 # Types 'msgb *' and 'char *' are not assignment-compatible.
freemsg(llc_hdrp);
^^^^^^^^
Warning 942: "enet.c", line 5223 # Types 'msgb *' and 'char *' are not assignment-compatible.
freemsg(llc_hdrp);
^^^^^^^^
Warning 942: "enet.c", line 5232 # Types 'msgb *' and 'char *' are not assignment-compatible.
freemsg(llc_hdrp);
^^^^^^^^
Warning 942: "enet.c", line 5243 # Types 'char *' and 'msgb *' are not assignment-compatible.
error = enet_hw_req(hp_dlpi_datap->enetiftp, LAN_REQ_WRITE, llc_mblkp);
^^^^^^^^^
Warning 863: "enet.c", line 5785 # Result of operator << is widened from int to unsigned long.
td = &enet_iftp->tdr[(ENET_TDR_ENTRIES - 1)];
^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 5790 # Result of operator << is widened from int to unsigned long.
(ENET_TD_SIZE * ENET_TDR_ENTRIES), IO_SYNC_FORDEV);
^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 5849 # Result of operator << is widened from int to unsigned long.
i < ENET_RDR_CNT; i++, rdp++, rbp++) {
^^^^^^^^^^^^
Warning 863: "enet.c", line 5915 # Result of operator << is widened from int to unsigned long.
if (enet_iftp->rdr_cnt != ENET_RDR_CNT) {
^^^^^^^^^^^^
Warning 863: "enet.c", line 5925 # Result of operator << is widened from int to unsigned long.
rbp = &enet_iftp->rbr[ENET_RDR_CNT - 1];
^^^^^^^^^^^^
Warning 863: "enet.c", line 5932 # Result of operator << is widened from int to unsigned long.
rdp = &enet_iftp->rdr[ENET_RDR_CNT - 1];
^^^^^^^^^^^^
Warning 863: "enet.c", line 5937 # Result of operator << is widened from int to unsigned long.
rdr_size = sizeof(enet_rd_t) * ENET_RDR_CNT;
^^^^^^^^^^^^
Warning 362: "enet.c", line 6074 # Value expected for return statement; function is not of void type.
return;
^^^^^^^
Warning 863: "enet.c", line 6091 # Result of operator << is widened from int to unsigned long.
if (enet_iftp->rdr_empty_cnt >= ENET_RDR_CNT) {
^^^^^^^^^^^^
Warning 362: "enet.c", line 6100 # Value expected for return statement; function is not of void type.
return;
^^^^^^^
Warning 863: "enet.c", line 6230 # Result of operator << is widened from int to unsigned long.
(ENET_RDR_CNT-1);
^^^^^^^^^^^^
Warning 863: "enet.c", line 6269 # Result of operator << is widened from int to unsigned long.
enet_iftp->rdr_index = (enet_iftp->rdr_index + 1) & (ENET_RDR_CNT-1);
^^^^^^^^^^^^
Warning 863: "enet.c", line 6286 # Result of operator << is widened from int to unsigned long.
if (enet_iftp->rdr_empty_cnt > (ENET_RDR_CNT / 4)) {
^^^^^^^^^^^^
Warning 863: "enet.c", line 6329 # Result of operator << is widened from int to unsigned long.
ENET_RESET_RD_RB(rdp, rbp);
^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 6344 # Result of operator << is widened from int to unsigned long.
if (enet_iftp->rdr_empty_index >= ENET_RDR_CNT) {
^^^^^^^^^^^^
Warning 942: "enet.c", line 6400 # Types 'lan_ift *' and 'enet_ift *' are not assignment-compatible.
enet_802_2_ics(enet_iftp,bufp,IEEE_RAW8023_HLEN, IEEE8023_0);
^^^^^^^^^
Warning 942: "enet.c", line 6403 # Types 'lan_ift *' and 'enet_ift *' are not assignment-compatible.
enet_ether_ics(enet_iftp, bufp);
^^^^^^^^^
Warning 863: "enet.c", line 6496 # Result of operator << is widened from int to unsigned long.
enet_iftp->rdr_empty_cnt = ENET_RDR_CNT ;
^^^^^^^^^^^^
Warning 863: "enet.c", line 6543 # Result of operator << is widened from int to unsigned long.
bzero((caddr_t)enet_iftp->tdr, ENET_TD_SIZE * ENET_TDR_ENTRIES);
^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 6547 # Result of operator << is widened from int to unsigned long.
td = &enet_iftp->tdr[(ENET_TDR_ENTRIES - 1)];
^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 6552 # Result of operator << is widened from int to unsigned long.
(ENET_TD_SIZE * ENET_TDR_ENTRIES), IO_SYNC_FORDEV);
^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 6558 # Result of operator << is widened from int to unsigned long.
enet_iftp->tdr_free_cnt = ENET_TDR_ENTRIES;
^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 6888 # Result of operator << is widened from int to unsigned long.
tdi = (tdi + td_cnt) & (ENET_TDR_ENTRIES - 1);
^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 7061 # Types 'char *' and 'enet_tb *' are not assignment-compatible.
enet_dlpi_wakeup(tb);
^^
Warning 863: "enet.c", line 7100 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_PENDED_FRAMES(enet_iftp);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7100 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_PENDED_FRAMES(enet_iftp);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7100 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_PENDED_FRAMES(enet_iftp);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7100 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_PENDED_FRAMES(enet_iftp);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7100 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_PENDED_FRAMES(enet_iftp);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7100 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_PENDED_FRAMES(enet_iftp);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7100 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_PENDED_FRAMES(enet_iftp);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7100 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_PENDED_FRAMES(enet_iftp);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7100 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_PENDED_FRAMES(enet_iftp);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7100 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_PENDED_FRAMES(enet_iftp);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7244 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_FRAME(enet_iftp, bufp, buf_cnt);
^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7244 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_FRAME(enet_iftp, bufp, buf_cnt);
^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7244 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_FRAME(enet_iftp, bufp, buf_cnt);
^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7244 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_FRAME(enet_iftp, bufp, buf_cnt);
^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7244 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_FRAME(enet_iftp, bufp, buf_cnt);
^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7244 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_FRAME(enet_iftp, bufp, buf_cnt);
^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7244 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_FRAME(enet_iftp, bufp, buf_cnt);
^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7244 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_FRAME(enet_iftp, bufp, buf_cnt);
^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7244 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_FRAME(enet_iftp, bufp, buf_cnt);
^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7244 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_FRAME(enet_iftp, bufp, buf_cnt);
^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7325 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_FRAME(enet_iftp, bufp, buf_cnt);
^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7325 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_FRAME(enet_iftp, bufp, buf_cnt);
^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7325 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_FRAME(enet_iftp, bufp, buf_cnt);
^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7325 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_FRAME(enet_iftp, bufp, buf_cnt);
^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7325 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_FRAME(enet_iftp, bufp, buf_cnt);
^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7325 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_FRAME(enet_iftp, bufp, buf_cnt);
^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7325 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_FRAME(enet_iftp, bufp, buf_cnt);
^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7325 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_FRAME(enet_iftp, bufp, buf_cnt);
^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7325 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_FRAME(enet_iftp, bufp, buf_cnt);
^^^^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 7325 # Result of operator << is widened from int to unsigned long.
ENET_TRANSMIT_FRAME(enet_iftp, bufp, buf_cnt);
^^^^^^^^^^^^^^^^^^^
Warning 362: "enet.c", line 7634 # Value expected for return statement; function is not of void type.
return;
^^^^^^^
Warning 362: "enet.c", line 7695 # Value expected for return statement; function is not of void type.
return;
^^^^^^^
Warning 362: "enet.c", line 7707 # Value expected for return statement; function is not of void type.
return;
^^^^^^^
Warning 361: "enet.c", line 8086 # Value-returning function might end without executing a return statement.
enet_csr9_write( enet_ift_t * enet_iftp, ubit32 data)
^^^^^^^^^^^^^^^
Warning 361: "enet.c", line 8117 # Value-returning function might end without executing a return statement.
enet_csr9_read( enet_ift_t * enet_iftp, ubit32 * data)
^^^^^^^^^^^^^^
Warning 942: "enet.c", line 8473 # Types 'int (*)(...)' and 'void (*)(enet_ift *)' are not assignment-compatible.
timeout(enet_auto_neg, enet_iftp, 8*HZ);
^^^^^^^^^^^^^
Warning 942: "enet.c", line 8473 # Types 'char *' and 'enet_ift *' are not assignment-compatible.
timeout(enet_auto_neg, enet_iftp, 8*HZ);
^^^^^^^^^
Warning 942: "enet.c", line 8504 # Types 'int (*)(...)' and 'void (*)(enet_ift *)' are not assignment-compatible.
timeout (enet_force_speed_duplex,enet_iftp,8*HZ);
^^^^^^^^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 8504 # Types 'char *' and 'enet_ift *' are not assignment-compatible.
timeout (enet_force_speed_duplex,enet_iftp,8*HZ);
^^^^^^^^^
Warning 942: "enet.c", line 8516 # Types 'int (*)(...)' and 'void (*)(enet_ift *)' are not assignment-compatible.
timeout(enet_send_loop_pkt, enet_iftp, HZ);
^^^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 8516 # Types 'char *' and 'enet_ift *' are not assignment-compatible.
timeout(enet_send_loop_pkt, enet_iftp, HZ);
^^^^^^^^^
Warning 942: "enet.c", line 8674 # Types 'char *' and 'long' are not assignment-compatible.
enet_dlpi_wakeup(w_addr);
^^^^^^
Warning 942: "enet.c", line 8801 # Types 'char *' and 'long' are not assignment-compatible.
enet_dlpi_wakeup( w_addr);
^^^^^^
Warning 863: "enet.c", line 9019 # Result of operator << is widened from int to unsigned long.
enet_iftp->tdr_free_index = ((tdfi + 2) & (ENET_TDR_ENTRIES - 1));
^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 9023 # Result of operator << is widened from int to unsigned long.
td = &enet_iftp->tdr[((tdfi + 1) & (ENET_TDR_ENTRIES - 1))];
^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 9035 # Result of operator << is widened from int to unsigned long.
if (((tdfi + 1) & (ENET_TDR_ENTRIES - 1)) == (ENET_TDR_ENTRIES - 1))
^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 9035 # Result of operator << is widened from int to unsigned long.
if (((tdfi + 1) & (ENET_TDR_ENTRIES - 1)) == (ENET_TDR_ENTRIES - 1))
^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 9052 # Result of operator << is widened from int to unsigned long.
if (tdfi == (ENET_TDR_ENTRIES - 1))
^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 9450 # Types 'char *' and 'long' are not assignment-compatible.
enet_dlpi_wakeup( w_addr);
^^^^^^
Warning 361: "enet.c", line 9943 # Value-returning function might end without executing a return statement.
enet_ext_clearmib( enet_ift_t * enet_iftp, caddr_t datap)
^^^^^^^^^^^^^^^^^
Warning 361: "enet.c", line 9970 # Value-returning function might end without executing a return statement.
enet_reset_stats( enet_ift_t * enet_iftp)
^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 10127 # Types 'lan_ift *' and 'char *' are not assignment-compatible.
return( enet_media_control(drv_datap, datap, LAN_REQ_BLOCK|DLPI_STREAMS_MASK) );
^^^^^^^^^
Warning 942: "enet.c", line 10127 # Types 'fis *' and 'char *' are not assignment-compatible.
return( enet_media_control(drv_datap, datap, LAN_REQ_BLOCK|DLPI_STREAMS_MASK) );
^^^^^
Warning 942: "enet.c", line 10147 # Types 'enet_ift *' and 'char *' are not assignment-compatible.
error = enet_hw_req( drv_datap, LAN_REQ_GET_STAT | LAN_REQ_BLK_MSK, datap);
^^^^^^^^^
Warning 942: "enet.c", line 10155 # Types 'enet_ift *' and 'char *' are not assignment-compatible.
error = enet_hw_req( drv_datap, cmd, datap);
^^^^^^^^^
Warning 942: "enet.c", line 10338 # Types 'enet_ift *' and 'lan_ift *' are not assignment-compatible.
enet_hw_req(lanc_ift_ptr,LAN_REQ_DOG_STAT,(caddr_t)NULL);
^^^^^^^^^^^^
Warning 942: "enet.c", line 10491 # Types 'streams_queue *' and 'unsigned long' are not assignment-compatible.
link_ptr->log.q_ptr = q_ptr;
^^^^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 10798 # Types 'char *' and 'lan_ift *' are not assignment-compatible.
if (((link_ptr=enet_sap_lookup(protocol_val,protocol_kind,lanc_ift_ptr,
^^^^^^^^^^^^
Warning 942: "enet.c", line 10860 # Types 'char *' and 'lan_ift *' are not assignment-compatible.
enet_dlpi_mblk_intr(lanc_ift_ptr,datap,
^^^^^^^^^^^^
Warning 942: "enet.c", line 10860 # Types 'msgb *' and 'char *' are not assignment-compatible.
enet_dlpi_mblk_intr(lanc_ift_ptr,datap,
^^^^^
Warning 362: "enet.c", line 10894 # Value expected for return statement; function is not of void type.
return;
^^^^^^^
Warning 942: "enet.c", line 10938 # Types 'enet_ift *' and 'lan_ift *' are not assignment-compatible.
return (enet_hw_req(lanc_ift_ptr, LAN_REQ_WRITE,
^^^^^^^^^^^^
Warning 942: "enet.c", line 11001 # Types 'char *' and 'lan_ift *' are not assignment-compatible.
if (((link_ptr=enet_sap_lookup(protocol_val,protocol_kind, lanc_ift_ptr, 0))
^^^^^^^^^^^^
Warning 942: "enet.c", line 11021 # Types 'char *' and 'lan_ift *' are not assignment-compatible.
enet_dlpi_mblk_intr(lanc_ift_ptr, datap,
^^^^^^^^^^^^
Warning 942: "enet.c", line 11021 # Types 'msgb *' and 'char *' are not assignment-compatible.
enet_dlpi_mblk_intr(lanc_ift_ptr, datap,
^^^^^
Warning 942: "enet.c", line 11149 # Types 'enet_ift *' and 'lan_ift *' are not assignment-compatible.
error = enet_hw_req(lanc_ift_ptr, LAN_REQ_RF, data_ptr);
^^^^^^^^^^^^
Warning 942: "enet.c", line 11149 # Types 'char *' and 'fis *' are not assignment-compatible.
error = enet_hw_req(lanc_ift_ptr, LAN_REQ_RF, data_ptr);
^^^^^^^^
Warning 942: "enet.c", line 11379 # Types 'enet_ift *' and 'lan_ift *' are not assignment-compatible.
ENET_ADD_EXT_MCAST(lanc_ift_ptr->hwift.instance_num, data_ptr->v
^^^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 11379 # Types 'char *' and 'fis *' are not assignment-compatible.
ENET_ADD_EXT_MCAST(lanc_ift_ptr->hwift.instance_num, data_ptr->v
^^^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 11379 # Types 'enet_ift *' and 'lan_ift *' are not assignment-compatible.
ENET_ADD_EXT_MCAST(lanc_ift_ptr->hwift.instance_num, data_ptr->v
^^^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 11379 # Types 'char *' and 'fis *' are not assignment-compatible.
ENET_ADD_EXT_MCAST(lanc_ift_ptr->hwift.instance_num, data_ptr->v
^^^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 11379 # Types 'enet_ift *' and 'lan_ift *' are not assignment-compatible.
ENET_ADD_EXT_MCAST(lanc_ift_ptr->hwift.instance_num, data_ptr->v
^^^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 11379 # Types 'char *' and 'fis *' are not assignment-compatible.
ENET_ADD_EXT_MCAST(lanc_ift_ptr->hwift.instance_num, data_ptr->v
^^^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 11415 # Types 'enet_ift *' and 'lan_ift *' are not assignment-compatible.
ENET_DEL_EXT_MCAST(lanc_ift_ptr->hwift.instance_num, data_ptr->v
^^^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 11415 # Types 'char *' and 'fis *' are not assignment-compatible.
ENET_DEL_EXT_MCAST(lanc_ift_ptr->hwift.instance_num, data_ptr->v
^^^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 11533 # Types 'enet_ift *' and 'lan_ift *' are not assignment-compatible.
error = enet_hw_req (lanc_ift_ptr,
^^^^^^^^^^^^
Warning 942: "enet.c", line 11534 # Types 'char *' and 'fis *' are not assignment-compatible.
(hw_req_code | LAN_REQ_BLK_MSK),data_ptr);
^^^^^^^^
Warning 942: "enet.c", line 11539 # Types 'enet_ift *' and 'lan_ift *' are not assignment-compatible.
error = enet_hw_req (lanc_ift_ptr,
^^^^^^^^^^^^
Warning 942: "enet.c", line 11546 # Types 'enet_ift *' and 'lan_ift *' are not assignment-compatible.
error = enet_hw_req(lanc_ift_ptr, hw_req_code,
^^^^^^^^^^^^
Warning 942: "enet.c", line 11547 # Types 'char *' and 'fis *' are not assignment-compatible.
data_ptr);
^^^^^^^^
Warning 942: "enet.c", line 11552 # Types 'enet_ift *' and 'lan_ift *' are not assignment-compatible.
error = enet_hw_req(lanc_ift_ptr, hw_req_code, NULL);
^^^^^^^^^^^^
Warning 362: "enet.c", line 11607 # Value expected for return statement; function is not of void type.
return;
^^^^^^^
Warning 942: "enet.c", line 11616 # Types 'char *' and 'lan_ift *' are not assignment-compatible.
protocol_kind, lanc_ift_ptr, protocol_val_ext)) == NULL)
^^^^^^^^^^^^
Warning 362: "enet.c", line 11617 # Value expected for return statement; function is not of void type.
return;
^^^^^^^
Warning 942: "enet.c", line 11623 # Types 'lan_ift *' and 'lan_ift *' are not assignment-compatible.
(*pmp->func_ptr)(lanc_ift_ptr, mblk_pkt, pmp->data_ptr, pkt_fmt);
^^^^^^^^^^^^
Warning 362: "enet.c", line 11625 # Value expected for return statement; function is not of void type.
return;
^^^^^^^
Warning 863: "enet.c", line 11712 # Result of operator << is widened from int to unsigned long.
size_t size_tdr = ENET_TD_SIZE * ENET_TDR_ENTRIES;
^^^^^^^^^^^^^^^^
Warning 863: "enet.c", line 11713 # Result of operator << is widened from int to unsigned long.
size_t size_rdr = ENET_RDR_SIZE * ENET_RDR_CNT;
^^^^^^^^^^^^
Warning 863: "enet.c", line 11716 # Result of operator << is widened from int to unsigned long.
size_rdr = roundup(size_rdr, NBPG);
^^^^^^^
Warning 863: "enet.c", line 11716 # Result of operator << is widened from int to unsigned long.
size_rdr = roundup(size_rdr, NBPG);
^^^^^^^
Warning 863: "enet.c", line 11717 # Result of operator << is widened from int to unsigned long.
size_tdr = roundup(size_tdr, NBPG);
^^^^^^^
Warning 863: "enet.c", line 11717 # Result of operator << is widened from int to unsigned long.
size_tdr = roundup(size_tdr, NBPG);
^^^^^^^
Warning 942: "enet.c", line 11753 # Types 'char *' and 'unsigned int' are not assignment-compatible.
enet_iftp->rdr_raw_phys_addr, enet_iftp->rdr, 0);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 11753 # Types 'char *' and 'enet_rd *' are not assignment-compatible.
enet_iftp->rdr_raw_phys_addr, enet_iftp->rdr, 0);
^^^^^^^^^^^^^^
Warning 942: "enet.c", line 11759 # Types 'char *' and 'unsigned int' are not assignment-compatible.
enet_iftp->tdr_raw_phys_addr, enet_iftp->tdr, 0);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 11759 # Types 'char *' and 'enet_td *' are not assignment-compatible.
enet_iftp->tdr_raw_phys_addr, enet_iftp->tdr, 0);
^^^^^^^^^^^^^^
Warning 942: "enet.c", line 11810 # Types 'int (*)(...)' and 'void (*)(enet_ift *)' are not assignment-compatible.
timeout(enet_suspend, (caddr_t)enet_iftp, 0);
^^^^^^^^^^^^
Warning 942: "enet.c", line 11837 # Types 'int (*)(...)' and 'void (*)(enet_ift *)' are not assignment-compatible.
timeout(enet_resume, enet_iftp, 0);
^^^^^^^^^^^
Warning 942: "enet.c", line 11837 # Types 'char *' and 'enet_ift *' are not assignment-compatible.
timeout(enet_resume, enet_iftp, 0);
^^^^^^^^^
Warning 942: "enet.c", line 11842 # Types 'void *' and 'int' are not assignment-compatible.
WSIO_UNSUPPORTED_EVENT);
^^^^^^^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 11864 # Types 'int (*)(...)' and 'void (*)(enet_ift *)' are not assignment-compatible.
timeout(enet_suspend, enet_iftp, HZ);
^^^^^^^^^^^^
Warning 942: "enet.c", line 11864 # Types 'char *' and 'enet_ift *' are not assignment-compatible.
timeout(enet_suspend, enet_iftp, HZ);
^^^^^^^^^
Warning 942: "enet.c", line 11905 # Types 'int (*)(...)' and 'void (*)(enet_ift *)' are not assignment-compatible.
untimeout(enet_send_loop_pkt, enet_iftp);
^^^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 11905 # Types 'char *' and 'enet_ift *' are not assignment-compatible.
untimeout(enet_send_loop_pkt, enet_iftp);
^^^^^^^^^
Warning 942: "enet.c", line 11907 # Types 'int (*)(...)' and 'void (*)(enet_ift *)' are not assignment-compatible.
untimeout(enet_auto_neg, enet_iftp);
^^^^^^^^^^^^^
Warning 942: "enet.c", line 11907 # Types 'char *' and 'enet_ift *' are not assignment-compatible.
untimeout(enet_auto_neg, enet_iftp);
^^^^^^^^^
Warning 942: "enet.c", line 11909 # Types 'int (*)(...)' and 'void (*)(enet_ift *)' are not assignment-compatible.
untimeout(enet_force_speed_duplex, enet_iftp);
^^^^^^^^^^^^^^^^^^^^^^^
Warning 942: "enet.c", line 11909 # Types 'char *' and 'enet_ift *' are not assignment-compatible.
untimeout(enet_force_speed_duplex, enet_iftp);
^^^^^^^^^
Error 102: "enet.c", line 11948 # Character literal must be at least one character long.
ssid, '');
^^
Error 102: "enet.c", line 11957 # Character literal must be at least one character long.
enet_iftp->device_id << 16 | enet_iftp->vendor_id, id, '');
^^
Warning 863: "enet.c", line 12086 # Result of operator << is widened from int to unsigned long.
i < ENET_RDR_CNT; i++, rdp++, rbp++) {
^^^^^^^^^^^^
Warning: 1 future errors were detected and ignored. Add a '+p' option to detect and fix them before they become fatal errors in a future release. Behavior of this ill-formed program is not guaranteed to match that of a well-formed program
*** Error exit code 2
Stop.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2009 01:19 AM - edited 09-03-2011 05:29 PM
04-26-2009 01:19 AM - edited 09-03-2011 05:29 PM
Re: gcc for hpux DLKM
>aCC: warning 902: "-Wp" is an unsupported option:
>aCC: warning 901: unknown option: `+R500':
These aren't needed.
>aCC: warning 901: unknown option: `+Hx0':
>aCC: warning 901: unknown option: `+ESssf':
>aCC: warning 901: unknown option: `+XixdU':
I'd have to look these up but this may make it unusable, unless you like the rest of the error/warning messages.
>Warning 921: A trailing comma is not allowed
You can suppress with +W921. (This is a C99 feature.)
>Error (future) 667: Type name expected in typedef declaration.
This is illegal.
>Error 173: "enet.c", line 282 # Redefined symbol 'pci_attach'; previously defined at ["/usr/include/sys/wsio.h", line 304].
Again most likely illegal. What does the other declaration look like?
>Warning 942: Types 'char*' and 'msgb*' are not assignment-compatible.
Really should have casts.
>Warning 362: Value expected for return statement; function is not of void type.
This is illegal.
>Error 102: Character literal must be at least one character long.
This is illegal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2009 06:35 PM
04-27-2009 06:35 PM
Re: gcc for hpux dlkm
in /opt/ddk/11.11/sampldrvs/net/ENET/11.11.1.0 dir
I feel the program too long ,where can i get the Simpler program such as "hello word" simple
program.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2009 07:04 PM
04-27-2009 07:04 PM
Re: gcc for hpux dlkm
Thank you for your order from Hewlett-Packard. This is your delivery receipt. Please keep it for your records. Should you need help, please contact customer service of the Hewlett-Packard store from which you purchased, by following the "contact hp" link from the home page.
As always, your interest and continued use of Hewlett-Packard products are greatly appreciated. We look forward to serving your needs in the future.
Sincerely,
Hewlett-Packard Company
Fax:
Email: honggaoyan@163.com
Transaction Information
Download Key: 420834125
Date: April 26 2009 at 05:49 (GMT)
Electronic Delivery Products
Item#
1 product number: B9007AAEVAL
product name: HP C/aC++ Developer's Bundle for Evaluation
delivery model: Trial Electronic Download
quantity: 1
download key: 420834125
license url: https://h20392.www2.hp.com/receipt?order=420834125&orderline=1&language=us&signature=ED8F64A90374BDADE2E0D54A44F0FDAC
This License to Use (LTU) refers to the legal rights to use this product. This link will expire after 30 days. Please print a cpy of the LTU for your records, as some applications and support agreements require the use of this license number.
To access your electronic goods click on the URL below:
https://h20392.www2.hp.com/ecommerce/efulfillment/downloadpage.do?downloadKey=420834125
You will need to enter your email address and the download key from this email on the electronic delivery site. You have up to 30 days from the order date to download or re-download the products.
why have the result as below
We're very sorry!
The file you are attempting to download is not available at this time. Please try again later or contact our customer support at ebusinesssupport@hp.com to resolve this issue by providing complete order information and your contact details.
Sorry for the inconvenience.
Customer Service
Electronic Software Delivery
Hewlett-Packard Co.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2009 08:03 PM - edited 09-03-2011 05:30 PM
04-27-2009 08:03 PM - edited 09-03-2011 05:30 PM
Re: gcc for hpux DLKM
>Dear Customer, ... ... Why have the result as below?
Just to make to make it obvious, you should include your own questions about the message near the top. And you probably shouldn't have included your download key and license.
>The file you are attempting to download is not available at this time. Please try again later or contact our customer support at ebusinesssupport@hp.com
I had problems downloading the 102 Mb file and was left at 82 Mb. The second time I tried it, it worked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2009 12:07 AM
05-21-2009 12:07 AM
Re: gcc for hpux dlkm
why must be extern struct mod_conf_data test_conf_data?
mod_obj_load: Undefined symbol test_conf_data1 in loadable module /stand/dlkm/mod.d/test.
WARNING: MOD: mod_obj_load: Processing symbol table in module /stand/dlkm/mod.d/test failed
in 11iv1-DDG.pdf :
The name of the modwrapper structure for a DLKM module must be module_name_wrapper,
but the name ofthe mod_conf_data structure not point out must be module_name_conf_data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2009 12:15 AM - edited 09-03-2011 05:31 PM
05-21-2009 12:15 AM - edited 09-03-2011 05:31 PM
Re: gcc for hpux DLKM
>I set extern struct mod_conf_data test_conf_data1 is wrong but can complied
What's important is can it be "linked".
>in 11iv1-DDG.pdf:
Do you have a URL?
>The name of the modwrapper structure for a DLKM module must be module_name_wrapper,
but the name of the mod_conf_data structure not point out must be module_name_conf_data
What did you mean by "not point out"?
Does this mean that module_name should be replaced the name of the module?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2009 12:25 AM
05-21-2009 12:25 AM
Re: gcc for hpux dlkm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2009 12:27 AM
05-21-2009 12:27 AM
Re: gcc for hpux dlkm
yes , such as test_conf_data, test is my module name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2009 12:41 AM
05-21-2009 12:41 AM
Re: gcc for hpux dlkm
Without assigning points please don't close the thread, assign some points who give there valuable time for your problem.
To know how to assign points please go through the below link.
http://forums13.itrc.hp.com/service/forums/helptips.do?#33
Suraj