[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Correction: Problems in linking g++-objectfiles...



"Ortega, Artur" wrote:
> 
> Oh.. I am so sorry....
> 
> It was the wrong snip. Here follows hopefully the right one:
> <snip>
> g++-cris -mlinux -xc++ -isystem /home/axisgnu/axis/devboard_lx/eroot/include -lg++ -s -L/home/axisgnu/axis/devboard_lx/eroot/lib  -D_TAG_CONSOLE_IN -D_TAG_SERIAL_IN -D_TAG_INET_IN                base/rse_base.o base/rse_unit.o base/rse_packet.o unit/unit_transmitter.o unit/unit_console.o unit/unit_file.o unit/unit_ftp.o unit/unit_inet.o unit/unit_log.o unit/unit_lpr.o unit/unit_pop3.o unit/unit_smtp.o unit/unit_serial.o unit/unit_snmptrap.o unit/unit_spool.o unit/unit_syslog.o unit/unit_grep.o unit/unit_sed.o unit/unit_select.o  device/dev_serial.o device/dev_inet.o rse.o -o rse
> base/rse_base.o:114:19: warning: no newline at end of file
> base/rse_base.o:1:16: warning: embedded null characters ignored
> base/rse_base.o:1:18: warning: embedded null character ignored
> </snip>

If there is a newline missing at the end of the source file, there is a
good reason for the warning, explained in
http://gcc.gnu.org/ml/gcc/2001-07/msg01120.html.  One possible cause for
the missing newline may be that the file was edited under Windows. 
Simply hitting return on the last line of the file and saving it should
fix the problem in that case.

-- 
Orjan Friberg              E-mail: orjan.friberg@xxxxxxx.com
Axis Communications AB     Phone:  +46 46 272 17 68