Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile:55: recipe for target 'libcephfs.dll' failed #17

Open
jmzoda opened this issue Jun 29, 2017 · 0 comments
Open

Makefile:55: recipe for target 'libcephfs.dll' failed #17

jmzoda opened this issue Jun 29, 2017 · 0 comments

Comments

@jmzoda
Copy link

jmzoda commented Jun 29, 2017

Hello,
No problem to build deph-dokan.exe using mingw32-make. A big file of 93 MB is well generated but the dll is missing.

In other words, libcephfs.dll is not generated and if I try to specify the libcephfs.dll using the command line : "mingw32-make libcephfs.dll", I get : "undefined references to 'boost::system::generic_category() and system_category()"

Any help appreciated...
Thanks in advance.

mingw32-make libcephfs.dll
g++ -D__USE_FILE_OFFSET64 -DHAVE_CONFIG_H -I. -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -D__STDC_FORMAT_MACROS -D_GN
_SOURCE -fno-strict-aliasing -fsigned-char -Wno-invalid-offsetof -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-built
n-free -g -DPIC -I./ -I./global -I./mingw_include -IC:\boost_1_63_0  -shared -o libcephfs.dll libcephfs.o global/global_context.o global
global_init.o global/pidfile.o global/signal_handler.o common/types.o common/TextTable.o common/io_priority.o common/hobject.o common/ce
h_frag.o common/addr_parsing.o common/Readahead.o common/histogram.o include/uuid.o common/ceph_fs.o common/bloom_filter.o common/ceph_h
sh.o common/ceph_strings.o common/assert.o common/BackTrace.o common/buffer.o common/ceph_argparse.o common/ceph_context.o common/lockde
.o common/Clock.o common/ceph_crypto.o common/code_environment.o common/common_init.o common/ConfUtils.o common/DecayCounter.o common/do
t.o common/entity_name.o common/environment.o common/errno.o common/Finisher.o common/Formatter.o common/hex.o common/LogEntry.o common/
utex.o common/page.o common/perf_counters.o common/PrebufferedStreambuf.o common/RefCountedObj.o common/signal.o common/snap_types.o com
on/str_list.o common/strtol.o common/Thread.o common/Throttle.o common/Timer.o common/util.o common/config.o common/armor.o common/crc32
.o common/crc32c-intel.o common/TrackedOp.o common/escape.o common/mime.o common/safe_io.o common/sctp_crc32.o common/secret.o common/ut
8.o common/LogClient.o common/version.o log/Log.o log/SubsystemMap.o auth/AuthAuthorizeHandler.o auth/AuthClientHandler.o auth/AuthMetho
List.o auth/AuthServiceHandler.o auth/AuthSessionHandler.o auth/Crypto.o auth/KeyRing.o auth/RotatingKeyRing.o auth/none/AuthNoneAuthori
eHandler.o auth/cephx/CephxSessionHandler.o auth/cephx/CephxAuthorizeHandler.o auth/cephx/CephxProtocol.o auth/cephx/CephxClientHandler.
 auth/cephx/CephxServiceHandler.o auth/cephx/CephxKeyServer.o crush/CrushCompiler.o crush/CrushWrapper.o crush/builder.o crush/crush.o c
