Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

BeOS Kompilierungsfehler

Empfohlene Antworten

Hi,

ich bin grad am FreeCNC-kompilieren unter BeOS. Benutzen tu ich den gcc 2.96.3. Ich kriege folgende Fehlermeldung, mit der ich rein garnix anfangen kann :

g++ -o ../../../mix.vfs -g blowfish.o mixvfs.o ws-key.o

/boot/develop/lib/x86/start_dyn.o: In function `_start':

/boot/develop/lib/x86/start_dyn.o(.text+0x5d): undefined reference to `main'

collect2: ld returned 1 exit status

make[2]: *** [all] Error 1

make[2]: Leaving directory `/boot/home/Downloads/freecnc++/src/vfs/vfs_mix'

make[1]: *** [plugins] Error 2

make[1]: *** Waiting for unfinished jobs....

make[1]: Leaving directory `/boot/home/Downloads/freecnc++/src'

make: *** [all] Error 2

Zunächst war das Problem, dass LD die option -shared nicht akzeptierte, obwohl sie mit ld --help bekannt ist. auch die dort genannte -Bshareable hilft nicht, weil sie falsch interpretiert wird.

Jemand ne Idee?

Grüsse,

comrad

Ich würde das mal so deuten, dass es keine "main" Funktion in den Objektfiles gibt, die Du linken moechtest. Daher ist der Compiler auch nicht in der Lage, ein gueltiges executable zu erzeugen. Die Frage ist, ob der Aufruf


g++ -o ../../../mix.vfs -g blowfish.o mixvfs.o ws-key.o 

auch tatsächlich eine ausführbare Datei erzeugen soll, oder ob eine Bibliothek erstellt werden soll.

Nic

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.