Sign in Join

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

Mailing lists / lazarus / 1999-11

Errors while compiling with -g

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Marc Weustink
to Shane Miller: Here are the errors I get while linking lazarus.pp I did a ppc386 -g lazarus.pp…
Shane wrote 7 lines
Here are the errors I get while linking lazarus.pp I did a ppc386 -g lazarus.pp /usr/lib/fpc/gtk/gdk/gdk.o: In function 'GDK_FONT_FONT': /usr/lib/fpc/gtk/gdk/gdkx.pp:112: undefined reference to 'gdk_debug_level' /usr/lib/fpc/gtk/gdk/gdkx.pp:112: undefined reference to 'gdk_show_events' /usr/lib/fpc/gtk/gdk/gdkx.pp:112: undefined reference to 'gdk_stack_trace'

defined in 225

/usr/lib/fpc/gtk/glib/glib.o: In function 'SET_YEAR': /usr/lib/fpc/gtk/glib/glib.pp:1647: undefined reference to 'exportfunc' /usr/lib/fpc/gtk/glib/glib.pp:1647: undefined reference to 'exportprefix' /usr/lib/fpc/gtk/glib/glib.pp:1647: undefined reference to 'exportcache'

defined in a {$ifndef gtkwin} block in 894.

These are familiar. I got them as well. I just commented these lines out. Everything compiles, links and runs ok. I don't (want to) know what couses this.

Marc

Reply by email

Shane Miller

Here are the errors I get while linking lazarus.pp I did a ppc386 -g lazarus.pp

/usr/lib/fpc/gtk/gdk/gdk.o: In function 'GDK_FONT_FONT': /usr/lib/fpc/gtk/gdk/gdkx.pp:112: undefined reference to 'gdk_debug_level' /usr/lib/fpc/gtk/gdk/gdkx.pp:112: undefined reference to 'gdk_show_events' /usr/lib/fpc/gtk/gdk/gdkx.pp:112: undefined reference to 'gdk_stack_trace' /usr/lib/fpc/gtk/glib/glib.o: In function 'SET_YEAR': /usr/lib/fpc/gtk/glib/glib.pp:1647: undefined reference to 'exportfunc' /usr/lib/fpc/gtk/glib/glib.pp:1647: undefined reference to 'exportprefix' /usr/lib/fpc/gtk/glib/glib.pp:1647: undefined reference to 'exportcache'

any thoughts?

Shane

Reply by email