Full_Name: Frank Kruchio Version: LMDB OS: AIX 6.1 URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (203.97.151.51) Looking at cfengine 3.6 deployment on AIX and LMDB is a possible database to use. This is the error I receive when running make. Has anyone managed to compile lmdb on AIX ? [root@p2aunx002]:/home/unixgrp/m014084/mdb/libraries/liblmdb # pwd /home/unixgrp/m014084/mdb/libraries/liblmdb [root@p2aunx002]:/home/unixgrp/m014084/mdb/libraries/liblmdb # make gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -fPIC -c mdb.c mdb.c: In function 'mdb_cursor_put': mdb.c:6029: warning: dereferencing type-punned pointer will break strict-aliasing rules mdb.c:6029: warning: dereferencing type-punned pointer will break strict-aliasing rules mdb.c: In function 'mdb_node_shrink': mdb.c:6691: warning: dereferencing type-punned pointer will break strict-aliasing rules mdb.c:6691: warning: dereferencing type-punned pointer will break strict-aliasing rules mdb.c: In function 'mdb_xcursor_init1': mdb.c:6765: warning: dereferencing type-punned pointer will break strict-aliasing rules mdb.c:6765: warning: dereferencing type-punned pointer will break strict-aliasing rules gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -fPIC -c midl.c ar rs liblmdb.a mdb.o midl.o ar: creating an archive file liblmdb.a gcc -pthread -shared -o liblmdb.so mdb.o midl.o gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -c mdb_stat.c gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast mdb_stat.c -o mdb_stat ld: 0711-317 ERROR: Undefined symbol: .mdb_env_create ld: 0711-317 ERROR: Undefined symbol: .mdb_env_set_maxdbs ld: 0711-317 ERROR: Undefined symbol: .mdb_env_open ld: 0711-317 ERROR: Undefined symbol: .mdb_reader_list ld: 0711-317 ERROR: Undefined symbol: .mdb_reader_check ld: 0711-317 ERROR: Undefined symbol: .mdb_txn_begin ld: 0711-317 ERROR: Undefined symbol: .mdb_cursor_open ld: 0711-317 ERROR: Undefined symbol: .mdb_stat ld: 0711-317 ERROR: Undefined symbol: .mdb_cursor_get ld: 0711-317 ERROR: Undefined symbol: .mdb_env_stat ld: 0711-317 ERROR: Undefined symbol: .mdb_env_info ld: 0711-317 ERROR: Undefined symbol: .mdb_strerror ld: 0711-317 ERROR: Undefined symbol: .mdb_env_close ld: 0711-317 ERROR: Undefined symbol: .mdb_cursor_close ld: 0711-317 ERROR: Undefined symbol: .mdb_dbi_open ld: 0711-317 ERROR: Undefined symbol: .mdb_dbi_close ld: 0711-317 ERROR: Undefined symbol: .mdb_txn_abort ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status make: The error code from the last command is 1. Stop.
fkruchio@gmail.com wrote: > Full_Name: Frank Kruchio > Version: LMDB > OS: AIX 6.1 > URL: ftp://ftp.openldap.org/incoming/ > Submission from: (NULL) (203.97.151.51) > > > Looking at cfengine 3.6 deployment on AIX and LMDB is a possible database to > use. > This is the error I receive when running make. > Has anyone managed to compile lmdb on AIX ? Use Gnumake. > > [root@p2aunx002]:/home/unixgrp/m014084/mdb/libraries/liblmdb # pwd > /home/unixgrp/m014084/mdb/libraries/liblmdb > [root@p2aunx002]:/home/unixgrp/m014084/mdb/libraries/liblmdb # make > gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast > -fPIC -c mdb.c > mdb.c: In function 'mdb_cursor_put': > mdb.c:6029: warning: dereferencing type-punned pointer will break > strict-aliasing rules > mdb.c:6029: warning: dereferencing type-punned pointer will break > strict-aliasing rules > mdb.c: In function 'mdb_node_shrink': > mdb.c:6691: warning: dereferencing type-punned pointer will break > strict-aliasing rules > mdb.c:6691: warning: dereferencing type-punned pointer will break > strict-aliasing rules > mdb.c: In function 'mdb_xcursor_init1': > mdb.c:6765: warning: dereferencing type-punned pointer will break > strict-aliasing rules > mdb.c:6765: warning: dereferencing type-punned pointer will break > strict-aliasing rules > gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast > -fPIC -c midl.c > ar rs liblmdb.a mdb.o midl.o > ar: creating an archive file liblmdb.a > gcc -pthread -shared -o liblmdb.so mdb.o midl.o > gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast > -c mdb_stat.c > gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast > mdb_stat.c -o mdb_stat > ld: 0711-317 ERROR: Undefined symbol: .mdb_env_create > ld: 0711-317 ERROR: Undefined symbol: .mdb_env_set_maxdbs > ld: 0711-317 ERROR: Undefined symbol: .mdb_env_open > ld: 0711-317 ERROR: Undefined symbol: .mdb_reader_list > ld: 0711-317 ERROR: Undefined symbol: .mdb_reader_check > ld: 0711-317 ERROR: Undefined symbol: .mdb_txn_begin > ld: 0711-317 ERROR: Undefined symbol: .mdb_cursor_open > ld: 0711-317 ERROR: Undefined symbol: .mdb_stat > ld: 0711-317 ERROR: Undefined symbol: .mdb_cursor_get > ld: 0711-317 ERROR: Undefined symbol: .mdb_env_stat > ld: 0711-317 ERROR: Undefined symbol: .mdb_env_info > ld: 0711-317 ERROR: Undefined symbol: .mdb_strerror > ld: 0711-317 ERROR: Undefined symbol: .mdb_env_close > ld: 0711-317 ERROR: Undefined symbol: .mdb_cursor_close > ld: 0711-317 ERROR: Undefined symbol: .mdb_dbi_open > ld: 0711-317 ERROR: Undefined symbol: .mdb_dbi_close > ld: 0711-317 ERROR: Undefined symbol: .mdb_txn_abort > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. > collect2: ld returned 8 exit status > make: The error code from the last command is 1. > > > Stop. > > -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
I installed gmake and lmdb compiled fine. Thank you Howard ! On Fri, Jun 13, 2014 at 5:29 PM, <openldap-its@openldap.org> wrote: > > *** THIS IS AN AUTOMATICALLY GENERATED REPLY *** > > Thanks for your report to the OpenLDAP Issue Tracking System. Your > report has been assigned the tracking number ITS#7876. > > One of our support engineers will look at your report in due course. > Note that this may take some time because our support engineers > are volunteers. They only work on OpenLDAP when they have spare > time. > > If you need to provide additional information in regards to your > issue report, you may do so by replying to this message. Note that > any mail sent to openldap-its@openldap.org with (ITS#7876) > in the subject will automatically be attached to the issue report. > > mailto:openldap-its@openldap.org?subject=(ITS#7876) > > You may follow the progress of this report by loading the following > URL in a web browser: > http://www.OpenLDAP.org/its/index.cgi?findid=7876 > > Please remember to retain your issue tracking number (ITS#7876) > on any further messages you send to us regarding this report. If > you don't then you'll just waste our time and yours because we > won't be able to properly track the report. > > Please note that the Issue Tracking System is not intended to > be used to seek help in the proper use of OpenLDAP Software. > Such requests will be closed. > > OpenLDAP Software is user supported. > http://www.OpenLDAP.org/support/ > > -------------- > Copyright 1998-2007 The OpenLDAP Foundation, All Rights Reserved. > >
changed state Open to Closed