You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After correction of hardcoded path in monobuild.sh
[paul@ckrs_linux main]$ make
cd Preprocess && ./monobuild.sh
./Preprocess/Parser/ParserSC930v0.cs(757,20): warning CS0219: The variable paramHeader' is assigned but its value is never used ./Preprocess/Parser/ParserSC930v0.cs(758,20): warning CS0219: The variable paramValue' is assigned but its value is never used
Compilation succeeded - 2 warning(s)
cd Playback && ./configure && make
/bin/sh: ./configure: No such file or directory
make: *** [playback] Error 127
This paragraph can be corrected to provide instructions to run autoconf
NOTE: To compile the development version, you will need GNU autoconf to create the configure script: cd Playback autoconf The source packages from Github already contain a configure script so this step is not necessary.
These warning messages generated from autoconf
[paul@ckrs_linux Playback]$ autoconf
configure.ac:21: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
configure.ac:21: the top level
configure.ac:21: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
configure.ac:21: the top level
[paul@ckrs_linux Playback]$
Then no problems with configure script
These errors from make
[paul@ckrs_linux Playback]$ make
gcc -g -O2 -m64 -pthread -c -o playback.o playback.c
gcc -g -O2 -m64 -pthread -c -o funcs.o funcs.c
gcc -g -O2 -m64 -pthread -c -o globals.o globals.c
gcc -g -O2 -m64 -pthread -c -o parser.o parser.c
gcc -g -O2 -m64 -pthread -c -o compat.o compat.c
gcc -g -O2 -m64 -pthread -c -o string_functions.o string_functions.c
string_functions.c: In function ‘string_quotesafe’:
string_functions.c:575:5: warning: passing argument 1 of ‘string_find_number_occurrences’ discards ‘const’ qualifier from pointer target type [enabled by default]
c = string_find_number_occurrences(string, "'");
^
string_functions.c:304:5: note: expected ‘char ’ but argument is of type ‘const char ’
int string_find_number_occurrences(char string, char pattern)
^
string_functions.c:583:10: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
head = string;
^
gcc -g -O2 -m64 -pthread -c -o time_functions.o time_functions.c
gcc -g -O2 -m64 -pthread -c -o parse_playback.o parse_playback.c
gcc -g -O2 -m64 -pthread -c -o parse_meta.o parse_meta.c
gcc -g -O2 -m64 -pthread -c -o parse_mock.o parse_mock.c
gcc -g -O2 -m64 -pthread -c -o queue.o queue.c
gcc -g -O2 -m64 -pthread -c -o dictionary.o dictionary.c
/data1/IngresII/ingres/bin/esqlc -multi -p -fdb.c db.sc
ESQL db.sc:
gcc -g -O2 -m64 -pthread -c -o db.o db.c
db.sc: In function ‘send_parameters’:
db.sc:1373:33: warning: assignment from incompatible pointer type [enabled by default]
_buffer = (NVARCHAR *)c_malloc(sizeof(char) * 1 + sizeof(short));
^
gcc -o playback playback.o funcs.o globals.o parser.o compat.o string_functions.o time_functions.o parse_playback.o parse_meta.o parse_mock.o queue.o dictionary.o db.o -L/data1/IngresII/ingres/lib/ -lingres -m64 -L/usr/lib64 -lm -ldl -lrt -lcrypt
/usr/bin/ld: playback.o: undefined reference to symbol 'pthread_rwlock_wrlock@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_rwlock_wrlock@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line
/lib64/libpthread.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: *** [playback] Error 1
[paul@ckrs_linux Playback]$
.
The text was updated successfully, but these errors were encountered:
After correction of hardcoded path in monobuild.sh
[paul@ckrs_linux main]$ make
cd Preprocess && ./monobuild.sh
./Preprocess/Parser/ParserSC930v0.cs(757,20): warning CS0219: The variable
paramHeader' is assigned but its value is never used ./Preprocess/Parser/ParserSC930v0.cs(758,20): warning CS0219: The variable
paramValue' is assigned but its value is never usedCompilation succeeded - 2 warning(s)
cd Playback && ./configure && make
/bin/sh: ./configure: No such file or directory
make: *** [playback] Error 127
This paragraph can be corrected to provide instructions to run autoconf
NOTE: To compile the development version, you will need GNU autoconf to create the configure script: cd Playback autoconf The source packages from Github already contain a configure script so this step is not necessary.
These warning messages generated from autoconf
[paul@ckrs_linux Playback]$ autoconf
configure.ac:21: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
configure.ac:21: the top level
configure.ac:21: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
configure.ac:21: the top level
[paul@ckrs_linux Playback]$
Then no problems with configure script
These errors from make
[paul@ckrs_linux Playback]$ make
gcc -g -O2 -m64 -pthread -c -o playback.o playback.c
gcc -g -O2 -m64 -pthread -c -o funcs.o funcs.c
gcc -g -O2 -m64 -pthread -c -o globals.o globals.c
gcc -g -O2 -m64 -pthread -c -o parser.o parser.c
gcc -g -O2 -m64 -pthread -c -o compat.o compat.c
gcc -g -O2 -m64 -pthread -c -o string_functions.o string_functions.c
string_functions.c: In function ‘string_quotesafe’:
string_functions.c:575:5: warning: passing argument 1 of ‘string_find_number_occurrences’ discards ‘const’ qualifier from pointer target type [enabled by default]
c = string_find_number_occurrences(string, "'");
^
string_functions.c:304:5: note: expected ‘char ’ but argument is of type ‘const char ’
int string_find_number_occurrences(char string, char pattern)
^
string_functions.c:583:10: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
head = string;
^
gcc -g -O2 -m64 -pthread -c -o time_functions.o time_functions.c
gcc -g -O2 -m64 -pthread -c -o parse_playback.o parse_playback.c
gcc -g -O2 -m64 -pthread -c -o parse_meta.o parse_meta.c
gcc -g -O2 -m64 -pthread -c -o parse_mock.o parse_mock.c
gcc -g -O2 -m64 -pthread -c -o queue.o queue.c
gcc -g -O2 -m64 -pthread -c -o dictionary.o dictionary.c
/data1/IngresII/ingres/bin/esqlc -multi -p -fdb.c db.sc
ESQL db.sc:
gcc -g -O2 -m64 -pthread -c -o db.o db.c
db.sc: In function ‘send_parameters’:
db.sc:1373:33: warning: assignment from incompatible pointer type [enabled by default]
_buffer = (NVARCHAR *)c_malloc(sizeof(char) * 1 + sizeof(short));
^
gcc -o playback playback.o funcs.o globals.o parser.o compat.o string_functions.o time_functions.o parse_playback.o parse_meta.o parse_mock.o queue.o dictionary.o db.o -L/data1/IngresII/ingres/lib/ -lingres -m64 -L/usr/lib64 -lm -ldl -lrt -lcrypt
/usr/bin/ld: playback.o: undefined reference to symbol 'pthread_rwlock_wrlock@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_rwlock_wrlock@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line
/lib64/libpthread.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: *** [playback] Error 1
[paul@ckrs_linux Playback]$
.
The text was updated successfully, but these errors were encountered: