Netbeans compiler flags

  • From: "kodiak" < >
  • To:
  • Subject: Netbeans compiler flags
  • Date: Wed, 10 Oct 2012 03:55:31 -0400

Thanks.

On the linker options, on Additional Library DIrectories I've putted crypt.

Here is the error log:

 
Code:

"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory `/home/kodiak/Desktop/SO1/SO1'
"/usr/bin/make"  -f nbproject/Makefile-Debug.mk dist/Debug/GNU-Linux-x86/so1
make[2]: Entering directory `/home/kodiak/Desktop/SO1/SO1'
mkdir -p dist/Debug/GNU-Linux-x86
gcc -Wall -ansi -pedantic    -o dist/Debug/GNU-Linux-x86/so1 
build/Debug/GNU-Linux-x86/main.o -Lcrypt 
build/Debug/GNU-Linux-x86/main.o: In function `bruteForce':
/home/kodiak/Desktop/SO1/SO1/main.c:136: undefined reference to `crypt'
collect2: ld returned 1 exit status
make[2]: *** [dist/Debug/GNU-Linux-x86/so1] Error 1
make[2]: Leaving directory `/home/kodiak/Desktop/SO1/SO1'
make[1]: *** [.build-conf] Error 2
make[1]: Leaving directory `/home/kodiak/Desktop/SO1/SO1'
make: *** [.build-impl] Error 2

BUILD FAILED (exit value 2, total time: 230ms)




Any ideas?

kodiak






Netbeans compiler flags

kodiak 10/09/2012

Re: Netbeans compiler flags

Leonid Lenyashin 10/09/2012

Netbeans compiler flags

kodiak 10/10/2012

Netbeans compiler flags

kodiak 10/10/2012

Re: Netbeans compiler flags

Leonid Lenyashin 10/10/2012

Project Features

About this Project

CND was started in November 2009, is owned by Leonid Lenyashin, and has 130 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close