Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#216053 - 10/05/2004 17:14 problem compiling up hijack 389
skibum
enthusiast

Registered: 27/03/2002
Posts: 248
Loc: Swindon, UK
I decided to test out v389, but as I require ext3 I decided to compile it up as Mike hasn't as yet. I'd done them in the past so I thought why not (although last time I tried was before Mark was splitting each revision (so about v300).

Anyway, I started with a clean slate as far as the empeg source were concerned. I untared the v387 and applied the 2 patches to that.

Then did the the rest.

Anyway during the build it fails with :-

arm-empeg-linux-gcc -D__KERNEL__ -I/data/empeg/tarballs/kernel/v389/include -Wall -Wstrict-prototypes -O2 -fno-strict-aliasing -pipe -msoft-float -march=armv4
-mtune=strongarm110 -c -o time.o time.c
time.c:68: redefinition of `mktime'
/usr/local/armtools-empeg/lib/gcc-lib/arm-empeg-linux/2.95.3/../../../../arm-empeg-linux/include/linux/time.h:71: `mktime' previously defined here
time.c:86: warning: `do_profile' defined but not used
make[1]: *** [time.o] Error 1
make[1]: Leaving directory `/data/empeg/tarballs/kernel/v389/arch/arm/kernel'
make: *** [_dir_arch/arm/kernel] Error 2

Oh at this point I haven't changed the .config file to enable ext3.

Any ideas?
_________________________
Andy MK2a 60GB Amber 040103916 32mb/Light Kit MK2a 50GB Amber 030102560 32mb

Top
#216054 - 10/05/2004 20:47 Re: problem compiling up hijack 389 [Re: skibum]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14484
Loc: Canada
Just edit v389/arch/arm/kernel/time.c and comment out the offending mktime() function around line 68. Something different between my build setup and that which nearly everyone else ends up with.

Cheers

Top
#216055 - 10/05/2004 21:07 Hijack v390 [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14484
Loc: Canada
I'll put out Hijack v390 in 10 minutes or so with the long delayed fix for this annoyance.

cheers

Top
#216056 - 11/05/2004 02:36 Re: Hijack v390 [Re: mlord]
skibum
enthusiast

Registered: 27/03/2002
Posts: 248
Loc: Swindon, UK
Mark thanks for that. I'll try that after work. Then should be able to test v390+ext3 on a mk2a.
_________________________
Andy MK2a 60GB Amber 040103916 32mb/Light Kit MK2a 50GB Amber 030102560 32mb

Top
#216057 - 11/05/2004 13:19 Re: Hijack v390 [Re: skibum]
skibum
enthusiast

Registered: 27/03/2002
Posts: 248
Loc: Swindon, UK
v390+ext3 works fine on my 16mb mk2a. Hopefully the same when I get my 32mb
_________________________
Andy MK2a 60GB Amber 040103916 32mb/Light Kit MK2a 50GB Amber 030102560 32mb

Top
#216058 - 20/05/2004 18:17 Re: problem compiling up hijack 389 [Re: skibum]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
I decided to compile it up as Mike hasn't as yet

I finally got off my lazy a** and put up an updated version (391) today. I wouldn't normally bother posting about it, but I was 20 some odd versions out of date so I figured somebody else might be interested in a more current version.

The one I just posted also has the dubious distinction of having been compiled under OS X (thats a first, for me at least).

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top