Csound Csound-dev Csound-tekno Search About

[Cs-dev] Gentoo and remote.c

Date2008-07-26 00:41
From"Brad Fuller"
Subject[Cs-dev] Gentoo and remote.c
AttachmentsNone  

Date2008-07-26 17:35
Fromjpff
SubjectRe: [Cs-dev] Gentoo and remote.c
Clearly your gentoo files differ from the ones I have.  Makes it
rather hard to debug!
==John ffitch

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-07-26 17:44
From"Brad Fuller"
SubjectRe: [Cs-dev] Gentoo and remote.c
AttachmentsNone  if.h  None  None  

Date2008-07-26 18:06
From"Brad Fuller"
SubjectRe: [Cs-dev] Gentoo and remote.c
AttachmentsNone  

Date2008-07-26 19:05
Fromjpff
SubjectRe: [Cs-dev] Gentoo and remote.c
It is  that has the stupid code in my versions.
It looks as is setting USE_MISC might help

commonEnvironment.Prepend(CPPFLAGS = ['-D__USE_MISC'])

==John ffitch

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-07-26 19:40
From"Brad Fuller"
SubjectRe: [Cs-dev] Gentoo and remote.c
AttachmentsNone  

Date2008-07-26 19:46
FromFelipe Sateler
SubjectRe: [Cs-dev] Gentoo and remote.c
AttachmentsNone  None  None  

Date2008-07-26 19:51
From"Brad Fuller"
SubjectRe: [Cs-dev] Gentoo and remote.c
AttachmentsNone  

Date2008-07-26 19:54
From"Brad Fuller"
SubjectRe: [Cs-dev] Gentoo and remote.c
AttachmentsNone  

Date2008-07-26 19:57
FromFelipe Sateler
SubjectRe: [Cs-dev] Gentoo and remote.c
AttachmentsNone  None  None  

Date2008-07-26 19:58
From"Brad Fuller"
SubjectRe: [Cs-dev] Gentoo and remote.c
AttachmentsNone  

Date2008-07-26 20:15
FromFelipe Sateler
SubjectRe: [Cs-dev] Gentoo and remote.c
AttachmentsNone  None  None  

Date2008-07-26 20:19
From"Brad Fuller"
SubjectRe: [Cs-dev] Gentoo and remote.c
AttachmentsNone  

Date2008-07-26 20:24
Fromroot
SubjectRe: [Cs-dev] Gentoo and remote.c
I think you need

customCCFLAGS.append('-D__USE_MISC')

but I m not sure -- I do not speak python

==John

On Sat, 26 Jul 2008, Brad Fuller wrote:

> On Sat, Jul 26, 2008 at 11:05 AM, jpff  wrote:
>> It is  that has the stupid code in my versions.
>> It looks as is setting USE_MISC might help
>>
>> commonEnvironment.Prepend(CPPFLAGS = ['-D__USE_MISC'])
>
> --
> where do I put that in custom.py? I tried it:
>
> if sys.platform[:5] == 'linux':
>    platform = 'linux'
>    customCPPPATH.append('/usr/include/fltk-1.1')
>    customLIBPATH.append('/usr/lib/fltk-1.1')
>    commonEnvironment.Prepend(CPPFLAGS = ['-D__USE_MISC'])
> --
>
> and at the top of the file
>
> got an error that commondEnvironment is not defined:
>
> --
> System platform is 'linux'.
> Using options from 'custom.py.'
> NameError: name 'commonEnvironment' is not defined:
>  File "/home/bfuller/audio/csound5/SConstruct", line 305:
>    fileOptions.Update(commonEnvironment)
>  File "/usr/lib/scons-0.97/SCons/Options/__init__.py", line 145:
>    execfile(filename, values)
>  File "custom.py", line 18:
>    commonEnvironment.Prepend(CPPFLAGS = ['-D__USE_MISC'])
> --
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-07-26 20:27
FromFelipe Sateler
SubjectRe: [Cs-dev] Gentoo and remote.c
AttachmentsNone  None  None  

Date2008-07-26 20:35
From"Brad Fuller"
SubjectRe: [Cs-dev] Gentoo and remote.c
AttachmentsNone  

Date2008-07-27 09:25
Fromjpff
SubjectRe: [Cs-dev] Gentoo and remote.c
You should not be defining _NET_IF_H surely.  Its purpose is to stop
the reading of  twice, but we do need it once.
==John ffitch

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-07-29 01:04
From"Brad Fuller"
SubjectRe: [Cs-dev] Gentoo and remote.c
AttachmentsNone  

Date2008-08-01 01:06
FromFelipe Sateler
SubjectRe: [Cs-dev] Gentoo and remote.c
AttachmentsNone  None  None  

Date2008-08-01 01:43
From"Brad Fuller"
SubjectRe: [Cs-dev] Gentoo and remote.c
AttachmentsNone  

Date2008-08-01 02:47
FromFelipe Sateler
SubjectRe: [Cs-dev] Gentoo and remote.c
AttachmentsNone  None  None  

Date2008-08-01 18:07
Fromjpff
SubjectRe: [Cs-dev] Gentoo and remote.c
I would like to know if your files differ from the ones I got from
Gentoo (indirectly).  The bit that I do not understand is in
 lines 19 to 26

#ifndef _LINUX_IF_H
# include 
# define _LINUX_IF_H
#endif

#ifndef _LINUX_IF_H
#define _LINUX_IF_H


Assume first that _LINUX_IF_H is not defined.  It will read 
and then set the macro.  Line 24 fails so it does not read rest of
file and so does not define the structure.

Now assume _LINUX_IF_H is set.  It does not read  and then
skip rest of file and so does not define the structure.

Are you saying that your version of  is different?

==John ffitch

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-08-01 21:35
From"Brad Fuller"
SubjectRe: [Cs-dev] Gentoo and remote.c
AttachmentsNone  

Date2008-08-02 17:21
Fromjpff
SubjectRe: [Cs-dev] Gentoo and remote.c
I repeat, look at 
which in your case seems to be /usr/include/linux/if.h which is
exactly where i would expect it.  Actually I would expect it to pick
/usr/include/net/if.h a well....
  Does  have the lines I quoted?  If so gentoo is badly
broken.  If not, what does it say?
==John ffitch

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-08-03 01:52
From"Brad Fuller"
SubjectRe: [Cs-dev] Gentoo and remote.c
AttachmentsNone  

Date2008-08-03 04:01
From"Brad Fuller"
SubjectRe: [Cs-dev] Gentoo and remote.c
AttachmentsNone  

Date2008-08-03 13:10
Fromjpff
SubjectRe: [Cs-dev] Gentoo and remote.c
I thought I had explained it carefully.  The file in which the
definition occurs is but on gentoo that file is
irretrievably broken and it can NEVER define the structure.  

If you are willing to change system files, change it to read

#ifndef _LINUX_IF_H
# include 
/* # define _LINUX_IF_H */
#endif

#ifndef _LINUX_IF_H
#define _LINUX_IF_H

Otherwise you need to use a working distribution!
==John ffitch

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-08-03 21:36
From"Brad Fuller"
SubjectRe: [Cs-dev] Gentoo and remote.c
AttachmentsNone  

Date2008-08-20 16:54
From"Brad Fuller"
SubjectRe: [Cs-dev] Gentoo and remote.c
AttachmentsNone