Re: [fpc-pascal] Linker error on simple program (windows)

2021-06-24 Thread Sven Barth via fpc-pascal
Bart via fpc-pascal schrieb am Mi., 23. Juni 2021, 18:59: > The error goes away if I remove the inline directive from the function > definition in the interface section, or if I also declare the other > function (which gives the linker error) in the interface section. > The compiler shouldn't do

Re: [fpc-pascal] Linker error

2015-12-18 Thread Jonas Maebe
Mattias Gaertner wrote on Fri, 18 Dec 2015: On Fri, 18 Dec 2015 11:30:00 +0100 Jonas Maebe wrote: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807170#19 Does that mean the fpc 3.0.0 (rc-buggy) package only works on debian unstable? It should work on Debian experimental/rc-buggy and

Re: [fpc-pascal] Linker error

2015-12-18 Thread Mattias Gaertner
On Fri, 18 Dec 2015 11:30:00 +0100 Jonas Maebe wrote: > > Mattias Gaertner wrote on Fri, 18 Dec 2015: > > > What could be the cause of this linker error: > > > > main.pp(6923,23) Warnung: Symbol "CommandLine" ist veraltet > > /usr/bin/ld.bfd: warning: ../link.res contains output sections; did

Re: [fpc-pascal] Linker error

2015-12-18 Thread Jonas Maebe
Mattias Gaertner wrote on Fri, 18 Dec 2015: What could be the cause of this linker error: main.pp(6923,23) Warnung: Symbol "CommandLine" ist veraltet /usr/bin/ld.bfd: warning: ../link.res contains output sections; did you forget -T? /usr/bin/ld.bfd: /usr/lib/fpc/3.0.0/units/x86_64-linux/rtl/

Re: [fpc-pascal] Linker error

2015-12-17 Thread Jonas Maebe
Mattias Gaertner wrote: What could be the cause of this linker error: main.pp(6923,23) Warnung: Symbol "CommandLine" ist veraltet /usr/bin/ld.bfd: warning: ../link.res contains output sections; did you forget -T? /usr/bin/ld.bfd: /usr/lib/fpc/3.0.0/units/x86_64-linux/rtl/cprt0.o: unrecognized

Re: [fpc-pascal] Linker Error: what does this mean?

2013-01-25 Thread Tomas Hajny
n with your existing username and password. Hope this helps Tomas > - Original Message - > From: "Tomas Hajny" > To: "FPC-Pascal users discussions" > Sent: Thursday, January 24, 2013 9:32 AM > Subject: Re: [fpc-pascal] Linker Error: what does this mean?

Re: [fpc-pascal] Linker Error: what does this mean?

2013-01-25 Thread Gerhard Scholz
have it, of course I can also mail the files. Gerhard - Original Message - From: "Tomas Hajny" To: "FPC-Pascal users discussions" Sent: Thursday, January 24, 2013 9:32 AM Subject: Re: [fpc-pascal] Linker Error: what does this mean? On Wed, January 23, 2013 2

Re: [fpc-pascal] Linker Error: what does this mean?

2013-01-24 Thread Tomas Hajny
On Wed, January 23, 2013 23:56, Gerhard Scholz wrote: Hello, > thanks for the hint with the -Xe parameter (the external linker is damned > slow!), now it compiles. . . I'm glad that the external linker helped. Indeed, slowness of the external linker is one of reasons for using the internal on

Re: [fpc-pascal] Linker Error: what does this mean?

2013-01-23 Thread Gerhard Scholz
the help. Greetings Gerhard - Original Message - From: "Tomas Hajny" To: "FPC-Pascal users discussions" Sent: Wednesday, January 23, 2013 1:00 AM Subject: Re: [fpc-pascal] Linker Error: what does this mean? On 23 Jan 13, at 0:01, Gerhard Scholz wrote: The

Re: [fpc-pascal] Linker Error: what does this mean?

2013-01-22 Thread Tomas Hajny
On 23 Jan 13, at 0:01, Gerhard Scholz wrote: > The files are completed compiled with FPC, no renaming of VPascal object > files. > > The only explanation I have that it must have to do with the size of the > file; the .o has 8 MB and just defines some CONST and VAR structures, no > code. Assu

