Sign in Join

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

Mailing lists / fpc-pascal / 2010-06

What do these errors mean?

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Roger Bailey

Following a clean compile (Under XCode) I get:

"_main", referenced from:
start in crt1.10.6.o

[ several dozen similar messages relating to user-defined routines snipped ]

"fpc_shortstr_to_shortstr", referenced from:

[ snip ]

ld: symbol(s) not found
collect2: ld returned 1 exit status

Presumably these are linker messages. Where do I go from here?

Jonas Maebe
to Roger Bailey
Roger Bailey wrote
Presumably these are linker messages. Where do I go from here?

Which FPC version are you using and where did you download it from?

Which Xcode version are you using?

Which FPC Xcode template are you using?

Did you make any changes to the project?

Please clean the project, then build it and attach the resulting entire build log (zipped).

The errors means that for some reason, the FPC run time library is not linked into the project.

Jonas