Bug 778 - Compile Problem
Summary: Compile Problem
Status: RESOLVED DUPLICATE of bug 780
Alias: None
Product: BpmCount
Classification: Unclassified
Component: Packaging (show other bugs)
Version: 0.1
Hardware: PC Linux
: Future normal
Assignee: greg elliott
URL:
Depends on:
Blocks:
 
Reported: 2008-08-31 18:43 CEST by Werner Van Belle
Modified: 2008-08-31 20:40 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 2 greg elliott 2008-08-31 20:40:34 CEST

*** This bug has been marked as a duplicate of bug 780 ***
Comment 1 greg elliott 2008-08-31 20:11:11 CEST
(In reply to comment #0)
> Hello,
> 
> There seems to be somewhat of a problem compiling the soft on my debian
> machine. I get the following output if I enter make
> 
> werner@tuuster:~/BpmCount$ make
> g++ -fPIC -g -O3 -Wall -c memory.cpp -o memory.o
> memory.cpp: In function 'void myfree(void*)':
> memory.cpp:17: error: 'free' was not declared in this scope
> memory.cpp: In function 'void* myalloc(int, char*, int)':
> memory.cpp:25: error: 'malloc' was not declared in this scope
> memory.cpp: In function 'void* myrealloc(void*, int)':
> memory.cpp:43: error: 'realloc' was not declared in this scope
> make: *** [memory.o] Error 1
> 

to compile on linux, you need to uncomment the line in the makefile that defines the constant for linux.
this will be addressed once the make file uses external depend files.
Description Werner Van Belle 2008-08-31 18:43:05 CEST
Hello,

There seems to be somewhat of a problem compiling the soft on my debian machine. I get the following output if I enter make

werner@tuuster:~/BpmCount$ make
g++ -fPIC -g -O3 -Wall -c memory.cpp -o memory.o
memory.cpp: In function 'void myfree(void*)':
memory.cpp:17: error: 'free' was not declared in this scope
memory.cpp: In function 'void* myalloc(int, char*, int)':
memory.cpp:25: error: 'malloc' was not declared in this scope
memory.cpp: In function 'void* myrealloc(void*, int)':
memory.cpp:43: error: 'realloc' was not declared in this scope
make: *** [memory.o] Error 1