Package: qucs
Version: 0.0.8-1
Severity: important

Your package fails to build with G++ 4.1.  I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.

I started writing a patch and managed to solve a few issues, but
there are more (and more and more) so I gave up.


> Automatic build of qucs_0.0.8-1 on bigsur by sbuild/mips 1.94
...
> if mips-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src 
> -I../../../src/components -I../../../src/components/devices    -O2 -pipe 
> -fno-exceptions -fno-rtti -fno-check-new -MT msline.o -MD -MP -MF 
> ".deps/msline.Tpo" -c -o msline.o msline.cpp; \
>       then mv -f ".deps/msline.Tpo" ".deps/msline.Po"; else rm -f 
> ".deps/msline.Tpo"; exit 1; fi
> msline.cpp: In member function 'virtual void msline::calcNoiseSP(double)':
> msline.cpp:56: error: 'eye' was not declared in this scope
> msline.cpp: In member function 'virtual void msline::calcSP(double)':
> msline.cpp:107: error: 'rect' was not declared in this scope
> msline.cpp: In member function 'virtual void msline::calcAC(double)':
> msline.cpp:477: error: 'rect' was not declared in this scope
> make[7]: *** [msline.o] Error 1
> make[7]: Leaving directory 
> `/build/tbm/qucs-0.0.8/qucs-core/src/components/microstrip'
> make[6]: *** [all-recursive] Error 1


--- ./qucs-core/src/components/devices/device.h~        2006-03-15 
17:30:32.000000000 +0000
+++ ./qucs-core/src/components/devices/device.h 2006-03-15 18:22:31.000000000 
+0000
@@ -29,6 +29,150 @@
 class node;
 class net;
 
+class device;
+
+circuit * splitResistor (
+      circuit * base, // calling circuit (this)
+      circuit * res,  // additional resistor circuit (can be NULL)
+      char * c,       // name of the additional circuit
+      char * n,       // name of the inserted (internal) node
+      int internal);  // number of new node (the original external node)
+
+void disableResistor (
+      circuit * base, // calling circuit (this)
+      circuit * res,  // additional resistor circuit
+      int internal);  // number of new node (the original external node)
+
+circuit * splitCapacitor (
+      circuit * base, // calling circuit (this)
+      circuit * cap,  // additional capacitor circuit (can be NULL)
+      char * c,       // name of the additional circuit
+      node * n1,      // first node of new capacitor
+      node * n2);     // second node of new capacitor
+
+void disableCapacitor (
+      circuit * base, // calling circuit (this)
+      circuit * cap); // additional capacitor circuit
+
+int deviceEnabled (circuit * c);
+
+void pnJunctionMOS (
+      nr_double_t Upn, // pn-voltage
+      nr_double_t Iss, // saturation current
+      nr_double_t Ute, // temperature voltage
+      nr_double_t& I,  // result current
+      nr_double_t& g); // result derivative
+
+nr_double_t pnCriticalVoltage (
+      nr_double_t Iss,  // saturation current
+      nr_double_t Ute); // temperature voltage
+
+nr_double_t fetVoltage (
+      nr_double_t Ufet, // current fet voltage
+      nr_double_t Uold, // previous fet voltage
+      nr_double_t Uth); // threshold voltage
+
+nr_double_t fetVoltageDS (
+      nr_double_t Ufet,  // current fet voltage
+      nr_double_t Uold); // previous fet voltage
+
+void pnJunctionBIP (
+      nr_double_t Upn, // pn-voltage
+      nr_double_t Iss, // saturation current
+      nr_double_t Ute, // temperature voltage
+      nr_double_t& I,  // result current
+      nr_double_t& g); // result derivative
+
+nr_double_t pnVoltage (
+       nr_double_t Ud,     // current pn-voltage
+       nr_double_t Uold,   // previous pn-voltage
+       nr_double_t Ut,     // temperature voltage
+       nr_double_t Ucrit); // critical voltage
+
+nr_double_t pnCurrent (
+      nr_double_t Upn,  // pn-voltage
+      nr_double_t Iss,  // saturation current
+      nr_double_t Ute); // temperature voltage
+
+nr_double_t pnConductance (
+      nr_double_t Upn,  // pn-voltage
+      nr_double_t Iss,  // saturation current
+      nr_double_t Ute); // temperature voltage
+
+nr_double_t pnCapacitance (
+      nr_double_t Uj,  // pn-voltage
+      nr_double_t Cj,  // zero-bias capacitance
+      nr_double_t Vj,  // built-in potential
+      nr_double_t Mj,  // grading coefficient
+      nr_double_t Fc); // forward-bias coefficient
+
+nr_double_t pnCharge (
+      nr_double_t Uj,  // pn-voltage
+      nr_double_t Cj,  // zero-bias capacitance
+      nr_double_t Vj,  // built-in potential
+      nr_double_t Mj,  // grading coefficient
+      nr_double_t Fc); // forward-bias coefficient
+
+nr_double_t pnCapacitance (
+      nr_double_t Uj,  // pn-voltage
+      nr_double_t Cj,  // zero-bias capacitance
+      nr_double_t Vj,  // built-in potential
+      nr_double_t Mj); // grading coefficient
+
+nr_double_t pnCharge (
+      nr_double_t Uj,  // pn-voltage
+      nr_double_t Cj,  // zero-bias capacitance
+      nr_double_t Vj,  // built-in potential
+      nr_double_t Mj); // grading coefficient
+
+void fetCapacitanceMeyer (
+      nr_double_t Ugs,   // gate-source voltage
+      nr_double_t Ugd,   // gate-drain voltage
+      nr_double_t Uth,   // threshold voltage
+      nr_double_t Udsat, // drain-source saturation voltage
+      nr_double_t Phi,   // built-in potential
+      nr_double_t Cox,   // oxide capacitance
+      nr_double_t& Cgs,  // resulting gate-source capacitance
+      nr_double_t& Cgd,  // resulting gate-drain capacitance
+      nr_double_t& Cgb); // resulting gate-bulk capacitance
+
+nr_double_t Egap (
+      nr_double_t T,            // temperature
+      nr_double_t Eg0);        // bandgap at 0K
+
+nr_double_t pnCurrent_T (
+      nr_double_t T1,       // reference temperature
+      nr_double_t T2,       // temperature
+      nr_double_t Is,       // saturation current
+      nr_double_t Eg,       // bandgap at 300K
+      nr_double_t N,    // emission coefficient
+      nr_double_t Xti); // temperature coefficient
+
+nr_double_t pnCapacitance (
+      nr_double_t Uj,  // pn-voltage
+      nr_double_t Cj,  // zero-bias capacitance
+      nr_double_t Vj,  // built-in potential
+      nr_double_t Mj); // grading coefficient
+
+nr_double_t pnPotential_T (
+      nr_double_t T1,           // reference temperature
+      nr_double_t T2,           // temperature
+      nr_double_t Vj,           // built-in potential
+      nr_double_t Eg0);         // bandgap at 0K
+
+nr_double_t pnCapacitance_T (
+      nr_double_t T1,  // reference temperature
+      nr_double_t T2,  // temperature
+      nr_double_t M,   // grading coefficient
+      nr_double_t VR,  // built-in potential ratio
+      nr_double_t Cj); // zero-bias capacitance
+
+nr_double_t pnCapacitance_F (
+      nr_double_t T1,  // reference temperature
+      nr_double_t T2,  // temperature
+      nr_double_t M,   // grading coefficient
+      nr_double_t VR); // built-in potential ratio: Vj(T2) / Vj(T1)
+
 class device
 {
  public:
--- ./qucs-core/src/complex.h~  2006-03-15 17:28:01.000000000 +0000
+++ ./qucs-core/src/complex.h   2006-03-15 18:23:51.000000000 +0000
@@ -29,6 +29,23 @@
 #undef log2
 #endif
 
+class complex;
+complex polar (const nr_double_t mag, const nr_double_t ang);
+complex rect (const nr_double_t x, const nr_double_t y);
+nr_double_t real (const complex);  // the real part
+nr_double_t real (nr_double_t);
+nr_double_t imag (const complex);  // the imaginary part
+nr_double_t imag (nr_double_t);
+nr_double_t norm (const complex);  // the square of the magnitude
+nr_double_t norm (nr_double_t);
+complex     sign (const complex);
+nr_double_t sign (const nr_double_t);
+nr_double_t xhypot (const nr_double_t, const nr_double_t);
+nr_double_t xhypot (const complex, const complex);
+complex operator + (const complex, const complex);
+complex operator + (const complex, const nr_double_t);
+complex operator + (const nr_double_t, const complex);
+
 class complex
 {
  private:
--- ./qucs-core/src/matrix.h~   2006-03-15 17:29:35.000000000 +0000
+++ ./qucs-core/src/matrix.h    2006-03-15 18:12:14.000000000 +0000
@@ -26,6 +26,10 @@
 #define __MATRIX_H__
 
 class vector;
+class matrix;
+matrix real (matrix);
+matrix eye (int);
+matrix imag (matrix);
 
 class matrix
 {
--- ./qucs-core/src/vector.h~   2006-03-15 18:03:51.000000000 +0000
+++ ./qucs-core/src/vector.h    2006-03-15 18:08:45.000000000 +0000
@@ -34,6 +34,11 @@
 
 class complex;
 class strlist;
+class vector;
+
+vector norm   (vector);  // the square of the magnitude
+vector real   (vector);  // the real part
+vector imag   (vector);  // the imaginary part
 
 class vector : public object
 {
--- ./qucs-core/src/fourier.h~  2006-03-15 18:08:53.000000000 +0000
+++ ./qucs-core/src/fourier.h   2006-03-15 18:10:50.000000000 +0000
@@ -27,6 +27,11 @@
 
 class vector;
 
+vector fft_1d (vector, int isign);
+vector dft_1d (vector, int isign);
+void  _fft_1d (nr_double_t *, int, int isign);
+void _dft_1d (nr_double_t *, int, int isign);
+
 class fourier
 {
  public:

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to