Skip to contentSkip to conversation

Reiser4 compile error on vanilla-sources-2.6.27

DISCUSSION callx 2 participants 5 messages Oct 11, 2008 – Oct 12, 2008

lore
Share & tools
lore

callx

author
#0 lore raw

I patched vanilla and got no errors. On doing a make this happened:

scripts/kconfig/conf -s arch/x86/Kconfig

    CHK       include/linux/version.h
    CHK       include/linux/utsrelease.h
    CALL      scripts/checksyscalls.sh
    CHK       include/linux/compile

dnsdomainname: Hostname lookup failure
CC [M] fs/reiser4/jnode.o
fs/reiser4/jnode.c: In function 'jnode_lock_page':
fs/reiser4/jnode.c:750: error: implicit declaration of function 'TestSetPageLoocked'
make[2]: *** [fs/reiser4/jnode.o] Error 1
make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2

I used this patch:
http://zen-sources.org/files/reiser4-for-2.6.27-rc1.patch

Signature · 2 lines
View this message in context: http://www.nabble.com/Reiser4-compile-error-on-vanilla-sources-2.6.27-tp19928070p19928070.html
Sent from the ReiserFS - General mailing list archive at Nabble.com.
#1 lore raw
Quoted 16 lines · callx

I patched vanilla and got no errors. On doing a make this happened:

scripts/kconfig/conf -s arch/x86/Kconfig

    CHK       include/linux/version.h
    CHK       include/linux/utsrelease.h
    CALL      scripts/checksyscalls.sh
    CHK       include/linux/compile

dnsdomainname: Hostname lookup failure
CC [M] fs/reiser4/jnode.o
fs/reiser4/jnode.c: In function 'jnode_lock_page':
fs/reiser4/jnode.c:750: error: implicit declaration of function 'TestSetPageLoocked'
make[2]: *** [fs/reiser4/jnode.o] Error 1
make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2

Quoted 3 lines

I used this patch:
http://zen-sources.org/files/reiser4-for-2.6.27-rc1.patch

Looks like a typo in that function call. Change the code your building (fs/reiser4/jnode.c line 750) to TestSetPageLocked (one o not two), and see if it compiles then.

Regards,

Alex Brandt

Signature · 4 lines
Student, B.S. Physics & Computer Science
Department of Physics and Astronomy, MSUM
Department of Computer Science and Information Systems, MSUM
www.alunduil.com
author
#2 lore raw

Oh my bad, I'm the one who made the typo when I wrote down the error.. :wistle: Did you use the same patch?

Quoted 42 lines · alunduil
Quoted 16 lines · callx

I patched vanilla and got no errors. On doing a make this happened:

scripts/kconfig/conf -s arch/x86/Kconfig

    CHK       include/linux/version.h
    CHK       include/linux/utsrelease.h
    CALL      scripts/checksyscalls.sh
    CHK       include/linux/compile

dnsdomainname: Hostname lookup failure
CC [M] fs/reiser4/jnode.o
fs/reiser4/jnode.c: In function 'jnode_lock_page':
fs/reiser4/jnode.c:750: error: implicit declaration of function 'TestSetPageLoocked'
make[2]: *** [fs/reiser4/jnode.o] Error 1
make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2

Quoted 3 lines

I used this patch:
http://zen-sources.org/files/reiser4-for-2.6.27-rc1.patch

Looks like a typo in that function call. Change the code your building (fs/reiser4/jnode.c line 750) to TestSetPageLocked (one o not two), and see if it compiles then.

Regards,

Alex Brandt

Signature · 10 lines
Student, B.S. Physics & Computer Science
Department of Physics and Astronomy, MSUM
Department of Computer Science and Information Systems, MSUM
www.alunduil.com

--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel"
in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Signature · 2 lines
View this message in context: http://www.nabble.com/Reiser4-compile-error-on-vanilla-sources-2.6.27-tp19928070p19929422.html
Sent from the ReiserFS - General mailing list archive at Nabble.com.
#3 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 3 lines · callx

Oh my bad, I'm the one who made the typo when I wrote down the error.. :wistle: Did you use the same patch?

No, just noticed that problem from the error you submitted so if that's not the problem in the patch, then the function in question is not getting defined at the appropriate time. I'll try to take a look at it when I get a few spare moments on Monday.

Regards,

Alex Brandt

- --
Student, B.S. Physics & Computer Science
Department of Physics and Astronomy, MSUM
Department of Computer Science and Information Systems, MSUM www.alunduil.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjxFswACgkQvpZ9jByxpSdKvwCfU/meaG6+z93Sz4GhE22ecwOg UfkAn37QeJ9af6iKoX8rnHprkz8OL+f3
=n/Y1
-----END PGP SIGNATURE-----

author
#4 lore raw

lol, i was trying the patch from andrew this time and I get different errors now..

http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/reiser4-for-2.6.27.patch.bz2

Kernel: arch/x86/boot/bzImage is ready (#1)
Building modules, stage 2
MODPOST 45 modules
ERROR: "swapper_space" [fs/reiser4/reiser4.ko] undefined! make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Am I the only one getting these errors? :(

Signature · 2 lines
View this message in context: http://www.nabble.com/Reiser4-compile-error-on-vanilla-sources-2.6.27-tp19928070p19939990.html
Sent from the ReiserFS - General mailing list archive at Nabble.com.