sm-grimoire AT lists.ibiblio.org
Subject: Discussion of Spells and Grimoire items
List archive
- From: "Eric Sandall" <eric AT sandall.us>
- To: <sm-grimoire AT lists.ibiblio.org>
- Subject: Re: [SM-Grimoire]kernel 2.5.xx
- Date: Thu, 7 Nov 2002 22:01:31 -0800 (PST)
Craig,
If you're applying any of the patches (i.e. XFS, grsec, preempt, etc.),
then try it without as I believe most (all?) of these are for the 2.4.x
kernels.
-One of Four
a.k.a. sandalle
Craig Dyke said:
> Anyone else using the latest versions of 2.5 kernels having problems
> compiling stuff?
>
> I am finding that a recurring theme amongst my broken casts is that the
> compile complains of 'redefinition' of a function / variable.
>
> eg. cast -c lilo
>
> Error:
>
> cc -c -O2 -Wall -g `( if [ -r $ROOT/etc/lilo.defines ]; then cat
> $ROOT/etc/lilo.defines; else
> echo -DBDATA -DBUILTIN -DDSECS=3 -DIGNORECASE -DLBA32 -DLVM -DEVMS
> -DM386 -D ONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN
> -DVARSETUP -DVERS ION -DUNIFY; fi ) | sed 's/-D/-DLCF_/g'` `[ -r
> /usr/include/asm/boot.h ] && echo -DHAS_BOOT_H` `cat mylilo.h` lilo.c
> In file included from /usr/include/linux/timex.h:54,
> from /usr/include/linux/sched.h:13,
> from /usr/include/linux/device.h:30,
> from /usr/include/linux/genhd.h:15,
> from common.h:20,
> from lilo.c:25:
> /usr/include/linux/time.h:9: redefinition of `struct timespec' <==
> REDEFINITION ERROR
> /usr/include/linux/time.h:15: redefinition of `struct timeval' <==
> REDEFINITION ERROR
> In file included from /usr/include/linux/sched.h:14,
> from /usr/include/linux/device.h:30,
> from /usr/include/linux/genhd.h:15,
> from common.h:20,
> from lilo.c:25:
> /usr/include/linux/jiffies.h:11: parse error before "jiffies_64"
> In file included from /usr/include/linux/sched.h:22,
> from /usr/include/linux/device.h:30,
> from /usr/include/linux/genhd.h:15,
> from common.h:20,
> from lilo.c:25:
> /usr/include/asm/mmu.h:12: field `sem' has incomplete type
> /usr/include/asm/mmu.h:14: confused by earlier errors, bailing out make:
> *** [lilo.o] Error 1
> rm temp2.img
>
> Also: cast -c samba
>
> Error:
>
> gcc -shared -o bin/pam_smbpass.so pam_smbpass/pam_smb_auth.po
> pam_smbpass/pam_smb_passwd.po pam_smbpass/pam_smb_acct.po
> pam_smbpass/support.po lib/debug.po lib/util_sid.po lib/messages.po
> lib/util_str.po lib/wins_srv.po lib/substitute.po lib/select.po
> lib/util.po nsswitch/wb_client.po nsswitch/wb_common.po lib/system.po
> lib/charset.po lib/util_file.po lib/kanji.po lib/genrand.po
> lib/username.po
> lib/util_getent.po lib/charcnv.po lib/time.po lib/md4.po
> lib/util_unistr.po lib/signal.po lib/talloc.po lib/ms_fnmatch.po
> lib/util_sock.po lib/smbrun.po lib/util_sec.po lib/snprintf.po
> ubiqx/ubi_sLinkList.po libsmb/smbencrypt.po libsmb/smbdes.po smbd/ssl.po
> lib/access.po lib/interfaces.po
> param/loadparm.po param/params.po tdb/tdb.po tdb/spinlock.po
> tdb/tdbutil.po passdb/passdb.po passdb/secrets.po passdb/pass_check.po
> passdb/smbpassfile.po passdb/machine_sid.po passdb/pdb_smbpasswd.po
> passdb/pampass.po passdb/pdb_tdb.po passdb/pdb_ldap.po
> passdb/pdb_nisplus.po -L/usr/local/ssl/lib -s -lpam -Wl,--export-dynamic
> -ls sl -lcrypto -lcups -lssl -lcrypto -lnsl -lpam -lc \
> -Wl,-soname=`basename bin/pam_smbpass.so`
> Compiling client/smbmount.c
> In file included from /usr/include/linux/vfs.h:4,
> from /usr/include/linux/fs.h:14,
> from /usr/include/linux/smb_fs.h:15,
> from client/smbmount.c:28:
> /usr/include/asm/statfs.h:12: redefinition of `struct statfs' <==
> REDEFINITION ERROR
> make: *** [client/smbmount.o] Error
>
> Now all these errors seem to magically go away when using kernel 2.4.19.
> Some might say just stick with 2.4.19 but the 2.5.xx kernels have helped
> me straighten out some other
> problems which the 2.4.19 hasn't overcome yet.
>
> Any suggestions would be appreciated :))
>
> Craig
>
>
>
> _______________________________________________
> SM-Grimoire mailing list
> SM-Grimoire AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-grimoire
--
PGP Key 0x5C8D199A5A317214
Fingerprint=14C0 C194 163E 57CB 0F1B ED87 5C8D 199A 5A31 7214
Eric Sandall | Source Mage GNU/Linux
Developer
eric AT sandall.us | http://www.sourcemage.org
http://www.sandall.us/~sandalle | SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org #196285 | http://www.shock.wsu.edu/
-
[SM-Grimoire]kernel 2.5.xx,
Craig Dyke, 11/07/2002
- Re: [SM-Grimoire]kernel 2.5.xx, Eric Sandall, 11/07/2002
- Re: [SM-Grimoire]kernel 2.5.xx, Jens Laas, 11/08/2002
Archive powered by MHonArc 2.6.24.