I'hve installed subversion and apache on my AIX server. Each one is running fine separately.
But when I try to launch apache with svn libraries included I got this error:
httpd: Syntax error on line 523 of /opt/freeware/etc/httpd/conf/httpd.conf: Syntax error on line 5 of /opt/freeware/etc/httpd/conf/extra/httpd-subversion.conf: Cannot load /opt/freeware/lib/httpd/modules/mod_dav_svn.so into server: rtld: 0712-001 Symbol ap_log_rerror was referenced\n from module /opt/freeware/lib/httpd/modules/mod_dav_svn.so(), but a runtime definition\n of the symbol was not found.\nrtld: 0712-001 Symbol dav_new_error_tag was referenced\n from module /opt/freeware/lib/httpd/modules/mod_dav_svn.so(), but a runtime definition\n of the symbol was not found.\nrtld: 0712-001 Symbol dav_push_error was referenced\n from module /opt/freeware/lib/httpd/modules/mod_dav_svn.so(), but a runtime definition\n of the symbol was not found.\nrtld: 0712-001 Symbol dav_new_error was referenced\n from module /opt/freeware/lib/httpd/modules/mod_dav_svn.so(), but a runtime definition\n of the symbol was not found.\nrtld: 0712-001 Symbol dav_xml_get_cdata was referenced\n from module /opt/freeware/lib/httpd/modules/mod_dav_svn.so(), but a runtime definition\n of the symbol was not found.\nrtld: 0712-001 Symbol dav_xmlns_add was referenced\n from module /opt/freeware/lib/httpd/modules/mod_dav_svn.so(), but a runtime definition\n of the symbol was not found.\nrtld: 0712-001 Symbol ap_log_perror was referenced\n from module /opt/freeware/lib/httpd/modules/mod_dav_svn.so(), but a runtime definition\n of the symbol was not found.\n\t0509-021 Additional errors occurred but are not reported.
I installed apache, subversion and mod_dav from perzl.com website:
subversion-1.7.6-1.aix5.1.ppc.rpm
httpd-2.4.3-1.aix5.1.ppc.rpm
mod_dav_svn-1.7.6-1.aix5.1.ppc.rpm
I'm running AIX 5.2:
uname -a:
AIX mdsp16 2 5 000133DAD300
The error (line 523) is a link to the Loadmodule mod_dav_svn
Maybe the mod_dav_svn is corrupted but I dont know where to find a good version of it (I installed the mod_dav_svn rpm many times).
I didn't find the same error on the Web and start giving it up ^^
Thx for any clue.
I have the same experience as you. But I have the problem resolved by downloading a lower version of httpd -> httpd-2.2.23-1.aix5.1.ppc.rpm from this site.
Related
I trying to compile CMake from sources on Solaris 11 machine:
# uname -a
SunOS 5.11 11.3 sun4v sparc sun4v
Steps:
wget
https://github.com/Kitware/CMake/releases/download/v3.25.2/cmake-3.25.2-linux-x86_64.tar.gz
tar -xzvf cmake-3.25.2-linux-x86_64.tar.gz cd
cmake-3.25.2-linux-x86_64 ./bootstrap --prefix=/opt/cmake-3.25.2
--parallel=$(nproc)
After few time next error occurs:
CMake 3.14.3, Copyright 2000-2019 Kitware, Inc. and Contributors
C compiler on this system is: gcc -std=gnu11
C++ compiler on this system is: g++
Makefile processor on this system is: gmake
g++ has setenv
g++ has unsetenv
g++ does not have environ in stdlib.h
g++ has stl wstring
g++ has <ext/stdio_filebuf.h>
---------------------------------------------
g++ -I/opt/CMake/Bootstrap.cmk -I/opt/CMake/Source -I/opt/CMake/Source/LexerParser -I/opt/CMake/Utilities cmAddCustomCommandCommand.o cmAddCustomTargetCommand.o cmAddDefinitionsCommand.o cmAddDependenciesCommand.o cmAddExecutableCommand.o cmAddLibraryCommand.o cmAddSubDirectoryCommand.o cmAddTestCommand.o cmBreakCommand.o cmBuildCommand.o cmCMakeMinimumRequired.o cmCMakePolicyCommand.o cmCPackPropertiesGenerator.o cmCacheManager.o cmCommand.o cmCommandArgumentParserHelper.o cmCommandArgumentsHelper.o cmCommands.o cmCommonTargetGenerator.o cmComputeComponentGraph.o cmComputeLinkDepends.o cmComputeLinkInformation.o cmComputeTargetDepends.o cmConditionEvaluator.o cmConfigureFileCommand.o cmContinueCommand.o cmCoreTryCompile.o cmCreateTestSourceList.o cmCustomCommand.o cmCustomCommandGenerator.o cmDefinePropertyCommand.o cmDefinitions.o cmDepends.o cmDependsC.o cmDisallowedCommand.o cmDocumentationFormatter.o cmEnableLanguageCommand.o cmEnableTestingCommand.o cmExecProgramCommand.o cmExecuteProcessCommand.o cmExpandedCommandArgument.o cmExportBuildFileGenerator.o cmExportFileGenerator.o cmExportInstallFileGenerator.o cmExportSet.o cmExportSetMap.o cmExportTryCompileFileGenerator.o cmExprParserHelper.o cmExternalMakefileProjectGenerator.o cmFileCommand.o cmFileTimeComparison.o cmFindBase.o cmFindCommon.o cmFindFileCommand.o cmFindLibraryCommand.o cmFindPackageCommand.o cmFindPathCommand.o cmFindProgramCommand.o cmForEachCommand.o cmFunctionCommand.o cmFSPermissions.o cmGeneratedFileStream.o cmGeneratorExpression.o cmGeneratorExpressionContext.o cmGeneratorExpressionDAGChecker.o cmGeneratorExpressionEvaluationFile.o cmGeneratorExpressionEvaluator.o cmGeneratorExpressionLexer.o cmGeneratorExpressionNode.o cmGeneratorExpressionParser.o cmGeneratorTarget.o cmGetCMakePropertyCommand.o cmGetDirectoryPropertyCommand.o cmGetFilenameComponentCommand.o cmGetPropertyCommand.o cmGetSourceFilePropertyCommand.o cmGetTargetPropertyCommand.o cmGetTestPropertyCommand.o cmGlobalCommonGenerator.o cmGlobalGenerator.o cmGlobalUnixMakefileGenerator3.o cmGlobVerificationManager.o cmHexFileConverter.o cmIfCommand.o cmIncludeCommand.o cmIncludeGuardCommand.o cmIncludeDirectoryCommand.o cmIncludeRegularExpressionCommand.o cmInstallCommand.o cmInstallCommandArguments.o cmInstallDirectoryGenerator.o cmInstallExportGenerator.o cmInstallFilesCommand.o cmInstallFilesGenerator.o cmInstallGenerator.o cmInstallScriptGenerator.o cmInstallSubdirectoryGenerator.o cmInstallTargetGenerator.o cmInstallTargetsCommand.o cmInstalledFile.o cmLinkDirectoriesCommand.o cmLinkItem.o cmLinkLineComputer.o cmListCommand.o cmListFileCache.o cmLocalCommonGenerator.o cmLocalGenerator.o cmLocalUnixMakefileGenerator3.o cmMSVC60LinkLineComputer.o cmMacroCommand.o cmMakeDirectoryCommand.o cmMakefile.o cmMakefileExecutableTargetGenerator.o cmMakefileLibraryTargetGenerator.o cmMakefileTargetGenerator.o cmMakefileUtilityTargetGenerator.o cmMarkAsAdvancedCommand.o cmMathCommand.o cmMessageCommand.o cmMessenger.o cmNewLineStyle.o cmOSXBundleGenerator.o cmOptionCommand.o cmOrderDirectories.o cmOutputConverter.o cmParseArgumentsCommand.o cmPathLabel.o cmPolicies.o cmProcessOutput.o cmProjectCommand.o cmProperty.o cmPropertyDefinition.o cmPropertyDefinitionMap.o cmPropertyMap.o cmReturnCommand.o cmRulePlaceholderExpander.o cmScriptGenerator.o cmSearchPath.o cmSeparateArgumentsCommand.o cmSetCommand.o cmSetDirectoryPropertiesCommand.o cmSetPropertyCommand.o cmSetSourceFilesPropertiesCommand.o cmSetTargetPropertiesCommand.o cmSetTestsPropertiesCommand.o cmSiteNameCommand.o cmSourceFile.o cmSourceFileLocation.o cmState.o cmStateDirectory.o cmStateSnapshot.o cmStringReplaceHelper.o cmStringCommand.o cmSubdirCommand.o cmSystemTools.o cmTarget.o cmTargetCompileDefinitionsCommand.o cmTargetCompileFeaturesCommand.o cmTargetCompileOptionsCommand.o cmTargetIncludeDirectoriesCommand.o cmTargetLinkLibrariesCommand.o cmTargetPropCommandBase.o cmTargetPropertyComputer.o cmTargetSourcesCommand.o cmTest.o cmTestGenerator.o cmTimestamp.o cmTryCompileCommand.o cmTryRunCommand.o cmUnexpectedCommand.o cmUnsetCommand.o cmUVHandlePtr.o cmVersion.o cmWhileCommand.o cmWorkingDirectory.o cmake.o cmakemain.o cmcmd.o cm_string_view.o cmCommandArgumentLexer.o cmCommandArgumentParser.o cmExprLexer.o cmExprParser.o cmListFileLexer.o Directory.o EncodingCXX.o FStream.o Glob.o RegularExpression.o SystemTools.o EncodingC.o ProcessUNIX.o String.o System.o Terminal.o uv-src-strscpy.c.o uv-src-timer.c.o uv-src-uv-common.c.o uv-src-unix-cmake-bootstrap.c.o uv-src-unix-core.c.o uv-src-unix-fs.c.o uv-src-unix-loop.c.o uv-src-unix-loop-watcher.c.o uv-src-unix-no-fsevents.c.o uv-src-unix-pipe.c.o uv-src-unix-poll.c.o uv-src-unix-posix-hrtime.c.o uv-src-unix-posix-poll.c.o uv-src-unix-process.c.o uv-src-unix-signal.c.o uv-src-unix-stream.c.o -lkstat -lnsl -lsendfile -lsocket -lrt -o cmake
ld: fatal: file cmListFileLexer.o: wrong ELF class: ELFCLASS32
ld: fatal: file EncodingC.o: wrong ELF class: ELFCLASS32
ld: fatal: file ProcessUNIX.o: wrong ELF class: ELFCLASS32
ld: fatal: file String.o: wrong ELF class: ELFCLASS32
ld: fatal: file System.o: wrong ELF class: ELFCLASS32
ld: fatal: file Terminal.o: wrong ELF class: ELFCLASS32
ld: fatal: file uv-src-strscpy.c.o: wrong ELF class: ELFCLASS32
ld: fatal: file uv-src-timer.c.o: wrong ELF class: ELFCLASS32
ld: fatal: file uv-src-uv-common.c.o: wrong ELF class: ELFCLASS32
ld: fatal: file uv-src-unix-cmake-bootstrap.c.o: wrong ELF class: ELFCLASS32
ld: fatal: file uv-src-unix-core.c.o: wrong ELF class: ELFCLASS32
ld: fatal: file uv-src-unix-fs.c.o: wrong ELF class: ELFCLASS32
ld: fatal: file uv-src-unix-loop.c.o: wrong ELF class: ELFCLASS32
ld: fatal: file uv-src-unix-loop-watcher.c.o: wrong ELF class: ELFCLASS32
ld: fatal: file uv-src-unix-no-fsevents.c.o: wrong ELF class: ELFCLASS32
ld: fatal: file uv-src-unix-pipe.c.o: wrong ELF class: ELFCLASS32
ld: fatal: file uv-src-unix-poll.c.o: wrong ELF class: ELFCLASS32
ld: fatal: file uv-src-unix-posix-hrtime.c.o: wrong ELF class: ELFCLASS32
ld: fatal: file uv-src-unix-posix-poll.c.o: wrong ELF class: ELFCLASS32
ld: fatal: file uv-src-unix-process.c.o: wrong ELF class: ELFCLASS32
ld: fatal: file uv-src-unix-signal.c.o: wrong ELF class: ELFCLASS32
ld: fatal: file uv-src-unix-stream.c.o: wrong ELF class: ELFCLASS32
collect2: error: ld returned 1 exit status
gmake: *** [cmake] Error 1
---------------------------------------------
Error when bootstrapping CMake:
Problem while running gmake
---------------------------------------------
Log of errors: /opt/CMake/Bootstrap.cmk/cmake_bootstrap.log
How to compile properly?
EDIT: Bare in mind that the tarball cmake-3.25.2-linux-x86_64.tar.gz contains precompiled 64bit binaries.
As #Tsyvarev pointed out you are producing 32bit objects. Because you are building on solaris it might be related to the fact that Solaris provides libraries for different architectures. Due to this your linker is probably picking up the wrong binaries.
Possible fixes:
Make sure that the linker picks up only the right binaries (64bit)
Get CMake which is provided by the package manager of Solaris and build from source files. (official)
Use an unofficial CMake package [like this one here]
The official package might be outdated. The unofficial one is well, unofficial.
I'm compiling HTTPD 2.4.54 (and its modules) with static cURL.
These are libraries and tools that I use: httpd-2.4.54, apr-1.7.0, apr-util-1.6.1, pcre-8.45, curl-7.83.1, expat-2.4.8, jansson-2.14, lua-5.4.4, mod_fcgid-2.3.9, openssl-1.1.1o, zlib-1.2.12, libxml2-2.9.14, brotli-1.0.9, nghttp2-1.47.0, Gawk v3.1.6-1, CMake v3.23.1, NASM v2.15.05, Visual Studio 2013 Ultimate.
I compiled it in order: zlib, PCRE, Expat, OpenSSL, libxml2, janssonm, Brotli, Lua, APR, APR-Util, Nghttp2. All have been successfully compiled, no errors occurred.
With the cURL, first, I compiled the dynamic cURL (libcurl_imp.lib file). Here's my compiled command line:
cd /D C:\httpd\srclib\curl\bin
cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=\phpStudy\Apache -DCMAKE_BUILD_TYPE=Release -DCURL_USE_OPENSSL=ON -DCURL_USE_SCHANNEL=ON -DCURL_WINDOWS_SSPI=ON -DCURL_BROTLI=ON -DUSE_NGHTTP2=ON -DHAVE_LDAP_SSL=ON -DENABLE_UNICODE=ON -DCURL_STATIC_CRT=OFF ..
Then I used nmake and nmake install, successful dynamic cURL compiler!
I continued to compile the static cURL (libcurl.lib file) immediately with the following command:
cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=\phpStudy\Apache -DCMAKE_BUILD_TYPE=Release -DCURL_USE_OPENSSL=ON -DCURL_USE_SCHANNEL=ON -DCURL_WINDOWS_SSPI=ON -DCURL_BROTLI=ON -DUSE_NGHTTP2=ON -DHAVE_LDAP_SSL=ON -DENABLE_UNICODE=ON -DCURL_STATICLIB=ON -DCURL_STATIC_CRT=OFF -DBUILD_SHARED_LIBS=OFF ..
Then I used nmake and nmake install, the compilation successfully, no errors occur.
After compiling cURL, I moved on to HTTPD compilation, here's my compiled command line:
cd /D C:\httpd\bin
cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=\phpStudy\Apache -DCMAKE_BUILD_TYPE=Release -DENABLE_MODULES=i -DINSTALL_PDB=OFF ..
After running nmake later, I encountered an error:
[ 65%] Linking C shared library mod_md.so
LINK: command "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\link.exe /nologo #CMakeFiles\mod_md.dir\objects1.rsp /out:mod_md.so /implib:mod_md.lib /pdb:C:\httpd\bin\mod_md.pdb /dll /version:0.0 /base:#C:/httpd/bin/BaseAddr.ref,mod_md.so /machine:X86 /INCREMENTAL:NO \phpStudy\Apache\lib\libssl.lib \phpStudy\Apache\lib\libcrypto.lib \phpStudy\Apache\lib\libcurl.lib \phpStudy\Apache\lib\jansson.lib mod_watchdog.lib libhttpd.lib \phpStudy\Apache\lib\libapr-1.lib \phpStudy\Apache\lib\libaprutil-1.lib \phpStudy\Apache\lib\apr_ldap-1.lib ws2_32.lib mswsock.lib \phpStudy\Apache\lib\pcre.lib ws2_32.lib mswsock.lib kernel32.libuser32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:mod_md.so.manifest" failed (exit code 1120) with the following output:
Creating library mod_md.lib and object mod_md.exp
md_curl.c.obj : error LNK2019: unresolved external symbol __imp__curl_global_init referenced in function _md_curl_init
md_curl.c.obj : error LNK2019: unresolved external symbol __imp__curl_slist_append referenced in function _curlify_headers
md_curl.c.obj : error LNK2019: unresolved external symbol __imp__curl_slist_free_all referenced in function _md_curl_req_cleanup
md_curl.c.obj : error LNK2019: unresolved external symbol __imp__curl_easy_strerror referenced in function _md_curl_perform
md_curl.c.obj : error LNK2019: unresolved external symbol __imp__curl_easy_initreferenced in function _internals_setup
md_curl.c.obj : error LNK2019: unresolved external symbol __imp__curl_easy_setopt referenced in function _internals_setup
md_curl.c.obj : error LNK2019: unresolved external symbol __imp__curl_easy_perform referenced in function _md_curl_perform
md_curl.c.obj : error LNK2019: unresolved external symbol __imp__curl_easy_cleanup referenced in function _md_curl_req_cleanup
md_curl.c.obj : error LNK2019: unresolved external symbol __imp__curl_easy_getinfo referenced in function _md_curl_perform
md_curl.c.obj : error LNK2019: unresolved external symbol __imp__curl_multi_init referenced in function _md_curl_multi_perform
md_curl.c.obj : error LNK2019: unresolved external symbol __imp__curl_multi_add_handle referenced in function _md_curl_multi_perform
md_curl.c.obj : error LNK2019: unresolved external symbol __imp__curl_multi_remove_handle referenced in function _md_curl_multi_perform
md_curl.c.obj : error LNK2019: unresolved external symbol __imp__curl_multi_wait referenced in function _md_curl_multi_perform
md_curl.c.obj : error LNK2019: unresolved external symbol __imp__curl_multi_perform referenced in function _md_curl_multi_perform
md_curl.c.obj : error LNK2019: unresolved external symbol __imp__curl_multi_cleanup referenced in function _md_curl_multi_perform
md_curl.c.obj : error LNK2019: unresolved external symbol __imp__curl_multi_info_read referenced in function _md_curl_multi_perform
md_curl.c.obj : error LNK2019: unresolved external symbol __imp__curl_multi_strerror referenced in function _md_curl_multi_perform
mod_md.so : fatal error LNK1120: 17 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\CMake\bin\cmake.exe"' : return code '0xffffffff'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
Earlier, I changed a little CMakeLists.txt. Specifically, I have assigned the libcurl.lib file to be a cURL library and print it on the path to the library. I checked and certainly the path was correct.
Then, I checked in the folder C:\phpStudy\Apache\lib both files are libcurl.lib and libcurl_imp.lib are inside.
The above error only occurs when I use the static library file (libcurl.lib file) of cURL. But if I change to a dynamic library file (libcurl_imp.lib file), the compilation will be successful, the compilation process will take place normally.
I tried with adding (and removing) the -DCURL_STATICLIB=ON flag when compiling static cURL. But nothing changed at the linking C shared library mod_md.so step.
What is not right happened to static cURL? Why can't I compile HTTPD with static cURL?
On a fresh clone of Discourse Mobile from their GitHub repository I come across this error when running "react-native run-android". This application seems to work fine on IOS, but has this issue on Android.
I have already tried messing with different versions and clearing NPM cache and reinstalling all dependencies.
Here is the entire stack trace
info JS server already running.
info Building and installing the app on the device (cd android && gradlew.bat app:installDebug)...
> Configure project :#react-native-community_async-storage
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported
> Configure project :app
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
> Configure project :react-native-device-info
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported
WARNING: The specified Android SDK Build Tools version (25.0.2) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.4.1.
Android SDK Build Tools 28.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '25.0.2'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
> Configure project :react-native-fabric
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: The specified Android SDK Build Tools version (26.0.2) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.4.1.
Android SDK Build Tools 28.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '26.0.2'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
> Configure project :react-native-firebase
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported
react-native-firebase: using React Native prebuilt binary from C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native\android
> Configure project :react-native-key-pair
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: The specified Android SDK Build Tools version (23.0.1) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.4.1.
Android SDK Build Tools 28.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '23.0.1'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
> Configure project :react-native-orientation
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: The specified Android SDK Build Tools version (23.0.1) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.4.1.
Android SDK Build Tools 28.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '23.0.1'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
> Configure project :react-native-vector-icons
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported
> Configure project :react-native-webview
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported
:react-native-webview:reactNativeAndroidRoot C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native\android
> Task :react-native-firebase:compileDebugJavaWithJavac FAILED
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\analytics\RNFirebaseAnalyticsPackage.java:3: error: package android.support.annotation does not exist
import android.support.annotation.RequiresPermission;
^
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\messaging\RNFirebaseMessaging.java:7: error: cannot find symbol
import android.support.v4.app.NotificationManagerCompat;
^
symbol: class NotificationManagerCompat
location: package android.support.v4.app
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\messaging\RNFirebaseMessaging.java:8: error: package android.support.v4.content does not exist
import android.support.v4.content.LocalBroadcastManager;
^
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\messaging\RNFirebaseMessagingService.java:5: error: package android.support.v4.content does not exist
import android.support.v4.content.LocalBroadcastManager;
^
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\DisplayNotificationTask.java:15: error: cannot find symbol
import android.support.v4.app.NotificationCompat;
^
symbol: class NotificationCompat
location: package android.support.v4.app
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\DisplayNotificationTask.java:16: error: cannot find symbol
import android.support.v4.app.RemoteInput;
^
symbol: class RemoteInput
location: package android.support.v4.app
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\DisplayNotificationTask.java:407: error: package NotificationCompat does not exist
private NotificationCompat.Action createAction(
^
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\DisplayNotificationTask.java:494: error: cannot find symbol
private RemoteInput createRemoteInput(Bundle remoteInput) {
^
symbol: class RemoteInput
location: class DisplayNotificationTask
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\RNFirebaseBackgroundNotificationActionReceiver.java:8: error: cannot find symbol
import android.support.v4.app.RemoteInput;
^
symbol: class RemoteInput
location: package android.support.v4.app
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\RNFirebaseNotificationManager.java:20: error: package android.support.annotation does not exist
import android.support.annotation.RequiresApi;
^
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\RNFirebaseNotificationManager.java:21: error: package android.support.v4.content does not exist
import android.support.v4.content.LocalBroadcastManager;
^
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\RNFirebaseNotifications.java:10: error: cannot find symbol
import android.support.v4.app.RemoteInput;
^
symbol: class RemoteInput
location: package android.support.v4.app
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\RNFirebaseNotifications.java:11: error: package android.support.v4.content does not exist
import android.support.v4.content.LocalBroadcastManager;
^
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\ReactNativeFirebaseAppRegistrar.java:20: error: package android.support.annotation does not exist
import android.support.annotation.Keep;
^
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\ReactNativeFirebaseAppRegistrar.java:29: error: cannot find symbol
#Keep
^
symbol: class Keep
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\storage\RNFirebaseStoragePackage.java:3: error: package android.support.annotation does not exist
import android.support.annotation.RequiresPermission;
^
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\analytics\RNFirebaseAnalyticsPackage.java:17: error: cannot find symbol
#RequiresPermission(
^
symbol: class RequiresPermission
location: class RNFirebaseAnalyticsPackage
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\RNFirebaseNotificationManager.java:370: error: cannot find symbol
#RequiresApi(api = 26)
^
symbol: class RequiresApi
location: class RNFirebaseNotificationManager
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\RNFirebaseNotificationManager.java:384: error: cannot find symbol
#RequiresApi(api = 26)
^
symbol: class RequiresApi
location: class RNFirebaseNotificationManager
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\RNFirebaseNotificationManager.java:398: error: cannot find symbol
#RequiresApi(api = 26)
^
symbol: class RequiresApi
location: class RNFirebaseNotificationManager
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\RNFirebaseNotificationManager.java:414: error: cannot find symbol
#RequiresApi(api = 26)
^
symbol: class RequiresApi
location: class RNFirebaseNotificationManager
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\RNFirebaseNotificationManager.java:457: error: cannot find symbol
#RequiresApi(api = 26)
^
symbol: class RequiresApi
location: class RNFirebaseNotificationManager
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\storage\RNFirebaseStoragePackage.java:17: error: cannot find symbol
#RequiresPermission(
^
symbol: class RequiresPermission
location: class RNFirebaseStoragePackage
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\messaging\RNFirebaseMessaging.java:36: error: cannot find symbol
LocalBroadcastManager localBroadcastManager = LocalBroadcastManager.getInstance(context);
^
symbol: class LocalBroadcastManager
location: class RNFirebaseMessaging
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\messaging\RNFirebaseMessaging.java:36: error: cannot find symbol
LocalBroadcastManager localBroadcastManager = LocalBroadcastManager.getInstance(context);
^
symbol: variable LocalBroadcastManager
location: class RNFirebaseMessaging
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\messaging\RNFirebaseMessaging.java:90: error: cannot find symbol
Boolean enabled = NotificationManagerCompat
^
symbol: variable NotificationManagerCompat
location: class RNFirebaseMessaging
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\messaging\RNFirebaseMessagingService.java:26: error: cannot find symbol
LocalBroadcastManager
^
symbol: variable LocalBroadcastManager
location: class RNFirebaseMessagingService
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\messaging\RNFirebaseMessagingService.java:41: error: cannot find symbol
LocalBroadcastManager
^
symbol: variable LocalBroadcastManager
location: class RNFirebaseMessagingService
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\messaging\RNFirebaseMessagingService.java:51: error: cannot find symbol
LocalBroadcastManager
^
symbol: variable LocalBroadcastManager
location: class RNFirebaseMessagingService
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\DisplayNotificationTask.java:81: error: package NotificationCompat does not exist
NotificationCompat.Builder nb;
^
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\DisplayNotificationTask.java:84: error: package NotificationCompat does not exist
nb = new NotificationCompat.Builder(context, channelId);
^
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\DisplayNotificationTask.java:87: error: package NotificationCompat does not exist
nb = new NotificationCompat.Builder(context);
^
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\DisplayNotificationTask.java:130: error: package NotificationCompat does not exist
NotificationCompat.BigPictureStyle bp = new NotificationCompat.BigPictureStyle();
^
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\DisplayNotificationTask.java:130: error: package NotificationCompat does not exist
NotificationCompat.BigPictureStyle bp = new NotificationCompat.BigPictureStyle();
^
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\DisplayNotificationTask.java:158: error: package NotificationCompat does not exist
NotificationCompat.BigTextStyle bt = new NotificationCompat.BigTextStyle();
^
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\DisplayNotificationTask.java:158: error: package NotificationCompat does not exist
NotificationCompat.BigTextStyle bt = new NotificationCompat.BigTextStyle();
^
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\DisplayNotificationTask.java:361: error: package NotificationCompat does not exist
NotificationCompat.Action action = createAction(context, a, intentClass, notification);
^
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\DisplayNotificationTask.java:424: error: package NotificationCompat.Action does not exist
NotificationCompat.Action.Builder ab = new NotificationCompat.Action.Builder(
^
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\DisplayNotificationTask.java:424: error: package NotificationCompat.Action does not exist
NotificationCompat.Action.Builder ab = new NotificationCompat.Action.Builder(
^
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\DisplayNotificationTask.java:437: error: cannot find symbol
RemoteInput remoteInput = createRemoteInput(ri);
^
symbol: class RemoteInput
location: class DisplayNotificationTask
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\DisplayNotificationTask.java:496: error: package RemoteInput does not exist
RemoteInput.Builder rb = new RemoteInput.Builder(resultKey);
^
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\DisplayNotificationTask.java:496: error: package RemoteInput does not exist
RemoteInput.Builder rb = new RemoteInput.Builder(resultKey);
^
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\RNFirebaseBackgroundNotificationActionReceiver.java:62: error: cannot find symbol
Bundle remoteInput = RemoteInput.getResultsFromIntent(intent);
^
symbol: variable RemoteInput
location: class RNFirebaseBackgroundNotificationActionReceiver
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\RNFirebaseNotificationManager.java:204: error: cannot find symbol
LocalBroadcastManager
^
symbol: variable LocalBroadcastManager
location: class RNFirebaseNotificationManager
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\RNFirebaseNotifications.java:54: error: cannot find symbol
LocalBroadcastManager localBroadcastManager = LocalBroadcastManager.getInstance(context);
^
symbol: class LocalBroadcastManager
location: class RNFirebaseNotifications
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\RNFirebaseNotifications.java:54: error: cannot find symbol
LocalBroadcastManager localBroadcastManager = LocalBroadcastManager.getInstance(context);
^
symbol: variable LocalBroadcastManager
location: class RNFirebaseNotifications
C:\Users\Emmett Deen\Documents\BlackAirplane\DiscourseMobile\node_modules\react-native-firebase\android\src\main\java\io\invertase\firebase\notifications\RNFirebaseNotifications.java:308: error: cannot find symbol
Bundle remoteInput = RemoteInput.getResultsFromIntent(intent);
^
symbol: variable RemoteInput
location: class RNFirebaseNotifications
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
47 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-firebase:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 3s
72 actionable tasks: 1 executed, 71 up-to-date
error Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html
error Command failed: gradlew.bat app:installDebug. Run CLI with --verbose flag for more details.
rsyslogd-2066: could not load module '/usr/lib/rsyslog/lmnsd_gtls.so', dlopen: rtld: 0712-001 Symbol rsCStrConstructFromszStrf was referenced from module /usr/lib/rsyslog/lmnsd_gtls.so(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol rsCStrAppendStrf was referenced from module /usr/lib/rsyslog/lmnsd_gtls.so(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol gnutls_certificate_client_set_retrieve_function was referenced from module /usr/lib/rsyslog/lmnsd_gtls.so(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol gnutls_certificate_type_set_priority was referenced from module /usr/lib/rsyslog/lmnsd_gtls.so(), but a runtime definition of the symbol was not found. [try http://www.rsyslog.com/e/2066 ]
I am getting above error when i am starting the rsyslogd process in aix machine. Please provide the solution for this.
cmd: startsrc -s rsyslogd
Thanks in advance...
*.debug /var/log/test
# make gtls driver the default
$DefaultNetstreamDriver gtls
# certificate files
$DefaultNetstreamDriverCAFile /rsyslog/protected/ca.pem
$ActionSendStreamDriverAuthMode x509/name
$ActionSendStreamDriverMode 1 # run driver in TLS-only mode
*.* ##(o)server.example.net:10514 # forward everything to remote server
I am trying to convert old BCB6 project to C++ Builder XE project. Version of development environment is following:
Embarcadero C++ Builder XE Version 15.0.3953.35171
First step was to create blank new project (File -> New -> VCL Forms Application - C++ Builder). After that I added to project all files and all forms from old project and deleted blank form that was auto-created. Second step was to convert AnsiString objects to UnicodeString objects where it was necessary. Then I tried to build the project. Compilation phase ran without the errors. But I am now stuck with linker errors (in BCB6 all was OK):
c:\program files\embarcadero\rad studio\8.0\Bin\CodeGear.Cpp.Targets(2341,5): error : Error: Unresolved external 'Chart::TChart::' referenced from C:\TEMP\WSCS\DEBUG\WIN32\LNG.OBJ
c:\program files\embarcadero\rad studio\8.0\Bin\CodeGear.Cpp.Targets(2341,5): error : Error: Unresolved external '__fastcall Teengine::TChartAxisTitle::SetCaption(const System::UnicodeString)' referenced from C:\TEMP\WSCS\DEBUG\WIN32\F_LOADPOINT_DETAILS.OBJ
c:\program files\embarcadero\rad studio\8.0\Bin\CodeGear.Cpp.Targets(2341,5): error : Error: Unresolved external '__fastcall Teengine::TCustomAxisPanel::GetSeries(int)' referenced from C:\TEMP\WSCS\DEBUG\WIN32\F_LOADPOINT_DETAILS.OBJ
c:\program files\embarcadero\rad studio\8.0\Bin\CodeGear.Cpp.Targets(2341,5): error : Error: Unresolved external '__fastcall Teengine::TChartSeries::SetVertAxis(const Teengine::TVertAxis)' referenced from C:\TEMP\WSCS\DEBUG\WIN32\F_LOADPOINT_DETAILS.OBJ
c:\program files\embarcadero\rad studio\8.0\Bin\CodeGear.Cpp.Targets(2341,5): error : Error: Unresolved external '__fastcall Teeprocs::TCustomTeePanelExtended::SetAllowZoom(bool)' referenced from C:\TEMP\WSCS\DEBUG\WIN32\F_LOADPOINT_DETAILS.OBJ
c:\program files\embarcadero\rad studio\8.0\Bin\CodeGear.Cpp.Targets(2341,5): error : Error: Unresolved external '__fastcall Teengine::TChartAxis::SetMaximum(const const double)' referenced from C:\TEMP\WSCS\DEBUG\WIN32\F_LOADPOINT_DETAILS.OBJ
c:\program files\embarcadero\rad studio\8.0\Bin\CodeGear.Cpp.Targets(2341,5): error : Error: Unresolved external '__fastcall Teengine::TChartAxis::SetMinimum(const const double)' referenced from C:\TEMP\WSCS\DEBUG\WIN32\F_LOADPOINT_DETAILS.OBJ
c:\program files\embarcadero\rad studio\8.0\Bin\CodeGear.Cpp.Targets(2341,5): error : Error: Unresolved external '__fastcall Teengine::TChartAxis::SetLogarithmic(bool)' referenced from C:\TEMP\WSCS\DEBUG\WIN32\F_LOADPOINT_DETAILS.OBJ
c:\program files\embarcadero\rad studio\8.0\Bin\CodeGear.Cpp.Targets(2341,5): error : Error: Unresolved external '__fastcall Teengine::TChartAxis::SetAutomatic(bool)' referenced from C:\TEMP\WSCS\DEBUG\WIN32\F_LOADPOINT_DETAILS.OBJ
c:\program files\embarcadero\rad studio\8.0\Bin\CodeGear.Cpp.Targets(2341,5): error : Error: Unresolved external '__fastcall Teengine::TChartAxis::SetDesiredIncrement(const const double)' referenced from C:\TEMP\WSCS\DEBUG\WIN32\F_LOADPOINT_DETAILS.OBJ
How can I resolve these errors? Is something that I am doing erroneously? TChart is standard component both in BCB6 and in C++ Builder XE.
I opened all forms in my project. Right-clicked on them and checked menu item "Text DFM". Now build completes successfully. Its really magic I can't comprehend it.