Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~494 People Reached
Favorite Tags
c++ x 2
Member Avatar for kerenLinux

Hi, After calling make using the makefile bellow i receive .o and .p files. but in the linking part i receive errors : undefined reference to.... thhe makefile: CC=gcc -c LD=g++ SRCS= a.cpp b.cpp tmp/c.cpp tmp/d.cpp............ OBJ=$(SRCS:.cpp=.o) INCLI= ... all: BBB BBB: $(OBJ) @echo "Linking...." $(LD) $(OBJ) -o BBB $(OBJLIBS) …

Member Avatar for BillBrown
0
170
Member Avatar for kerenLinux

Hello. I have a linking error when using 'static const int'; My code 1.class A 2.{ 3. static const int b= 5; 4.}; 5. const int A::b; The code is compile, but i receive a linking error: multiple definitions of A::b. if I remove the definition of b outside the …

Member Avatar for kerenLinux
0
94
Member Avatar for kerenLinux

Hi, I have a complex project (100 source files) and I have a make file from the format SRCS= a.cpp b.cpp ..... %.o : %.c gcc -c -MD -o $@ $< @cp $*.d $*.P; \ sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ -e '/^$$/ d' -e 's/$$/ …

Member Avatar for kerenLinux
0
230