problem compiling up hijack 389

Posted by: skibum

problem compiling up hijack 389 - 10/05/2004 17:14

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?
Posted by: mlord

Re: problem compiling up hijack 389 - 10/05/2004 20:47

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
Posted by: mlord

Hijack v390 - 10/05/2004 21:07

I'll put out Hijack v390 in 10 minutes or so with the long delayed fix for this annoyance.

cheers
Posted by: skibum

Re: Hijack v390 - 11/05/2004 02:36

Mark thanks for that. I'll try that after work. Then should be able to test v390+ext3 on a mk2a.
Posted by: skibum

Re: Hijack v390 - 11/05/2004 13:19

v390+ext3 works fine on my 16mb mk2a. Hopefully the same when I get my 32mb
Posted by: mcomb

Re: problem compiling up hijack 389 - 20/05/2004 18:17

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