Sponsored Content
Full Discussion: undefined symbols
Top Forums Programming undefined symbols Post 10143 by thalex on Thursday 8th of November 2001 11:37:46 AM
Old 11-08-2001
Data undefined symbols

i am trying to compile transcode on AIX v 4.3.3 with gcc 3.0.1

i am getting this error:

gcc -shared -o .libs/libexport_null.so.0 export_null.o -lpthread -ldl -lc -Wl,-bnoentry -Wl,-bexport:.libs/libexport_null.exp

ld: 0711-317 ERROR: Undefined symbol: capability_flag
ld: 0711-317 ERROR: Undefined symbol: verbose_flag

code from export_null.c
static int verbose_flag=TC_QUIET;
static int capability_flag=-1; //all codecs welcome
 

10 More Discussions You Might Find Interesting

1. HP-UX

Finding SYmbols in LIB

Whats the unix command to identify the symbols in the shared library. I want to find the symbol "nnftboot" is in the library libnnz10.so. Can any one help on this. (1 Reply)
Discussion started by: senthil_is
1 Replies

2. Shell Programming and Scripting

Perl IO vs GLOB symbols

Hi, Can someone please clarify how we are able to use both IO and GLOB symbols of a package variable interchangeably? Please consider the following code: open(FH,"myfile") || die "Unable to open file myfile:$@"; my $glob_var = *main::FH{GLOB}; my $io_var = *main::FH{IO}; print $glob_var... (0 Replies)
Discussion started by: srinivasan_85
0 Replies

3. Shell Programming and Scripting

Filtering symbols from contents

Hi, Any one of you guys can you help me out to filter all "," (single comma) from the below attached contents in a file. sportiva:root:/home/users/thayata/test # cat sample2.csv Heading,Sub Heading,,Detail Server details,Deployment environment:,,Standard Datacentre DC1 ,Chassis... (2 Replies)
Discussion started by: ajilesh
2 Replies

4. AIX

Unresolved symbols

Hello experts , i have some strange problem, i wanted to create a shared object in AIX 5.3 for which i have compiled all my .cxx to .o which worked fine and then i created the .so from them , but when i do nm -Bo sample.so , i have many unresolved symbol, including printf... (0 Replies)
Discussion started by: vin_pll
0 Replies

5. Shell Programming and Scripting

how to remove weird symbols

Hi my file is suffering from some weird text symbols like a question mark inside of a square. I don't know how to remove these. I tried to remove UTF accents with command sed -e 's/^*Width:*//' -e 's/*$//'` but no use . Could u guyz plz help me. (4 Replies)
Discussion started by: repinementer
4 Replies

6. Shell Programming and Scripting

redirecting symbols

Can anyone please tell me what the following do 1. < 2. << Thanks Calypso (1 Reply)
Discussion started by: Calypso
1 Replies

7. Programming

cc -- Unsatisfied symbols -- on HP-UX 10.2

Greetings, I am slowly learning a few things but am far from being an expert. I am at the point now that I would like to be able write some ANSI C code on HP-UX 10.2. Just a hobbie... I am just using cc, which came with the HP-UX 10.2 ... I don't have the manuals for the development... (7 Replies)
Discussion started by: Dirk_
7 Replies

8. UNIX for Dummies Questions & Answers

Help with understanding the symbols '~#' and '~$'

I noticed that sometimes there is "~#" or "~$" in the terminal. What is that? I can't make any research in google because I don't know what are they called. I even tried reading pdf's or books but unfortunately, I wasn't lucky to find out. Maybe I was not persistent enough but I am really... (3 Replies)
Discussion started by: chams
3 Replies

9. Shell Programming and Scripting

Extra symbols when vi a file

When i try to vi a file, see some extra characters "l^H^@^@^@^@^F^@"...but when i cat the same file i am not seeing this...How do i remove this??? (4 Replies)
Discussion started by: problemchild
4 Replies

10. AIX

Errno.h symbols

Hi, I need to look at a recent copy of /usr/include/errno.h from AIX 7.2 to check some symbols. In particular, I'm curious if it defines EOWNERDEAD and ENOTRECOVERABLE. Can someone who has access to 7.2 please check for me? Thanks! (1 Reply)
Discussion started by: topcat
1 Replies
caca-config(1)						      General Commands Manual						    caca-config(1)

NAME
caca-config - script to get information about the installed version of libcaca SYNOPSIS
caca-config [ --prefix= DIR] [ --exec-prefix= DIR] [ --version ] [ --libs ] [ --cflags ] DESCRIPTION
caca-config is a tool that is used to configure and determine the compiler and linker flags that should be used to compile and link progams, libraries, and plugins that use libcaca. The use of caca-config is deprecated. The more generic tool pkg-config should be used instead. OPTIONS
--cflags Print the compiler flags that are necessary to compile a program or library that uses libcaca. --exec-prefix=DIR If specified, use DIR instead of the installation exec prefix that libcaca was build with when computing the output for the --cflags and --libs options. This option must be specified before any of the --cflags and --libs options. --libs Print the linker flags that are necessary to link a program or library that uses libcaca. --prefix=DIR If specified, use PREFIX instead of the installation prefix that libcaca was built with when computing the output for the --cflags and --libs options. This option is also used for the exec prefix if --exec-prefix was not specified. This option must be specified before any of the --cflags and --libs options. --version Prints the currently installed version of libcaca on standard output. EXAMPLES
gcc -o main.o $(caca-config --cflags) -c main.c is how you might use caca-config to compile a C source file for an executable program. gcc -o my_app $(caca-config --libs) main.o util.o is how you might use caca-config to link compiled objects into an executable program. SEE ALSO
pkg-config(1) AUTHOR
The libcaca library was written by Sam Hocevar <sam@hocevar.net>. This manual page was written for sdl-config by Branden Robinson, originally for Progeny Linux Systems, Inc., and the Debian Project. It was adapted to libcaca by Sam Hocevar. libcaca 2003-11-22 caca-config(1)
All times are GMT -4. The time now is 09:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy