Thanks for the reply, Allin.
I just ran the ./configure command with the "--disable-openmp" flag. The
output seems to be as expected:
"openMP support: no"
But running the "make" command results now in following output:
-------------------------------------------
make[1]: Betrete Verzeichnis '/home/artur/cvs/gretl/cli'
gcc -c -msse2 -g -O2 -I.. -I.. -I../lib/src
-DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H gretlcli.c
gretlcli.c: In function ‘maybe_get_input_line_continuation’:
gretlcli.c:303:11: warning: ignoring return value of ‘fgets’, declared
with attribute warn_unused_result
gretlcli.c: In function ‘cli_open_append’:
gretlcli.c:743:7: warning: ignoring return value of ‘fgets’, declared
with attribute warn_unused_result
gretlcli.c: In function ‘get_a_filename’:
gretlcli.c:226:10: warning: ignoring return value of ‘fgets’, declared
with attribute warn_unused_result
make[1]: Betrete Verzeichnis '/home/artur/cvs/gretl/gui2'
gcc -c -msse2 -g -O2 -I.. -I../lib/src -pthread -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -I../gui2 -pthread
-I/usr/include/libpng12 -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libxml2
-DLOCALEDIR=\"/usr/local/share/locale\" about.c
gcc -msse2 -g -O2 -I.. -I.. -I../lib/src
-DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -MM gretlcli.c >
.deps/gretlcli.d
/bin/sh: cannot create .deps/gretlcli.d: Permission denied
make[1]: *** [gretlcli.o] Fehler 2
make[1]: Verlasse Verzeichnis '/home/artur/cvs/gretl/cli'
make: *** [cli] Fehler 2
gcc -c -msse2 -g -O2 -I.. -I../lib/src -pthread -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -I../gui2 -pthread
-I/usr/include/libpng12 -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libxml2
-DLOCALEDIR=\"/usr/local/share/locale\" calculator.c
make: *** Warte auf noch nicht beendete Prozesse...
gcc -msse2 -g -O2 -I.. -I../lib/src -pthread -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -I../gui2 -pthread
-I/usr/include/libpng12 -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libxml2
-DLOCALEDIR=\"/usr/local/share/locale\" -MM about.c > .deps/about.d
/bin/sh: cannot create .deps/about.d: Permission denied
make[1]: *** [about.o] Fehler 2
make[1]: *** Warte auf noch nicht beendete Prozesse...
gcc -msse2 -g -O2 -I.. -I../lib/src -pthread -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -I../gui2 -pthread
-I/usr/include/libpng12 -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libxml2
-DLOCALEDIR=\"/usr/local/share/locale\" -MM calculator.c >
.deps/calculator.d
/bin/sh: cannot create .deps/calculator.d: Permission denied
make[1]: *** [calculator.o] Fehler 2
make[1]: Verlasse Verzeichnis '/home/artur/cvs/gretl/gui2'
make: *** [gui2] Fehler 2
-----------------------------------------------------------------------------------------------
There seems to be problem with the permission... Shall I run "make" with
administrative rights instead?
Artur
Am 15.04.2011 15:11, schrieb Allin Cottrell:
On Fri, 15 Apr 2011, Artur Tarassow wrote:
> I just wanted to compile the newest cvs on my freshly installed ubuntu
> 11.04. system.
> Trying to start gretl, returns the following message:
>
> "/usr/local/bin/gretl_x11: symbol lookup error:
> /usr/lib/libgretl-1.0.so.0: undefined symbol: omp_get_wtime"
Apparently you have configured the gretl build with
--enable-openmp, but the compiler is not finding its openmp
library (which would be libgomp.so if gcc is being used).
Try removing --enable-openmp, or forcing the issue with
--disable-openmp.
Allin Cottrell
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users