Menu

#4 'make' fails miserably

open
nobody
None
5
2001-10-31
2001-10-31
Anonymous
No

System is Suse 7.2
Kernel 2.4.4-4GB
Kernel 2.4.12
Kernel 2.4.13 (All Fail)

Any advise on building this would be appreciated, as
you can see the 'make' fails miserably.

creating Makefile
creating Makefile.common
creating api/Makefile
creating ciphers/Makefile
creating digests/Makefile
creating tests/Makefile

**********************************************
* please consider to --enable-iv-mode-sector *
* see README for more details *
**********************************************

Setup:
kernel version: 2.4.12
kernel source: /usr/src/linux-2.2.12
module install path: /lib/modules/2.4.12/cryptoapi
SMP: 0
IV_MODE_SECTOR: no
test tools 0

root@linux:/home/secret/kernel/cryptoapi-2.4.7.0 > make
cd . && automake --gnu --include-deps Makefile
cd . \ && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh
./config.status
creating Makefile
Making all in api
gmake[1]: Entering directory
`/home/secret/kernel/cryptoapi-2.4.7.0/api'
cd .. && automake --gnu --include-deps api/Makefile
cd .. \ && CONFIG_FILES=api/Makefile CONFIG_HEADERS= /bin/sh
./config.status
creating api/Makefile
gmake[1]: Leaving directory
`/home/secret/kernel/cryptoapi-2.4.7.0/api'
gmake[1]: Entering directory
`/home/secret/kernel/cryptoapi-2.4.7.0/api'
gcc -I../include -D__KERNEL__ -DMODULE
-I/usr/src/linux-2.2.12/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2
-fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=i686 -o
cryptoapi.o -c cryptoapi.c
cryptoapi.c:466: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:466: warning: type defaults to `int' in
declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:466: warning: data definition has no type
or storage class
cryptoapi.c:467: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:467: warning: type defaults to `int' in
declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:467: warning: data definition has no type
or storage class
cryptoapi.c:468: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:468: warning: type defaults to `int' in
declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:468: warning: data definition has no type
or storage class
cryptoapi.c:469: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:469: warning: type defaults to `int' in
declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:469: warning: data definition has no type
or storage class
cryptoapi.c:470: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:470: warning: type defaults to `int' in
declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:470: warning: data definition has no type
or storage class
cryptoapi.c:471: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:471: warning: type defaults to `int' in
declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:471: warning: data definition has no type
or storage class
cryptoapi.c:472: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:472: warning: type defaults to `int' in
declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:472: warning: data definition has no type
or storage class
gmake[1]: *** [cryptoapi.o] Error 1
gmake[1]: Leaving directory
`/home/secret/kernel/cryptoapi-2.4.7.0/api'
make: *** [all-recursive] Error 1
root@linux:/home/secret/kernel/cryptoapi-2.4.7.0 >

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Makefile in api is missing -DEXPORT_SYMTAB
    This fixes things.

     
  • Nobody/Anonymous

    Logged In: NO

    For me it helped to comment out all EXPORT_SYMBOL() placed
    in the end of cryptoapi.c I suppose it's due to new kernel
    Makefile style

     
  • Nobody/Anonymous

    Logged In: NO

    For me it helped to comment out all EXPORT_SYMBOL() placed
    in the end of cryptoapi.c I suppose it's due to new kernel
    Makefile style

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.