Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Cross Compiling - Cannot find dependency /usr/include

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Thu Feb 28, 2008 2:15 am    Post subject: Cross Compiling - Cannot find dependency /usr/include Reply with quote

I have been trying to cross compile icecast and ices for the Gumstix platform (http://www.gumstix.net) using the OpenEmbedded Build Environment. These are ARM based processors.

The issue I have been running into is that when the configure is including '-I /usr/include' as some of the compiler flags. When cross compiling, this is very bad as the target system cannot be dependent on building host's system. I wanted to post this to Icecast forums to see if anyone could help me solve this problem. This issue affects both Icecast and Ices.

Here is some of the output I am seeing:

Code:

configure:22602: arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=xscale -c -Werror -I/usr/include -isystem/home/dmfrey/gumstix/gumstix-oe/tmp/stag
ing/arm-angstrom-linux-gnueabi/include conftest.c >&5
CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include
cc1: internal compiler error: in add_path, at c-incpath.c:362
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
configure:22608: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "Icecast"
| #define PACKAGE_TARNAME "icecast"
| #define PACKAGE_VERSION "2.3.1"
| #define PACKAGE_STRING "Icecast 2.3.1"
| #define PACKAGE_BUGREPORT "icecast@xiph.org"
| #define PACKAGE "icecast"
| #define VERSION "2.3.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_PWD_H 1
| #define CHUID 1
| #define HAVE_UNISTD_H 1
| #define CHROOT 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_POLL 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SETHOSTENT 1
| #define HAVE_GETNAMEINFO 1
| #define HAVE_ENDHOSTENT 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_INET_ATON 1
| #define HAVE_WRITEV 1
| #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
| #define HAVE_INET_PTON 1
| #define HAVE_XSLTSAVERESULTTOSTRING 1
| #define HAVE_OGG 1
| #define HAVE_STRUCT_OVECTL_RATEMANAGE_ARG 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:22641: checking for libtheora


Thank you for any help.
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Feb 28, 2008 2:45 am    Post subject: Reply with quote

That is a gcc crash so you better had report that with the gcc folks. We don't have a /usr/include explicitly in our bits but we do use whatever the libs specify (eg xml2-config -cflags) and that could be the trigger for this gcc crash.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Thu Feb 28, 2008 2:53 am    Post subject: Reply with quote

Thanks Karl. I will look into doing that.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber