Nu am mai dat eroare la compilare, ins la "make" a dat: make gcc -Wall -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DINSTALL_DIR=3D"\"/usr/local/bandwidthd\"" -c -o bandwidthd.o bandwidthd.c bandwidthd.c:4:22: libpq-fe.h: No such file or directory bandwidthd.c: In function `StoreIPDataInPostgresql': bandwidthd.c:628: error: `PGresult' undeclared (first use in this function) bandwidthd.c:628: error: (Each undeclared identifier is reported only once bandwidthd.c:628: error: for each function it appears in.) bandwidthd.c:628: error: `res' undeclared (first use in this function) bandwidthd.c:629: error: syntax error before '*' token bandwidthd.c:651: error: `conn' undeclared (first use in this function) bandwidthd.c:654: warning: implicit declaration of function `PQconnectdb' bandwidthd.c:657: warning: implicit declaration of function `PQstatus' bandwidthd.c:657: error: `CONNECTION_OK' undeclared (first use in this func= tion) bandwidthd.c:659: warning: implicit declaration of function `PQerrorMessage= ' bandwidthd.c:659: warning: format argument is not a pointer (arg 4) bandwidthd.c:660: warning: implicit declaration of function `PQfinish' bandwidthd.c:666: warning: implicit declaration of function `PQexecParams' bandwidthd.c:674: warning: implicit declaration of function `PQresultStatus= ' bandwidthd.c:674: error: `PGRES_TUPLES_OK' undeclared (first use in this function) bandwidthd.c:676: warning: format argument is not a pointer (arg 3) bandwidthd.c:677: warning: implicit declaration of function `PQclear' bandwidthd.c:683: warning: implicit declaration of function `PQntuples' bandwidthd.c:685: warning: implicit declaration of function `PQgetvalue' bandwidthd.c:685: warning: passing arg 2 of `__builtin_strncpy' makes pointer from integer without a cast bandwidthd.c:700: error: `PGRES_COMMAND_OK' undeclared (first use in this function) bandwidthd.c:702: warning: format argument is not a pointer (arg 3) bandwidthd.c:719: warning: format argument is not a pointer (arg 3) bandwidthd.c:725: warning: passing arg 2 of `__builtin_strncpy' makes pointer from integer without a cast bandwidthd.c:743: warning: format argument is not a pointer (arg 3) bandwidthd.c:763: warning: format argument is not a pointer (arg 3) bandwidthd.c:813: warning: format argument is not a pointer (arg 3) bandwidthd.c:842: warning: format argument is not a pointer (arg 3) bandwidthd.c:862: warning: format argument is not a pointer (arg 3)
Te rog sa-mi spui si mie ce face comanda pe care mi-ai recomandat-o. On 6/8/05, Bogdan-Stefan Rotariu <[EMAIL PROTECTED]> wrote: > WiFi wrote: >=20 > >Nu inteleg ce vrei sa spui? > >Ce trebuie corectat? > > > > > incearca : >=20 > LDFLAGS=3D"-lz" ./configure >=20 > .........................................................................= . > Privileged/Confidential Information may be contained in this message. > If you are not the addressee indicated in this message (or responsible > fordelivery of the message to such person), you may not copy or deliver > this message to anyone. In such a case, you should destroy this message > and kindly notify the sender by reply e-mail. >=20 >=20 > --- > Detalii despre listele noastre de mail: http://www.lug.ro/ >=20 >=20 > --- Detalii despre listele noastre de mail: http://www.lug.ro/
