Programming Tutorials

Comment on Tutorial - Character Counting sample program in C By Grenfel



Comment Added by : arshavin

Comment Added at : 2010-04-14 23:19:33

Comment on Tutorial : Character Counting sample program in C By Grenfel
can't build the 2nd code in netbeans,here is the output of build:

Running "/usr/bin/make -f Makefile CONF=Debug" in /home/arshavin/NetBeansProjects/Application_1

/usr/bin/make -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-conf
make[1]: Entering directory `/home/arshavin/NetBeansProjects/Application_1'
mkdir -p build/Debug/GNU-Linux-x86
gcc -c -g -o build/Debug/GNU-Linux-x86/newfile.o newfile.c
mkdir -p dist/Debug/GNU-Linux-x86
gcc -o dist/Debug/GNU-Linux-x86/application_1 build/Debug/GNU-Linux-x86/newfile.o
build/Debug/GNU-Linux-x86/newfile.o: In function `main':
/home/arshavin/NetBeansProjects/Application_1/newfile.c:8: undefined reference to `gechar'
collect2: ld returned 1 exit status
make[1]: *** [dist/Debug/GNU-Linux-x86/application_1] Error 1
make[1]: Leaving directory `/home/arshavin/NetBeansProjects/Application_1'
make: *** [.build-impl] Error 2

Build failed. Exit value 2.


View Tutorial