Click here to go to the forum index Click here for the home page
 
Author Message

<  TAP and patch development  ~  Step by step TAP compiler setup guides available.

Page 10 of 11
Goto page Previous  1, 2, 3 ... , 9, 10, 11  Next
BobD
Posted: Wed Nov 23, 2011 5:17 pm Reply with quote
MyStuff Team Joined: 03 Aug 2005 Posts: 4218
Thanks for that. Setting that, to where I can find cpp0.exe, did not help. So instead, I modified the PATH to include it, and that then found cpp0, but gave the following errors instead:

cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/include
Preferred POSIX equivalent is: /usr/include
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
In file included from dlmalloc.c:1002,
from mystuff.c:9239:
c:/cygwin/usr/include/stdlib.h:110: warning: `__warning__' attribute directive ignored
c:/cygwin/usr/include/stdlib.h:117: warning: `__warning__' attribute directive ignored
/usr/bin/as: unrecognized option `-O2'

more or less once per file.

I'll keep looking into this, but if anyone can jump in and put me out of my misery that would be good. I think I have copied across everything that was on the old laptop correctly, but perhaps not.

Cheers

_________________
FW: ChunkyWizard Recommended
TAPs:
MyStuff (always one version ahead of everyone else!), and recommended support TAPS
MyStuff skins, manual and latest version: http://www.BobDsMyStuff.co.uk
Known bugs & forthcoming fixes: http://www.BobDsMyStuff.co.uk/Bugs.shtml
Changes coming in the next version: http://www.BobDsMyStuff.co.uk/NextVersion.shtml
View user's profile Send private message Visit poster's website
mstombs
Posted: Thu Nov 24, 2011 10:46 am Reply with quote
Frequent contributor Joined: 31 Dec 2006 Posts: 937
Can you right click on the master bat file and "run as administrator" or similar, Win7 can be very fussy about letting old binaries run and create files where it doesn't want you to!
View user's profile Send private message TF5800
BobD
Posted: Thu Nov 24, 2011 6:50 pm Reply with quote
MyStuff Team Joined: 03 Aug 2005 Posts: 4218
Just tried that, and it made no difference at all Sad

_________________
FW: ChunkyWizard Recommended
TAPs:
MyStuff (always one version ahead of everyone else!), and recommended support TAPS
MyStuff skins, manual and latest version: http://www.BobDsMyStuff.co.uk
Known bugs & forthcoming fixes: http://www.BobDsMyStuff.co.uk/Bugs.shtml
Changes coming in the next version: http://www.BobDsMyStuff.co.uk/NextVersion.shtml
View user's profile Send private message Visit poster's website
BobD
Posted: Thu Nov 24, 2011 7:00 pm Reply with quote
MyStuff Team Joined: 03 Aug 2005 Posts: 4218
Just found this thread http://forum.toppy.org.uk/forum/viewtopic.php?t=13599&postdays=0&postorder=asc&highlight=cpp0&start=840 so it seems I have had this problem before!

Will go through that and see if it rings any bells.

I'm sure I searched for cpp0 before posting in this thread, but clearly not!

_________________
FW: ChunkyWizard Recommended
TAPs:
MyStuff (always one version ahead of everyone else!), and recommended support TAPS
MyStuff skins, manual and latest version: http://www.BobDsMyStuff.co.uk
Known bugs & forthcoming fixes: http://www.BobDsMyStuff.co.uk/Bugs.shtml
Changes coming in the next version: http://www.BobDsMyStuff.co.uk/NextVersion.shtml
View user's profile Send private message Visit poster's website
BobD
Posted: Thu Nov 24, 2011 7:02 pm Reply with quote
MyStuff Team Joined: 03 Aug 2005 Posts: 4218
Might have helped if in this post http://forum.toppy.org.uk/forum/viewtopic.php?p=193603#193603 I had actually said how I fixed it!

_________________
FW: ChunkyWizard Recommended
TAPs:
MyStuff (always one version ahead of everyone else!), and recommended support TAPS
MyStuff skins, manual and latest version: http://www.BobDsMyStuff.co.uk
Known bugs & forthcoming fixes: http://www.BobDsMyStuff.co.uk/Bugs.shtml
Changes coming in the next version: http://www.BobDsMyStuff.co.uk/NextVersion.shtml
View user's profile Send private message Visit poster's website
ccs
Posted: Thu Nov 24, 2011 7:08 pm Reply with quote
Frequent contributor Joined: 30 Oct 2007 Posts: 2537
Any clues here?

_________________
TF5810, F/W: MS6 Recommended F/W 12/9/2009 -FmXl+CtEzIScVdZ
TAPs: EIT Sub v0.6; EPG2MEI v0.96; MPDisplayLITE V1.2; MyInfo B5.6; SecCache (UK) v0.4; Extend v1.7; MyStuff 6.6;
Sig generated by MyInfo on 20/10/14
ccsx
View user's profile Send private message
BobD
Posted: Fri Nov 25, 2011 9:10 am Reply with quote
MyStuff Team Joined: 03 Aug 2005 Posts: 4218
Thanks, but no, no help there. Everything is spelt correctly and it all used to work on the old laptop.

_________________
FW: ChunkyWizard Recommended
TAPs:
MyStuff (always one version ahead of everyone else!), and recommended support TAPS
MyStuff skins, manual and latest version: http://www.BobDsMyStuff.co.uk
Known bugs & forthcoming fixes: http://www.BobDsMyStuff.co.uk/Bugs.shtml
Changes coming in the next version: http://www.BobDsMyStuff.co.uk/NextVersion.shtml
View user's profile Send private message Visit poster's website
BobD
Posted: Fri Nov 25, 2011 9:23 am Reply with quote
MyStuff Team Joined: 03 Aug 2005 Posts: 4218
Hum, interesting. I have now reinstalled cygwin from scratch, and then copied on top of that installation any files from my old backup of c:\cygwin that had not been installed.

MyStuff has now compiled (albeit with a couple of very minor warnings). No idea if the tap will work though, but will check that this evening.

_________________
FW: ChunkyWizard Recommended
TAPs:
MyStuff (always one version ahead of everyone else!), and recommended support TAPS
MyStuff skins, manual and latest version: http://www.BobDsMyStuff.co.uk
Known bugs & forthcoming fixes: http://www.BobDsMyStuff.co.uk/Bugs.shtml
Changes coming in the next version: http://www.BobDsMyStuff.co.uk/NextVersion.shtml
View user's profile Send private message Visit poster's website
mstombs
Posted: Fri Nov 25, 2011 9:32 am Reply with quote
Frequent contributor Joined: 31 Dec 2006 Posts: 937
Is your new laptop running 64-bit win7, vs 32-bit old XP? If so the default "Program Files" is reserved for native 64 bit apps, 32-bit ones get put into "Program Files (X86)", which might require cygwin re-install.

I notice in your bat file snip above there's a mix of upper and lower case in folder/file-names. This would matter in a Linux system or other Unix which is case-sensitive, so maybe something in cygwin gets confused?
View user's profile Send private message TF5800
BobD
Posted: Fri Nov 25, 2011 10:38 am Reply with quote
MyStuff Team Joined: 03 Aug 2005 Posts: 4218
Yup, I have gone from 32bit XP to 64 bit Win 7.

I don't think that cygwin installs anything into \PF though, so that shouldn't be an issue. Not sure about the case issue, but I will check and change the case as appropriate anyway. Thanks for that.

As per my previous post (which by the look of the time stamp I posted just as you did) it looks like it is working. I have a .tap file which is (from memory - now at work so can't check) the same size as the old one from the XP laptop. I will very gingerly copy it to the toppy tonight and see what happens!

_________________
FW: ChunkyWizard Recommended
TAPs:
MyStuff (always one version ahead of everyone else!), and recommended support TAPS
MyStuff skins, manual and latest version: http://www.BobDsMyStuff.co.uk
Known bugs & forthcoming fixes: http://www.BobDsMyStuff.co.uk/Bugs.shtml
Changes coming in the next version: http://www.BobDsMyStuff.co.uk/NextVersion.shtml
View user's profile Send private message Visit poster's website
mstombs
Posted: Sat Nov 26, 2011 4:50 pm Reply with quote
Frequent contributor Joined: 31 Dec 2006 Posts: 937
Good to hear about your progress. Apparently a good way to avoid this sort of issue in future, and to keep your new PC registry clean, is to set up a 32-bit XP virtual machine inside 64-bit Windows 7. I have used commercial vmware to run Ubuntu Linux under Windows7 or opensource virtualbox on Linux before, I notice Windows 7 has something call Virtual PC which might do something similar.

Your virtual machine image could be the size of a dvd, you run it in a window, and it could be transportable between machines. Biggest problem I have had is sharing folders with host machine, possibly because Linux under windows suffers from windows ntfs restrictions - internet access and redownloading stuff wasn't a problem! There are generally some ways to mount disks as network or virtual CD/DVD.
View user's profile Send private message TF5800
Geoff Bacon
Posted: Fri Jun 14, 2013 11:49 pm Reply with quote
Frequent contributor Joined: 12 Jan 2007 Posts: 4279
Attempting to write my first tap.

I have installed cygwin and the tool chain but don't know how to modify the MakeFile to access the FireBird's libtap.a

The output of the make command (with extra line breaks) is
Code:
C:\work\tap\trunk\taps\fsSave>make
/usr/local/topfield-gcc/bin/mips-ld --script /usr/local/topfield-gcc/mips/lib/ta
p.ld fsSave.o -L/usr/local/topfield-gcc/topfield-sdk/lib -ltap -lc -lm  -o fsSav
e.elf
fsSave.o(.text+0x51c): In function `tmInitialise':
fsSave.c: undefined reference to `HDD_ChangeDir'
../../tools/build/tap.mk:53: recipe for target `fsSave.elf' failed
make: *** [fsSave.elf] Error 1


