10-30-2005
Compiling Error
Hi,
I have installed "Freetype2" library in my SuSe Linux 9.3 version system. When Iam compiling a program, I am getting these below errors.
Undefined reference to "FT_Init_FreeType"
Undefined reference to "FT_Load_Char"
Please show me a solution? Thank you.
With regards,
Chandramouli
10 More Discussions You Might Find Interesting
1. Programming
Hi All,
I tried to compile a C program but i am getting error while Linking . it says Undefined reference to ' ' (here it gives a method name which is defined Globally ).
Can any body tell the resaon and remedy for the same . Iam stuck up here .
Thanks (3 Replies)
Discussion started by: Vivek
3 Replies
2. UNIX for Dummies Questions & Answers
I need Help folks;
I'm very new to Java & i was trying to compile some java files & i got a lot of errors (see below), could some one tell me what am i doing wrong?
These are the files i need to compile:
AddCommentActionLogging.java
EditPageActionLogging.java
When i run:... (4 Replies)
Discussion started by: Katkota
4 Replies
3. UNIX for Advanced & Expert Users
Gentlemen, I can not compile with the Pro-C installed on a Solaris 10. I get the following error ..:
! Compilation: startdmn.pc
------------------------------------------------------------------
ld.so.1: proc: fatal: libclntsh.so.9.0: open failed: No such file or directory
make: Fatal... (2 Replies)
Discussion started by: Pedro_Oca
2 Replies
4. Programming
Hi guys.
I have a header file: unp.h like this:
#ifndef _UNP_H_
#define _UNP_H_
extern ssize_t readn(int filedes, void *buff, size_t nbytes);
extern ssize_t writen(int filedes, const void *buff, size_t nbytes);
extern void err_quit(const char *msg);
#define TRUE 1
#define FALSE 0
... (2 Replies)
Discussion started by: majid.merkava
2 Replies
5. Solaris
Hello guys,
Im trying to install a monitoring software on my solaris10 machine and im getting an error doing so. Can someone please help.
ld: fatal: Symbol referencing errors. No output written to ../client/xymond_client
collect2: ld returned 1 exit status
gmake: *** Error 1
gmake:... (1 Reply)
Discussion started by: hemo21
1 Replies
6. UNIX for Dummies Questions & Answers
Hi I m using redhat 6 with kernel release
2.6.32-71.el6.i686
I have downloaded latest kernel 3.3.1 from kernel.org .
when i run make module_install i get below error.
# make modules_install
/usr/src/kernels/linux-3.3.1/scripts/depmod.sh: line 37: 11314 Killed ... (0 Replies)
Discussion started by: pinga123
0 Replies
7. Solaris
Hi guys i came across an error while compiling a c file in solaris using gcc. the error is,
Undefined first referenced
symbol in file
bind /var/tmp//ccAr8qAh.o
accept ... (4 Replies)
Discussion started by: rajeshb6
4 Replies
8. UNIX for Dummies Questions & Answers
Hi, I'm trying to compile the code for a program and I run into the following error,
ncfile.h: In constructor ‘ncfile::NcAttribute<T>::NcAttribute(const std::string&, const char*)':
ncfile.h:357: error: there are no arguments to ‘strlen' that depend on a template parameter, so a declaration of... (1 Reply)
Discussion started by: bstephens
1 Replies
9. Answers to Frequently Asked Questions
I tried to compile the files in basic_dump_ex using cygwin :
/cygdrive/c/WpdPack/Examples-pcap/basic_dump_ex
$make
but I got this :
cc -g -O -mno-cygwin -I ../../include -c -o basic_dump_ex.o basic_dump_ex.c
cc: error: unrecognized command line option ‘-mno-cygwin’... (6 Replies)
Discussion started by: steve120
6 Replies
10. UNIX for Beginners Questions & Answers
Hi
I am trying to compile a binary file (CASPER: Context-Aware Scheme for Paired-End Read) but I am getting the following error:
user@user-OptiPlex-780 make
g++ -O2 -Wall -fopenmp -c -o merge.o merge.c
merge.c:8:35: fatal error: boost/unordered_map.hpp: No such... (2 Replies)
Discussion started by: Xterra
2 Replies
LKSH(1) BSD General Commands Manual LKSH(1)
NAME
lksh -- Legacy Korn shell built on mksh
SYNOPSIS
lksh [-+abCefhiklmnprUuvXx] [-+o opt] [-c string | -s | file [args ...]]
DESCRIPTION
lksh is a command interpreter intended exclusively for running legacy shell scripts. It is built on mksh; refer to its manual page for
details on the scripting language. It is recommended to port scripts to mksh instead of relying on legacy or idiotic POSIX-mandated behav-
iour, since the MirBSD Korn Shell scripting language is much more consistent.
LEGACY MODE
lksh has the following differences from mksh:
o lksh is not suitable for use as /bin/sh.
o There is no explicit support for interactive use, nor any command line editing or history code. Hence, lksh is not suitable as a user's
login shell, either; use mksh instead.
o The KSH_VERSION string identifies lksh as ``LEGACY KSH'' instead of ``MIRBSD KSH''.
o lksh only offers the traditional ten file descriptors to scripts.
o lksh uses POSIX arithmetics, which has quite a few implications: The data type for arithmetics is the host ISO C long data type. Signed
integer wraparound is Undefined Behaviour. The sign of the result of a modulo operation with at least one negative operand is unspeci-
fied. Shift operations on negative numbers are unspecified. Division of the largest negative number by -1 is Undefined Behaviour. The
compiler is permitted to delete all data and crash the system if Undefined Behaviour occurs.
o The rotation arithmetic operators are not available.
o The shift arithmetic operators take all bits of the second operand into account; if they exceed permitted precision, the result is
unspecified.
o The GNU bash extension &> to redirect stdout and stderr in one go is not parsed.
o The mksh command line option -T is not available.
o Unless set -o posix is active, lksh always uses traditional mode for constructs like:
$ set -- $(getopt ab:c "$@")
$ echo $?
POSIX mandates this to show 0, but traditional mode passes through the errorlevel from the getopt(1) command.
o lksh, unlike AT&T UNIX ksh, does not keep file descriptors > 2 private.
SEE ALSO
mksh(1)
https://www.mirbsd.org/mksh.htm
https://www.mirbsd.org/ksh-chan.htm
CAVEATS
lksh tries to make a cross between a legacy bourne/posix compatibl-ish shell and a legacy pdksh-alike but ``legacy'' is not exactly speci-
fied.
The set built-in command does not have all options one would expect from a full-blown mksh or pdksh.
Talk to the MirOS development team using the mailing list at <miros-mksh@mirbsd.org> or the #!/bin/mksh (or #ksh) IRC channel at
irc.freenode.net (Port 6697 SSL, 6667 unencrypted) if you need any further quirks or assistance, and consider migrating your legacy scripts
to work with mksh instead of requiring lksh.
MirBSD May 2, 2013 MirBSD