ush/hash.o crush/mapper.o msg/simple/Accepter.o msg/simple/PipeConnection.o msg/simple/DispatchQueue.o msg/Message.o msg/Messenger.o msg
msg_types.o msg/simple/Pipe.o msg/simple/SimpleMessenger.o osd/HitSet.o osd/OSDMap.o osd/OpRequest.o osd/osd_types.o mon/MonClient.o mon
MonMap.o mon/MonCap.o mds/flock.o mds/MDSMap.o mds/mdstypes.o mds/inode_backtrace.o osdc/Filer.o osdc/Journaler.o osdc/ObjectCacher.o os
c/Objecter.o osdc/Striper.o client/Client.o client/ClientSnapRealm.o client/Dentry.o client/Inode.o client/MetaRequest.o client/MetaSess
on.o client/Trace.o -lws2_32                                                                                                            
libcephfs.o: In function `_static_initialization_and_destruction_0':                                                                    
C:/boost_1_63_0/boost/system/error_code.hpp:221: undefined reference to `boost::system::generic_category()'                             
C:/boost_1_63_0/boost/system/error_code.hpp:222: undefined reference to `boost::system::generic_category()'                             
C:/boost_1_63_0/boost/system/error_code.hpp:223: undefined reference to `boost::system::system_category()'                              
msg/Message.o: In function `_static_initialization_and_destruction_0':                                                                  
C:/boost_1_63_0/boost/system/error_code.hpp:221: undefined reference to `boost::system::generic_category()'                             
C:/boost_1_63_0/boost/system/error_code.hpp:222: undefined reference to `boost::system::generic_category()'                             
C:/boost_1_63_0/boost/system/error_code.hpp:223: undefined reference to `boost::system::system_category()'                              
mds/flock.o: In function `_static_initialization_and_destruction_0':                                                                    
C:/boost_1_63_0/boost/system/error_code.hpp:221: undefined reference to `boost::system::generic_category()'                             
C:/boost_1_63_0/boost/system/error_code.hpp:222: undefined reference to `boost::system::generic_category()'                             
C:/boost_1_63_0/boost/system/error_code.hpp:223: undefined reference to `boost::system::system_category()'                              
mds/MDSMap.o: In function `_static_initialization_and_destruction_0':                                                                   
C:/boost_1_63_0/boost/system/error_code.hpp:221: undefined reference to `boost::system::generic_category()'                             
C:/boost_1_63_0/boost/system/error_code.hpp:222: undefined reference to `boost::system::generic_category()'                             
C:/boost_1_63_0/boost/system/error_code.hpp:223: undefined reference to `boost::system::system_category()'                              
mds/mdstypes.o: In function `_static_initialization_and_destruction_0':                                                                 
C:/boost_1_63_0/boost/system/error_code.hpp:221: undefined reference to `boost::system::generic_category()'                             
C:/boost_1_63_0/boost/system/error_code.hpp:222: undefined reference to `boost::system::generic_category()'                             
C:/boost_1_63_0/boost/system/error_code.hpp:223: undefined reference to `boost::system::system_category()'                              
mds/inode_backtrace.o: In function `_static_initialization_and_destruction_0':                                                          
C:/boost_1_63_0/boost/system/error_code.hpp:221: undefined reference to `boost::system::generic_category()'                             
C:/boost_1_63_0/boost/system/error_code.hpp:222: undefined reference to `boost::system::generic_category()'                             
C:/boost_1_63_0/boost/system/error_code.hpp:223: undefined reference to `boost::system::system_category()'                              
client/Client.o: In function `_static_initialization_and_destruction_0':                                                                
C:/boost_1_63_0/boost/system/error_code.hpp:221: undefined reference to `boost::system::generic_category()'                             
C:/boost_1_63_0/boost/system/error_code.hpp:222: undefined reference to `boost::system::generic_category()'                             
C:/boost_1_63_0/boost/system/error_code.hpp:223: undefined reference to `boost::system::system_category()'                              
client/Dentry.o: In function `_static_initialization_and_destruction_0':                                                                
C:/boost_1_63_0/boost/system/error_code.hpp:221: undefined reference to `boost::system::generic_category()'                             
C:/boost_1_63_0/boost/system/error_code.hpp:222: undefined reference to `boost::system::generic_category()'                             
C:/boost_1_63_0/boost/system/error_code.hpp:223: undefined reference to `boost::system::system_category()'                              
client/Inode.o: In function `_static_initialization_and_destruction_0':                                                                 
C:/boost_1_63_0/boost/system/error_code.hpp:221: undefined reference to `boost::system::generic_category()'                             
C:/boost_1_63_0/boost/system/error_code.hpp:222: undefined reference to `boost::system::generic_category()'                             
C:/boost_1_63_0/boost/system/error_code.hpp:223: undefined reference to `boost::system::system_category()'                              
client/MetaRequest.o: In function `_static_initialization_and_destruction_0':                                                           
C:/boost_1_63_0/boost/system/error_code.hpp:221: undefined reference to `boost::system::generic_category()'                             
C:/boost_1_63_0/boost/system/error_code.hpp:222: undefined reference to `boost::system::generic_category()'                             
C:/boost_1_63_0/boost/system/error_code.hpp:223: undefined reference to `boost::system::system_category()'                              
client/MetaSession.o: In function `_static_initialization_and_destruction_0':                                                           
C:/boost_1_63_0/boost/system/error_code.hpp:221: undefined reference to `boost::system::generic_category()'                             
C:/boost_1_63_0/boost/system/error_code.hpp:222: undefined reference to `boost::system::generic_category()'                             
C:/boost_1_63_0/boost/system/error_code.hpp:223: undefined reference to `boost::system::system_category()'                              
collect2.exe: error: ld returned 1 exit status                                                                                          
Makefile:55: recipe for target 'libcephfs.dll' failed                                                                                   
mingw32-make: *** [libcephfs.dll] Error 1                                                                                               
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant