Operating System - HP-UX
1826716 Members
2307 Online
109702 Solutions
New Discussion

porting from 11.11 to 11.23

 
Saravanan_6
Advisor

porting from 11.11 to 11.23

Here I am facing compilation problem during a kernel driver installation
in 11.23, the driver works good in 11.11.

The compilation gives the following error in 11.23.

$ /opt/ansic/bin/cc -I. -I/usr/conf -I/usr/conf/sys -DNEW_MFCTL_W -DSTCP -DIPSEC -D_UNSUPPORTED -D_HPUX_SOURCE -D_XPG4_EXTENDED -D_KERNEL -D__STDC_EXT__
> -Wp,-H300000 +H +legacy_cpp > +ES1.Xindirect_calls +Olit +O2 +Oshortdata > +DD64 -Ae -DLWSYSCALL -DPGPROF -DACLS -DAUDIT > -DIDDS -D__ROSE__ -DHPONCPLUS -D__ROSEVILLE__ > -DSPP_OBP_BOOT -DSPP_RUNWAY_ERR_ENABLED > -DRDB -DNEW_RDB -DKGDB_ON -DIVT_INTERCEPT -DCOMB_FLIPPER > -DNEW_MFCTL_W -DSTCP -DIPSEC -D_UNSUPPORTED > -D_HPUX_SOURCE -D_XPG4_EXTENDED -D_KERNEL -D__STDC_EXT__ > -D_CLEAN_BE -D__TEMP64__ -D__hp9000s800 > -U__hp9000s700 -o mod.o -c lo.c
cpp: "/usr/conf/.unsupp/sys/_signal.h", line 164: warning 2001: Redefinition of macro sigmask.
Error 42: "/usr/conf/sys/proc_iface.h", line 272 # ANSI C requires same function declarations to have compatible types.
Previous function declaration was "int gsignal(int)" ["/usr/conf/sys/signal.h", line 329].
void gsignal (pid_t, int) ;
^^^^^^^
Error 173: "/usr/conf/sys/strenv.h", line 53 # Redefined symbol 'time'; previously defined at ["/usr/conf/sys/time.h", line
248].
extern struct timeval time;
^^^^

please let me know a solution to solve the above problem.,