[hcflinux] modules compilation failure, oscompat.h
rhp405 at suomi24.fi
rhp405 at suomi24.fi
Mon Sep 16 14:00:15 EDT 2002
Hi, I'm trying to get hcfpcimodem-0.98mbsibeta02090200 modules compiled but
can't. I've made no other changes to the makefiles but changed CC to point
to working C compiler. I also changed the UTS_RELEASE in (kernel-lib)/version.h
so that the compiler doesn't complain about it. It was not right, so I don't
think I did any dirty stuff here :). The kernel version is 2.4.18-pent-ide
(Vector Linux 2.5). The C compiler is gcc 3.1. After looking into buildlog.txt
I tried to take away backslashes (\) away from those multi-line #define lines
in oscompat.h and also make them single-line but that did not work.
Also, can you explain how to read these 274:5 numbers in the buildlog?
Here's what's in buildlog:
rm -f *.o *.a
make[1]: Entering directory `/usr/lib/hcfpci/modules/osspec'
rm -f *.o *.a
make[1]: Leaving directory `/usr/lib/hcfpci/modules/osspec'
* Compiling mod_osspec.c
In file included from mod_osspec.c:51:
../modules/osspec/include/oscompat.h:274:5: warning: multi-line string literals
are deprecated
../modules/osspec/include/oscompat.h:287:34: warning: multi-line string literals
are deprecated
../modules/osspec/include/oscompat.h:288:32: warning: multi-line string literals
are deprecated
../modules/osspec/include/oscompat.h:290:24: warning: multi-line string literals
are deprecated
../modules/osspec/include/oscompat.h:312:38: warning: multi-line string literals
are deprecated
make -C osspec all
make[1]: Entering directory `/usr/lib/hcfpci/modules/osspec'
* Compiling osstdio.c
In file included from osstdio.c:62:
../../modules/osspec/include/oscompat.h:274:5: warning: multi-line string
literals are deprecated
../../modules/osspec/include/oscompat.h:287:34: warning: multi-line string
literals are deprecated
../../modules/osspec/include/oscompat.h:288:32: warning: multi-line string
literals are deprecated
../../modules/osspec/include/oscompat.h:290:24: warning: multi-line string
literals are deprecated
../../modules/osspec/include/oscompat.h:312:38: warning: multi-line string
literals are deprecated
/tmp/ccAkGChN.s: Assembler messages:
/tmp/ccAkGChN.s:8: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccAkGChN.s:8: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccAkGChN.s:8: Error: Rest of line ignored. First ignored character is
`,'.
/tmp/ccAkGChN.s:17: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccAkGChN.s:17: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccAkGChN.s:17: Error: Rest of line ignored. First ignored character
is `,'.
make[1]: *** [osstdio.o] Error 1
make[1]: Leaving directory `/usr/lib/hcfpci/modules/osspec'
make: *** [osspec] Error 2
_____________________________________________________________
Kuukausimaksuton nettiyhteys: http://www.suomi24.fi/liittyma/
Yli 12000 logoa ja soittoääntä: http://sms.suomi24.fi/
More information about the hcflinux
mailing list