Sign in Join

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

Mailing lists / fpc-pascal / 2005-07

libvga (graph unit)

2 messages · 1 person · –

Reply by email Subscribe to this list Your subscription

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

Andres K. Foerster

Hello,

I have a problem with the graph unit. The program compiles fine under GNU/Linux, but not on FreeBSD. The SVGAlib is installed. But when linking I get the following:

| Linking grquiz
| /usr/local/lib/fpc/2.0.0/units/i386-freebsd/rtl/cprt0.o: In function `_start': | /usr/local/lib/fpc/2.0.0/units/i386-freebsd/rtl/cprt0.o(.text+0x99): undefined reference to `_init_tls' | Error: Error while linking
| Error: /usr/local/bin/ppc386 returned an error exitcode (normal if you | did not specifiy a source file to be compiled)

I use FreeBSD 5.2.1.
What is wrong? Do I need a newer version? - I would prefer if I could get it going with tis version.

AKFoerster

Reply by email

Andres K. Foerster
to Andres K. Foerster
Andres K. Foerster wrote 16 lines
Hello, I have a problem with the graph unit. The program compiles fine under GNU/Linux, but not on FreeBSD. The SVGAlib is installed. But when linking I get the following: | Linking grquiz | /usr/local/lib/fpc/2.0.0/units/i386-freebsd/rtl/cprt0.o: In function `_start': | /usr/local/lib/fpc/2.0.0/units/i386-freebsd/rtl/cprt0.o(.text+0x99): undefined reference to `_init_tls' | Error: Error while linking | Error: /usr/local/bin/ppc386 returned an error exitcode (normal if you | did not specifiy a source file to be compiled) I use FreeBSD 5.2.1. What is wrong? Do I need a newer version? - I would prefer if I could get it going with tis version.

Pity, that I didn't get an answer here.
I "solved" the problem now by downgrading to FPC 1.9.8 again.

AKFoerster

Reply by email