Tiny Core Extensions > TCE Corepure64

flwm won't compile

<< < (2/2)

wysiwyg:
@Juanito
I just ended up pulling each file down from your referenced link (would be much better to have a tgz file) and attempted to recompile again.  Still no go...  Below is the snipped output from the attempt.

main.C:(.text._ZL10initializev+0x70): undefined reference to `Fl_Window::cursor(Fl_Cursor, Fl_Color, Fl_Color)'
main.C:(.text._ZL10initializev+0x89): undefined reference to `Fl::set_font(Fl_Font, char const*)'
main.C:(.text._ZL10initializev+0x98): undefined reference to `Fl::set_color(Fl_Color, unsigned int)'
/tmp/ccJnyeF0.o: In function `color_setup(Fl_Color, char const*, unsigned long)':
main.C:(.text._ZL11color_setup8Fl_ColorPKcm+0x7c): undefined reference to `Fl::set_color(Fl_Color, unsigned int)'
/tmp/ccJnyeF0.o: In function `main':
main.C:(.text.main+0xc7): undefined reference to `Fl::set_color(Fl_Color, unsigned char, unsigned char, unsigned char)'
/tmp/ccJnyeF0.o:(.rodata._ZTI7Fl_Root[_ZTI7Fl_Root]+0x10): undefined reference to `typeinfo for Fl_Window'
collect2: error: ld returned 1 exit status

Still no clue about that collect2 error as gcc is installed.

Thanks,
Dave

Juanito:
I just tried it for myself - see slightly updated instructions at:

http://tinycorelinux.net/6.x/x86_64/tcz/src/flwm/compile_flwm

..and it works fine (albeit with a bunch of warning messages).

As per the bottom left hand corner of the git page, if you'd like to download the source, use:
--- Code: ---$ git clone http://git.tinycorelinux.net/flwm
--- End code ---

wysiwyg:
Good morning all!  I was able to give this another go this morning with the updated config script and it seems everything works as designed, thanks Juanito.  It looked like I was missing the Xorg-7.7-dev package during my compiling (and possible some compile flags).  I would like to mention that the script should also add in a tce-load call for curl as it bombed without it (dependency for git it appears).

Also, I don't use git so it was a little unfamiliar to me, but it seems to be working now.  Thanks again!

Dave

Navigation

[0] Message Index

[*] Previous page

Go to full version