[Home]

Summary:ASTERISK-02633: [patch] libpri compiles with wrong byte endian on FreeBSD
Reporter:gonzo gonzo (gonzo)Labels:
Date Opened:2004-10-19 11:17:25Date Closed:2004-10-29 10:10:25
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) freebsd_endian.patch
( 1) freebsd_endian.patch.txt
Description:The difference between linux/freebsd byte order veriables is that on Linux there is two underscore before name while on FreeBSD only one.
So we need to redefine __BYTE_ORDER, __BIG_ENDIAN, __LITTLE_ENDIAN for FreeBSD build. here is the patch.
Comments:By: Brian West (bkw918) 2004-10-19 11:23:35

This is obviously not a major bug since you included a patch to fix it.  Please read the bug reporing guidelines.  If you worked around the bug and have a patch we would consider it minor.  If a patch didn't exist or you couldn't work around it then it would be major.  Now since FreeBSD doesn't yet have T100P or any other quad card drivers (or it might have but nobody had submited them) libpri on FreeBSD is pointless.  But keep up the good work maybe Asterisk/Zaptel/libpri on FreeBSD will happen one day.

bkw

By: gonzo gonzo (gonzo) 2004-10-19 11:30:07

Sorry for a mess with minor/major severity stuff. Actualy i do have T100P working on FreeBSD and this bug was the last show stopper :) The driver will be released in a couple of days.

By: Brian West (bkw918) 2004-10-19 12:16:46

w00t

By: Olle Johansson (oej) 2004-10-19 14:01:14

Is the code disclaimed?

By: jacs (jacs) 2004-10-24 03:55:31

Alex,

Digium have to have a disclaimer on file before code can be added to the source tree. Fax them a signed copy of

http://www.digium.com/disclaimer.txt

Chris

By: Mark Spencer (markster) 2004-10-25 22:44:49

Anybody home?

By: gonzo gonzo (gonzo) 2004-10-26 06:30:03

I have some problems with faxing disclaimer. The problems should be solved in about 2 days, sorry for delay.

By: Konstantin Prokazoff (oryx) 2004-10-26 07:36:37

Welcome guys!
We are working with gonzo on such questions, and we have ported driver for TE405/410P too.

By: Brian West (bkw918) 2004-10-26 12:45:51

you can scan it and email the disclaimer into markster@digium.com?

By: gonzo gonzo (gonzo) 2004-10-27 15:00:56

Disclaimer has been faxed. Let me know if it has any mistakes.

By: Mark Spencer (markster) 2004-10-27 16:14:09

Fixed in CVS, thanks!

By: Russell Bryant (russell) 2004-10-29 10:10:25

fixed in 1.0, will be in 1.0.3