Unoffical empeg BBS

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

Topic Options
#175825 - 19/08/2003 11:33 Hijack patch issue and compile error
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
The hijack v337 and v338 patches don't seem to apply cleanly. I started with v300 from Mark's site and patched up from there, everything else applied cleanly except these two which are offset by a bit....


mcomb@grovepc:~/empeg/v300$ patch -p1 < v336-v337.patch
patching file arch/arm/def-configs/empeg-car2
patching file arch/arm/special/hijack.c
Hunk #6 succeeded at 5036 (offset -22 lines).
Hunk #7 succeeded at 5096 (offset -22 lines).
Hunk #8 succeeded at 5157 (offset -22 lines).
Hunk #9 succeeded at 5247 (offset -22 lines).
patching file drivers/char/serial_sa1100.c
patching file Makefile
mcomb@grovepc:~/empeg/v300$ patch -p1 < v337-v338.patch
patching file arch/arm/special/hijack.c
Hunk #7 succeeded at 5037 (offset -22 lines).
Hunk #8 succeeded at 5097 (offset -22 lines).
Hunk #9 succeeded at 5157 (offset -22 lines).
Hunk #10 succeeded at 5247 (offset -22 lines).
patching file drivers/char/serial_sa1100.c
patching file Makefile


I am also getting an error compiling v340...

arm-empeg-linux-gcc -D__KERNEL__ -I/home/mcomb/empeg/v300/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 `/home/mcomb/empeg/v300/arch/arm/kernel'
make: *** [_dir_arch/arm/kernel] Error 2


If I remove the redefined mktime from time.c it compiles fine. So I am wondering if one of the two patches that didn't apply quite right was missing something that would fix this mktime error? Mark?

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#175826 - 19/08/2003 11:45 Re: Hijack patch issue and compile error [Re: mcomb]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Somebody else noted that (unclean patch) earlier, and I've since updated the patch on the website to fix the problem -- refetch it (plus or minus one).

Cheers

Top
#175827 - 19/08/2003 11:46 Re: Hijack patch issue and compile error [Re: mcomb]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
The mktime thingie seems dependent on something in the build environment, or possibly the environment in which the tools were built -- just hack it so that it works for you.

Cheers

Top
#175828 - 19/08/2003 11:56 Re: Hijack patch issue and compile error [Re: mlord]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
I've since updated the patch on the website to fix the problem

FYI, I have just fetched fresh copies of v300 and all the patches from there up and am still getting the patch offset.

Thanks for the tip on mktime.

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#175829 - 19/08/2003 14:03 Re: Hijack patch issue and compile error [Re: mcomb]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Well, ignore it then.

Cheers

Top
#175830 - 19/08/2003 15:00 Re: Hijack patch issue and compile error [Re: mlord]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
Well, ignore it then.

Happily ignoring

The kernel built from it works fine, just wanted to make sure there wasn't anything important missing.

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#175831 - 19/08/2003 17:25 Re: Hijack patch issue and compile error [Re: mcomb]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Oh, I'm sure those 22 offset lines might have something interesting on them, but definitely not essential, except on certain dates.

Cheers

Top