Page 1 of 1

Linux example Makefile?

PostPosted: Jul 16, 2008 @ 6:57pm
by CHRISGNICHOLAS
Hi - I am wondering if there are any examples of how to build under Linux, and which additional libraries to link with...

I am just trying to build the 'FileDemo' with the following line:

g++ -I../../../include/ -o filedemo filedemo.cpp -L/usr/X11R6/lib -L../../../lib/linux-x86 -ledge -ledgerender -lGL

and am getting lots of undefined references in libedge.a to things like "inflate", "deflate", "__stack_chk_fail", etc.

thanks!
Chris

PostPosted: Jul 17, 2008 @ 7:53am
by edge

PostPosted: Jul 17, 2008 @ 10:56am
by CHRISGNICHOLAS

PostPosted: Jul 17, 2008 @ 11:28am
by CHRISGNICHOLAS

PostPosted: Jul 21, 2008 @ 12:09pm
by edge
Hi Chris,

The __stack_chk_fail function is not directly defined in EDGELIB, it could have been added by the compiler to check for stack overflow errors.