This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

blk2.c : kmadmin problem?


blk2.c is attached with this mail.

--- Kallol Biswas <kallolbiswas@yahoo.com> wrote:
> 
> 	gcc -ansi -I. -I/usr/conf/h \
> 	  -DLP64_TMP_NODBG -DSPP_RUNWAY_ERR_ENABLED
> -DSPP_OBP_BOOT -D__ROSEVILLE__ -DKGDB_ON -DSTCP
> -DHPONCPLUS -D__ROSE__ -DNEW_MFCTL_W -DCOMB_FLIPPER
> -DINET_COSE -DIVT_INTERCEPT -DMULTICAST -DAPPLETALK
> -DFDDI_VM -DAUDIT -DACLS -DPGPROF -DKI -DMP
> -DLWSYSCALL -DNEW_RDB -DRDB -D_LVMROOT -D_LVM
> -DCONVERGED_IO -D__TEMP64__  -U__hp9000s700
> -D__HIGHC__ -D__STDC_EXT__ -D_KERNEL_BUILD
> -D_XPG4_EXTENDED -D_HPUX_SOURCE -D_UNSUPPORTED
> -D__hp9000s800 -Dhp9000s800 -D_KERNEL -DKERNEL    \
> 	 -c blk2.c
> blk2.c:72: warning: initialization from incompatible
> pointer type
> blk2.c:73: warning: initialization from incompatible
> pointer type
> blk2.c: In function `blk2_install':
> blk2.c:110: warning: assignment from incompatible
> pointer type
> blk2.c: In function `blk2_read':
> blk2.c:182: warning: passing arg 1 of `physio' from
> incompatible pointer type
> blk2.c: In function `blk2_write':
> blk2.c:189: warning: passing arg 1 of `physio' from
> incompatible pointer type
> blk2.c: In function `blk2_strategy':
> blk2.c:215: warning: cast from pointer to integer of
> different size
> blk2.c:215: warning: cast from pointer to integer of
> different size
> blk2.c:215: warning: cast from pointer to integer of
> different size
> blk2.c:215: warning: cast from pointer to integer of
> different size
> 
> #mov blk2.o mod.o
> # gcc -v
> Reading specs from
>
/usr/local/pa20_64/lib/gcc-lib/hppa64-hp-hpux11.00/3.0.2/specs
> Configured with: ../gcc/configure
> --prefix=/usr/local/pa20_64 --enable-languages=c,c++
> --host=hppa64-hp-hpux11.00
> --target=hppa64-hp-hpux11.00
> --with-ld=/usr/ccs/bin/ld
> --with-gnu-as --enable-libstdcxx-v3
> Thread model: single
> gcc version 3.0.2
> 
> # uname -a
> HP-UX freedom B.11.11 U 9000/782 2000604685
> unlimited-user license
> # kminstall -a blk2
> # kminstall -c Y -l Y blk2
> kminstall: illegal option -- c
> Usage:  kminstall -[a|d|u] [-s] module_name
> # ksystem -c Y -l Y blk2  
> ksh: ksystem:  not found
> # kmsystem -c Y -l Y blk2
> # config -M blk2
> Generating module: blk2...
> # kmupdate -M blk2
> 
>   Specified module(s) below is(are) activated
> successfully.
>       blk2
> 
> # kmadmin -L blk2
> kmadmin: blk2: Object file error in loading kernel
> module
> 
> 
> 
> blk2.c is taken from the "11.11 Driver developemnt
> guide".
> 
> 
> 
> --- Paolo Carlini <pcarlini@unitus.it> wrote:
> > >Hi
> > >  Can any one have the procedure for installtion
> of
> > >precompiled version of GCC 3.0 for HP unix 11.0.
> > 
> > See:
> > 
> > 
> >
>
http://dsportal.eservices.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,547,00.html
> > 
> > Cheers,
> > Paolo.
> > 
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

Attachment: blk2.c
Description: blk2.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]