As far as I can see, the -L option should say where the library is and it does include the file:
Code:
C:\work\tap\trunk\taps\fsSave>ls /usr/local/topfield-gcc/topfield-sdk/lib
libtap.a


libtap.a is not accessible by the which command (but perhaps that doesn't matter?)
Code:
C:\work\tap\trunk\taps\fsSave>which libtap.a
which: no libtap.a in (/cygdrive/c/CYGWIN/BIN:
/cygdrive/c/CYGWIN/USR/LOCAL/BIN:
/cygdrive/c/Program Files/Borland/Delphi7/Bin:
/cygdrive/c/Program Files/Borland/Delphi7/Projects/Bpl:
/cygdrive/c/WINDOWS/system32:
/cygdrive/c/WINDOWS:
/cygdrive/c/WINDOWS/System32/Wbem:
/cygdrive/c/Program Files/Intel/DMIX:
/cygdrive/c/Program Files/Common Files/Roxio Shared/DLLShared:
/cygdrive/c/Program Files/Common Files/Teleca Shared:
/cygdrive/c/Program Files/TortoiseGit/bin:
/cygdrive/c/Program Files/QuickTime/QTSystem)


The MakeFile is very simple:-
Code:
# The next line pulls in the rule sets for building TAPs.
include ../../tools/build/tap.mk

# The first target is the default target.
all: fsSave.tap

# A target for removing generated files.
clean:
   -rm -f *.tap *.o *.elf

fsSave.elf:: fsSave.o


Does anyone have any clues about how I can modify it so that it can resolve HDD_ChangeDir?

Geoff

_________________
TopManager program
TF5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -Sy+EvEzPfUUuZ
TAPs: PcControl B1.4; StopExit v1.01; PruneEPG 1.0; fsSave 1.1; QuickJump 1.72; SecCache (UK) v0.4; EIT Sub (Game) v0.6; EPG2MEI v0.96; MyStuff 6.6; Bookmark 3.0; Extend v1.7; Font Manager 1.0d; MyInfo B5.6; MHEG On/Off A3;
Sig generated by EMJB's MyInfo.tap on 29/12/18
View user's profile Send private message Visit poster's website
EMJB
Posted: Sat Jun 15, 2013 9:15 am Reply with quote
Frequent contributor Joined: 08 Jul 2005 Posts: 3632 Location: Maldon Essex
I always include it in the individual TAP "Makefile" e.g. for Channel Organiser:

ChannelOrganiser.elf:: ChannelOrganiser.o IniFiles.o ConfigMenu.o CoUtils.o LcnChange.o ChannelStatus.o Scan.o DeleteChannels.o Favourites.o FPDPage.o Timers.o AsOps.o ../../../libs/EMJB/EmjbFlashInit.o ../../../libs/EMJB/EMJBLib.a ../../../libs/FB/LibFireBird.a

EMJB

_________________
Silver 5800, Board Rev 1.2, MS recomm F/W, Sudbury Tx, varying TAP config
View user's profile Send private message
Geoff Bacon
Posted: Sat Jun 15, 2013 9:25 am Reply with quote
Frequent contributor Joined: 12 Jan 2007 Posts: 4279
@EMJB

That was very easy!

Many thanks
Geoff

_________________
TopManager program
TF5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -Sy+EvEzPfUUuZ
TAPs: PcControl B1.4; StopExit v1.01; PruneEPG 1.0; fsSave 1.1; QuickJump 1.72; SecCache (UK) v0.4; EIT Sub (Game) v0.6; EPG2MEI v0.96; MyStuff 6.6; Bookmark 3.0; Extend v1.7; Font Manager 1.0d; MyInfo B5.6; MHEG On/Off A3;
Sig generated by EMJB's MyInfo.tap on 29/12/18
View user's profile Send private message Visit poster's website
DB1
Posted: Thu Nov 14, 2013 12:47 pm Reply with quote
Frequent contributor Joined: 30 Mar 2005 Posts: 728 Location: Orpington
I am trying to rebuild UKAS. I have got the 073 source from Berlios and also the pre-built Linux toolchain which I have installed on my Ubuntu laptop. taptest compiles fine.

However, running make in the UKAS directory throws an error

No rule to make target ../../tools/build/tap.mk

Now I am building on *nix rather than windows - I assume it was built on windows as all the text files have win line endings. I guess I am missing some other package - but what?

TIA

_________________
TF5800, F/W: 5.13.65AbBfBqC0CbCeCkCwCyDEcEeEfErEsEvEzFFsGmHHeIKtNfOtPPcPePsRRaRhRpRsSSdSrStT2TdTfTpUUuXXpXwXl TAPs: TF5000 Display v1.53; QuickJump 1.72; Power Manager v2.2; MyInfo B5.6; DescriptionExtender 2.23; Remote Extender 1.6; Archivev1.0a; mei2archive BETA 3.8l7; EPGnavigator v5.1c; UK Auto Scheduler v0.73.1; Extend v1.7; Power Restore V0.7.8
Tx: CP
Sig generated by MyInfo on 14/4/13
View user's profile Send private message

Display posts from previous:  

All times are GMT + 1 Hour
Page 10 of 11
Goto page Previous  1, 2, 3 ... , 9, 10, 11  Next

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum