APRE options
At first, We recommend you to read manuals for APRE (http://atc.altibase.com/sub09/551b/html/Precompiler/ch02s02.html)
Makefile
Sample Makefile.
- You can see a makefile in $ALTIBASE_HOME/sample/APRE directory.
- You need to specify system-libraries which is defined at $ALTIBASE_HOME/install/altibase_env.mk (For example, In Linux, "LIBS= -ldl -lpthread -lcrypt -lrt")
In Linux, Sample makefile
Errors during Compilation
- If you don't define directory of header-files for APRE.
- If you don't define directory of library-files for APRE.
- If you specify wrong compile-bit.
Linker can not find a valid library because of wrong compile-bit.
Check library-bit - If you don't define system-library-files for APRE.
This sample message can be occured in LINUX system. (This message can be varied by compiler) We need "-ldl -lpthread -lcrypt -lrt