Bug#2724: Additional flags for linker error
Catalin Mihaila
catalin at digiro.net
Tue Feb 22 11:06:21 UTC 2000
Package: kdevelop
Version: 1.1beta2
Severity: grave
Bugreport ID : 12:39,22.02.00
Originator : Catalin Mihaila
E-Mail : catalin at digiro.net
Subject : Additional flags for linker error
Error Class : software bug
Error Location : build process
Priority : medium
Bug Description ---------------------------
Assuming following example:
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <crypt.h>
void main()
{
char *pass = crypt("one_word","ow");
fprintf(stderr,pass);
}
For building this I need to specify -lcrypt additional flag in "Linker Options"
tab from "Project Options" menu. In KDevelop all things work OK but if
I will made "DistClean" from "Buid" menu in my current project folder I
will have distribution archive of my project. I copy this archive in another
folder, unpack, run configure and make and surprise: -lcrypt flag was not added
and my application cannot be linked ......
How to repeat the error -------------------
Bugfix or Workaround ----------------------
System Information ------------------------
KDevelop version : 1.1beta2
KDE version : 1.1.2
QT version : 1.44
OS/Distribution : RedHat Linux 6.1
Compiler :
misc :
More information about the KDevelop-devel
mailing list