libneo.so problem on ubuntu 7.04
"Daniel Benavides" <[email protected]>
| Newsgroups | gmane.text.clearsilver.general |
|---|---|
| Message-ID | <[email protected]> |
Hi all:
I am trying to compile manhattan virtual classroom but have a little
problems when doing a test on ClearSilver.
~/Desktop/manhat-3.2.0/src$ make clearsilver_test
rm -f sqlite3_test.o hello.o clearsilver_test.o
gcc -O2 -Wall -Iinclude -IClearSilver -c clearsilver_test.c
gcc -O2 -Wall -Iinclude clearsilver_test.o -lneo -o clearsilver_test
/usr/bin/ld: clearsilver_test: hidden symbol `__stack_chk_fail_local'
in /usr/lib/libc_nonshared.a(stack_chk_fail_local.oS) is referenced by DSO
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld devolvió el estado de salida 1
make: * [clearsilver_test] Error 1
The source of the program is this:
#include <stdio.h>
#include "ClearSilver.h"
int
main ()
{
HDF *hdf;
hdf_init(&hdf);
hdf_set_value(hdf,"Test", "Passed");
puts("");
hdf_dump(hdf,"ClearSilver");
puts("");
hdf_destroy(&hdf);
return 0;
}
You can download it on:
http://svn.sourceforge.net/viewvc/*checkout*/manhattan/branches/3.2/src/clearsilver_test.c?revision=155
Also the test of ClearSilver which is on the directory dso is not
passed, because of the same error on dsotest.c .
Thanks