Sponsored Content
Top Forums Programming undefined reference to `__ctype_b' Post 302244639 by jim mcnamara on Wednesday 8th of October 2008 10:23:41 AM
Old 10-08-2008
The name is mangled. I dunno. What headers outside of the standard C library headers are in the file? ie NOT <stdio.h> <string.h> etc.
 

9 More Discussions You Might Find Interesting

1. Programming

Undefined reference to Error

Hello, plz help me out with this error, i am getting this error when i compile my code with gcc. /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../crt1.o(.text+0x18): In function `_start': : undefined reference to `main' /tmp/cciLxqdV.o(.text+0x3c): In function `HandleUserTransaction()':... (2 Replies)
Discussion started by: svh
2 Replies

2. Programming

about undefined reference for 'sinf'

I m writting code in c using another library(parapin) and making Makefile .but there is a error like undefined reference to `sinf' undefined reference to `ceilf' although i have added math.h library in my code . I tried to run simple programme using math.h and it run.but in making Makefile it... (2 Replies)
Discussion started by: bharat suthar
2 Replies

3. Programming

undefined reference to `pthread_create'

Hi I wanted to learn communication between threads and I used a simple example but I faced with this error while I have a sofware that uses this functions without any problem so would you please help me to know the reason thanks for your help and great favor. #include <pthread.h>... (2 Replies)
Discussion started by: netman
2 Replies

4. Programming

undefined reference to `__udivdi3@GCC_3.0'

While I made something, I get following message. --------------------------------------------- undefined reference to `__udivdi3@GCC_3.0' --------------------------------------------- Is '__udivdi3@GCC_3.0' a name of function ? if not, what does '@GCC_3.0' mean ? I want to make and link a... (1 Reply)
Discussion started by: hcliff
1 Replies

5. Programming

undefined reference to 'function'

Hi, i want to compile a code where fortran calls c . First I compiled C module ,it has pass by gcc. However, after generating .o file. I compiled C and fortran files together by intel fortran and it failed " undefined reference to 'vicerror'". vicerror is a function. I do not know why. (1 Reply)
Discussion started by: austinhsu
1 Replies

6. Programming

undefined reference to pthread_create

I try to compile a sample c code in fedora eclipse 3.2 as managed makefile using pthread library,it shows some error on pthread functions.Error is of undefined reference to pthread.Anybody guide me to solve this problem. Thanking you (1 Reply)
Discussion started by: sujith4u87
1 Replies

7. Programming

undefined reference to `pthread_create'

Hi guys. H was learning posix threads in C with anjuta IDE. it gives me undefined reference to `pthread_create' I know i should compile it like: gcc -lpthread main.c how should i import this configuration in anjuta so i can compile inside it? (2 Replies)
Discussion started by: majid.merkava
2 Replies

8. Homework & Coursework Questions

undefined reference help

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: i know when undefined reference shows up the program is saying it is not link to that function but the problem... (1 Reply)
Discussion started by: mgyeah
1 Replies

9. Homework & Coursework Questions

undefined reference help

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: The problem is a function which i typed although it kept saying that it is a undefined reference still. other... (1 Reply)
Discussion started by: mgyeah
1 Replies
Courriel::Headers(3pm)					User Contributed Perl Documentation				    Courriel::Headers(3pm)

NAME
Courriel::Headers - The headers for an email part VERSION
version 0.29 SYNOPSIS
my $email = Courriel->parse( text => ... ); my $headers = $email->headers; print "$_ " for $headers->get('Received'); DESCRIPTION
This class represents the headers of an email. Any sub part of an email can have its own headers, so every part has an associated object representing its headers. This class makes no distinction between top-level headers and headers for a sub part. Each individual header name/value pair is represented internally by a Courriel::Header object. Some headers have their own special subclass. These are: o Content-Type This is stored as a Courriel::Header::ContentType object. o Content-Disposition This is stored as a Courriel::Header::Disposition object. API
This class supports the following methods: Courriel::Headers->parse( ... ) This method creates a new object by parsing a string. It accepts the following parameters: o text The text to parse. This can either be a plain scalar or a reference to a scalar. If you pass a reference, the underlying scalar may be modified. o line_sep The line separator. This default to a " ", but you can change it if necessary. Note that this only affects parsing, header objects are always output with RFC-compliant line endings. Header parsing unfolds folded headers, and decodes any MIME-encoded values as described in RFC 2047. Parsing also decodes header attributes encoded as described in RFC 2231. Courriel::Headers->new( headers => [ ... ] ) This method creates a new object. It accepts one parameter, "headers", which should be an array reference of header names and values. A given header key can appear multiple times. This object does not (yet, perhaps) enforce RFC restrictions on repetition of certain headers. Header order is preserved, per RFC 5322. $headers->get($name) Given a header name, this returns a list of the Courriel::Header objects found for the header. Each occurrence of the header is returned as a separate object. $headers->get_values($name) Given a header name, this returns a list of the string values found for the header. Each occurrence of the header is returned as a separate string. $headers->add( $name => $value ) Given a header name and value, this adds the headers to the object. If any of the headers already have values in the object, then new values are added after the existing values, rather than at the end of headers. The value can be provided as a string or a Courriel::Header object. $headers->unshift( $name => $value ) This is like "add()", but this pushes the headers onto the front of the internal headers array. This is useful if you are adding "Received" headers, which per RFC 5322, should always be added at the top of the headers. The value can be provided as a string or a Courriel::Header object. $headers->remove($name) Given a header name, this removes all instances of that header from the object. $headers->replace( $name => $value ) A shortcut for calling "remove()" and "add()". The value can be provided as a string or a Courriel::Header object. $headers->as_string( skip => ...., charset => ... ) This returns a string representing the headers in the object. The values will be folded and/or MIME-encoded as needed. The "skip" parameter should be an array reference containing the name of headers that should be skipped. This parameter is optional, and the default is to include all headers. The "charset" parameter specifies what character set to use for MIME-encoding non-ASCII values. This defaults to "utf8". The charset name must be one recognized by the Encode module. MIME encoding is always done using the "B" (Base64) encoding, never the "Q" encoding. $headers->stream_to( output => $output, skip => ...., charset => ... ) This method will send the stringified headers to the specified output. See the "as_string()" method for documentation on the "skip" and "charset" parameters. ROLES
This class does the "Courriel::Role::Streams" role. AUTHOR
Dave Rolsky <autarch@urth.org> COPYRIGHT AND LICENSE
This software is Copyright (c) 2012 by Dave Rolsky. This is free software, licensed under: The Artistic License 2.0 (GPL Compatible) perl v5.14.2 2012-03-07 Courriel::Headers(3pm)
All times are GMT -4. The time now is 05:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy