libyal / libnk2 Goto Github PK
View Code? Open in Web Editor NEWLibrary and tools to access the Microsoft Outlook Nickfile (NK2) format
License: GNU Lesser General Public License v3.0
Library and tools to access the Microsoft Outlook Nickfile (NK2) format
License: GNU Lesser General Public License v3.0
libnk2 is a library to access the Microsoft Outlook Nickfile (NK2) format. The nickfile is used to store email address aliases. Project information: * Status: alpha * Licence: LGPLv3+ For more information see: * Project documentation: https://github.com/libyal/libnk2/wiki/Home * How to build from source: https://github.com/libyal/libnk2/wiki/Building
While trying to build libnk2 from the package libnk2-alpha-20170127.tar.gz
, I encountered the following error during the make
phase:
libnk2_record_entry.c: In function 'libnk2_record_entry_read_data':
libnk2_record_entry.c:253:9: warning: implicit declaration of function 'byte_stream_copy_to_uint16_little_endian' [-Wimplicit-function-declaration]
253 | byte_stream_copy_to_uint16_little_endian(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libnk2_record_entry.c: In function 'libnk2_record_entry_get_data_as_32bit_integer':
libnk2_record_entry.c:909:9: warning: implicit declaration of function 'byte_stream_copy_to_uint32_little_endian' [-Wimplicit-function-declaration]
909 | byte_stream_copy_to_uint32_little_endian(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libnk2_record_entry.c: In function 'libnk2_record_entry_get_data_as_64bit_integer':
libnk2_record_entry.c:985:9: warning: implicit declaration of function 'byte_stream_copy_to_uint64_little_endian' [-Wimplicit-function-declaration]
985 | byte_stream_copy_to_uint64_little_endian(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libnk2_record_entry.c: In function 'libnk2_record_entry_get_data_as_floating_point':
libnk2_record_entry.c:1236:9: error: unknown type name 'byte_stream_float64_t'
1236 | byte_stream_float64_t value_double;
| ^~~~~~~~~~~~~~~~~~~~~
libnk2_record_entry.c:1237:9: error: unknown type name 'byte_stream_float32_t'
1237 | byte_stream_float32_t value_float;
| ^~~~~~~~~~~~~~~~~~~~~
libnk2_record_entry.c:1307:29: error: request for member 'integer' in something not a structure or union
1307 | value_float.integer );
| ^
libnk2_record_entry.c:1309:61: error: request for member 'floating_point' in something not a structure or union
1309 | *value_floating_point = (double) value_float.floating_point;
| ^
libnk2_record_entry.c:1315:30: error: request for member 'integer' in something not a structure or union
1315 | value_double.integer );
| ^
libnk2_record_entry.c:1317:53: error: request for member 'floating_point' in something not a structure or union
1317 | *value_floating_point = value_double.floating_point;
| ^
libnk2_record_entry.c:1237:31: warning: variable 'value_float' set but not used [-Wunused-but-set-variable]
1237 | byte_stream_float32_t value_float;
| ^~~~~~~~~~~
libnk2_record_entry.c:1236:31: warning: variable 'value_double' set but not used [-Wunused-but-set-variable]
1236 | byte_stream_float64_t value_double;
| ^~~~~~~~~~~~
make[1]: *** [Makefile:759: libnk2_record_entry.lo] Error 1
I am guessing (!) that an include of libnk2_definitions.h
is missing in the file libnk2/libnk2_record_entry.c
.
When using libfmapi as a shared library:
../libnk2/.libs/libnk2.so: undefined reference to `libfmapi_value_type_get_description'
../libnk2/.libs/libnk2.so: undefined reference to `libfmapi_property_type_get_description'
../libnk2/.libs/libnk2.so: undefined reference to `libfmapi_property_type_get_identifier'
../libnk2/.libs/libnk2.so: undefined reference to `libfmapi_debug_print_value'
../libnk2/.libs/libnk2.so: undefined reference to `libfmapi_value_type_get_identifier'
collect2: error: ld returned 1 exit status
make[1]: *** [nk2export] Error 1
make: *** [all-recursive] Error 1
Running: 'make' failed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.