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

Missing File "File.cpp" #5

Open
NDaghboudj opened this issue May 15, 2015 · 3 comments
Open

Missing File "File.cpp" #5

NDaghboudj opened this issue May 15, 2015 · 3 comments

Comments

@NDaghboudj
Copy link

blackhole@galaxy ~/mcm $ ./make.sh
g++: error: File.cpp: No such file or directory

@ghuls
Copy link

ghuls commented Nov 8, 2015

Bump.

The problem is still not fixed.

@whansard
Copy link

wil's fix. #ln -s File.hpp File.cpp && make

@NDaghboudj
Copy link
Author

after creating that symbolic link "ln -s File.hpp File.cpp" i got this:

blackhole@galaxy ~/mcm-master $ ./make.sh
/tmp/ccfecjCk.o: In function Archive::writeBlocks()': Archive.cpp:(.text+0x289c): undefined reference toFileList::write(Stream_)'
/tmp/ccfecjCk.o: In function Archive::readBlocks()': Archive.cpp:(.text+0x2caa): undefined reference toFileList::read(Stream_)'
/tmp/ccfecjCk.o: In function Archive::list()': Archive.cpp:(.text+0x2d6f): undefined reference toFileInfo::attrToStr(unsigned short)'
/tmp/ccfecjCk.o: In function Archive::compress(std::vector<FileInfo, std::allocator<FileInfo> > const&)': Archive.cpp:(.text+0x3aa9): undefined reference toFileList::addDirectoryRec(std::string const&, std::string const_)'
/tmp/cctamgwZ.o: In function Options::parse(int, char__)': MCM.cpp:(.text._ZN7Options5parseEiPPc[_ZN7Options5parseEiPPc]+0xf8): undefined reference to FileInfo::FileInfo(std::string const&, std::string const_)'
MCM.cpp:(.text._ZN7Options5parseEiPPc[ZN7Options5parseEiPPc]+0x3e6): undefined reference to FileInfo::FileInfo(std::string const&, std::string const*)' MCM.cpp:(.text._ZN7Options5parseEiPPc[_ZN7Options5parseEiPPc]+0x476): undefined reference toFileInfo::FileInfo(std::string const&, std::string const)'
MCM.cpp:(.text._ZN7Options5parseEiPPc[_ZN7Options5parseEiPPc]+0x600): undefined reference to FileInfo::FileInfo(std::string const&, std::string const_)' MCM.cpp:(.text._ZN7Options5parseEiPPc[_ZN7Options5parseEiPPc]+0x689): undefined reference to FileInfo::FileInfo(std::string const&, std::string const*)'
/tmp/cctamgwZ.o:MCM.cpp:(.text._ZN7Options5parseEiPPc[_ZN7Options5parseEiPPc]+0x9a9): more undefined references toFileInfo::FileInfo(std::string const&, std::string const*)' follow /tmp/cctamgwZ.o: In function main':
MCM.cpp:(.text.startup+0x9a): undefined reference to`FileInfo::FileInfo()'
collect2: error: ld returned 1 exit status

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

3 participants