make fails on freebsd

Everything about the installation and compilation

Moderator: feffer

eki
Posts: 1
Joined: Thu Nov 13, 2008 2:52 pm

make fails on freebsd

Postby eki » Thu Nov 13, 2008 2:58 pm

hello, i have a problem compiling partimage 0.6.7 on a freebsd 6.3

configure is OK, but make generates errors :

make all-recursive
Making all in m4
Making all in po
Making all in src
Making all in shared
g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/client -I../../src/shared -I/usr/include/slang -I../../intl -I/usr/local/include -I../../src/client/fs -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -g -O2 -MT image_disk.o -MD -MP -MF .deps/image_disk.Tpo -c -o image_disk.o image_disk.cpp
image_disk.cpp:57:4: warning: #warning "fstat32 used"
image_disk.cpp:60:4: warning: #warning "fstatfs32 used"
image_disk.cpp:63:4: warning: #warning "open32 used"
image_disk.cpp: In member function `QWORD CImageDisk::getPartitionSize(const char*)':
image_disk.cpp:88: warning: unused variable 'lSize'
image_disk.cpp:672:4: warning: #warning "getFreeSpace always return 0"
image_disk.cpp: In member function `virtual bool CImageDisk::doesFileExists(char*)':
image_disk.cpp:697: error: `O_LARGEFILE' was not declared in this scope
image_disk.cpp:697: warning: unused variable 'O_LARGEFILE'
image_disk.cpp:767:4: warning: #warning "getDiskFreeSpaceForFile always return 5 MB"
image_disk.cpp: In member function `virtual void CImageDisk::getDiskFreeSpaceForFile(QWORD*, char*)':
image_disk.cpp:769: error: return-statement with a value, in function returning 'void'
*** Error code 1

Stop in /usr/local/partimage-0.6.7/src/shared.
*** Error code 1

Stop in /usr/local/partimage-0.6.7/src.
*** Error code 1

Stop in /usr/local/partimage-0.6.7.
*** Error code 1

Stop in /usr/local/partimage-0.6.7.



note that i have 6Go disk free

Filesystem Size Used Avail Capacity Mounted on
/dev/da0s2a 7.5G 1.1G 5.8G 16% /
devfs 1.0K 1.0K 0B 100% /dev


does anyone have an idea please ?

Return to “Install”

Who is online

Users browsing this forum: No registered users and 1 guest