Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2011-06

Just my luck - trying to build fpc, got yet another error

6 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Martin

I was trying to upgrade fpc (sv) on an older fedora

Any ideas?

/usr/bin/ld: warning: ./link.res contains output sections; did you forget -T?
/home/martin/fpc/svn/trunk/compiler/ppc386 -Ur -Xs -O2 -n -S2h -Fu/home/martin/fpc/svn/trunk/rtl/units/i386-linux -Fu/home/martin/fpc/svn/trunk/packages/fcl-base/units/i386-linux -Fu/home/martin/fpc/svn/trunk/packages/iconvenc/units/i386-linux -Fu/home/martin/fpc/svn/trunk/packages/fcl-xml/units/i386-linux -Fu/home/martin/fpc/svn/trunk/packages/fcl-passrc/units/i386-linux -Fu/home/martin/fpc/svn/trunk/packages/chm/units/i386-linux -FE. -FUunits/i386-linux -Fl/usr/lib/gcc/i686-redhat-linux/4.4.4 -Flinclude -Flld.so.conf.d/*.conf -di386 -dRELEASE fpclasschart.pp /usr/bin/ld: warning: ./link.res contains output sections; did you forget -T?
make[3]: Leaving directory `/home/martin/fpc/svn/trunk/utils/fpdoc' make -C fpcmkcfg all
make[3]: Entering directory `/home/martin/fpc/svn/trunk/utils/fpcmkcfg' __missing_command_DATA2INC -b -s fpinc.cfg fpcfg.inc fpcfg make[3]: __missing_command_DATA2INC: Command not found make[3]: *** [fpcfg.inc] Error 127
make[3]: Leaving directory `/home/martin/fpc/svn/trunk/utils/fpcmkcfg' make[2]: *** [fpcmkcfg_all] Error 2
make[2]: Leaving directory `/home/martin/fpc/svn/trunk/utils' make[1]: *** [utils_all] Error 2
make[1]: Leaving directory `/home/martin/fpc/svn/trunk' make: *** [build-stamp.i386-linux] Error 2
fpc]$

Reply by email

Marco van de Voort
to Martin

In our previous episode, Martin said:

I was trying to upgrade fpc (sv) on an older fedora Any ideas?

1) obviously, install data2inc :-)

2) Try to skip by passing DATA2INC=echo
3) touch the .inc file so that it is newer, and make won't try to rebuild.

Reply by email

Martin
to Marco van de Voort
Marco van de Voort wrote 5 lines
In our previous episode, Martin said: > I was trying to upgrade fpc (sv) on an older fedora > > Any ideas? 1) obviously, install data2inc :-)

Add/Remove Software under my fedora13 does not find anything, if I search for data2inc

2) Try to skip by passing DATA2INC=echo

That worked, tanks

3) touch the .inc file so that it is newer, and make won't try to rebuild. _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Jonas Maebe
to Martin
Martin wrote 7 lines
On 15/06/2011 21:31, Marco van de Voort wrote: > In our previous episode, Martin said: >> I was trying to upgrade fpc (sv) on an older fedora >> >> Any ideas? > 1) obviously, install data2inc :-) Add/Remove Software under my fedora13 does not find anything, if I search for data2inc

It's part of any default FPC install.

Jonas

Reply by email

Martin
to Jonas Maebe
Jonas Maebe wrote
) > Add/Remove Software under my fedora13 does not find anything, if I search for data2inc It's part of any default FPC install.

Oh, ok.

I haven't installed fpc in a long time, only updated from svn.

Reply by email

Marco van de Voort
to Martin: Add/Remove Software under my fedora13 does not find anything, if I search for data2inc…

In our previous episode, Martin said:

Show quoted text 7 lines
> In our previous episode, Martin said: >> I was trying to upgrade fpc (sv) on an older fedora >> >> Any ideas? > 1) obviously, install data2inc :-) Add/Remove Software under my fedora13 does not find anything, if I search for data2inc

Bootstrapping FPC requires the previous release. With a bit of skill you can reduce that to only the commandline compiler using tricks like I named, but that is much harder to support, so the formal status afaik is an installed release.

Data2inc is one of the utils, and should be in the Fedora RPM you used to

Reply by email