Re: [fpc-pascal] Linker Error: what does this mean?

2013-01-22 Thread Gerhard Scholz
8.380.376 bytes, the .OBJ made by vp has 7.002.097 bytes. - Original Message - From: "Tomas Hajny" To: "FPC-Pascal users discussions" Sent: Tuesday, January 22, 2013 10:13 PM Subject: Re: [fpc-pascal] Linker Error: what does this mean? On 22 Jan 13, at 21:31,

Re: [fpc-pascal] Linker Error: what does this mean?

2013-01-22 Thread Tomas Hajny
On 22 Jan 13, at 21:31, Gerhard Scholz wrote: > Question: what's the reason for this error? > > Linking .\read.exe > Error: Failed reading coff file, illegal reloctype $ while reading > .\U_UNIDAT > > The program compiles wonderfully with VirtualPascal; I wanted to recompile > it with FPC.

Re: [fpc-pascal] linker error when cross compile for arm

2010-11-07 Thread Michael Fung
Many Thanks Jonas! Now I know my SDK may be broken. Rgds, Michael On 2010/11/8 上午 05:06, Jonas Maebe wrote: > > On 06 Nov 2010, at 04:18, Michael Fung wrote: > >> But when I try to compile a program with the synapse units it gives the >> following error: >> >> /usr/lib/fpc/2.5.1/units/arm-linu

Re: [fpc-pascal] linker error when cross compile for arm

2010-11-07 Thread Jonas Maebe
On 06 Nov 2010, at 04:18, Michael Fung wrote: > But when I try to compile a program with the synapse units it gives the > following error: > > /usr/lib/fpc/2.5.1/units/arm-linux/rtl/cprt0.o: In function > `_haltproc_eabi': > (.text+0x88): undefined reference to `_fini' > /usr/lib/fpc/2.5.1/units

Re: [fpc-pascal]Linker error with OpenGL and SDL (long message)

2003-10-27 Thread Marco van de Voort
> Marco, the link.res seems to be o.k . It looks like this: > > SEARCH_DIR(/usr/lib/) > SEARCH_DIR(/usr/X11R6/lib/) > SEARCH_DIR(/usr/local/lib/) > SEARCH_DIR(/usr/local/lib/fpc/1.0.10/units/freebsd/rtl/) > SEARCH_DIR(/usr/local/lib/fpc/1.0.10/units/freebsd/SDL4Freepascal-1.2.0.0/) > etc. Hmm,

Re: [fpc-pascal]Linker error with OpenGL and SDL (long message)

2003-10-27 Thread Marco van de Voort
> > > Now, the whole thing is bewildering, because I get a second error message > which is diffrent from the old one. > The message looks like this: > > -bash-2.05b$ fpc demo01.pp > Free Pascal Compiler version 1.0.10 [2003/06/27] for i386 > Copyright (c) 1993-2003 by Florian Klaempfl > Targe

Re: [fpc-pascal]Linker error with OpenGL and SDL (long message)

2003-10-27 Thread Karim
Hello Marco, the link.res seems to be o.k . It looks like this: SEARCH_DIR(/usr/lib/) SEARCH_DIR(/usr/X11R6/lib/) SEARCH_DIR(/usr/local/lib/) SEARCH_DIR(/usr/local/lib/fpc/1.0.10/units/freebsd/rtl/) SEARCH_DIR(/usr/local/lib/fpc/1.0.10/units/freebsd/SDL4Freepascal-1.2.0.0/) etc. I don`t know e

Re: [fpc-pascal]Linker error with OpenGL and SDL

2003-10-26 Thread Marco van de Voort
[ Charset ISO-8859-1 unsupported, converting... ] > Hello > > I installed the SDL Bindings for FPC (FreeBSD). I compiled the bindings > and copied > the all .ppu and object files in a SDL units directory. > Now, I want to test sdl and the bindings with the examples the comes with > the it. Like de

Re: [fpc-pascal]Linker error under FreeBSD

2003-07-09 Thread Marco van de Voort
> I tried to compile a program with fpc (for FreeBSD). It sounds like you tried to build a LInux specific program :-) > The objectfile was build, but the linker put an error msg on the screen. > linking > /usr/bin/ld cannot find -ldl File libdl is missing. However these calls are integrated i