Re: Re: NetBSD error
"Gabor Z. Papp" <[email protected]>
| Newsgroups | gmane.network.sn |
|---|---|
| Organization | gzp Budapest |
| Message-ID | <[email protected]> |
* Patrik RÃ¥dman <[email protected]>: | Try using -DSNROOT='"/home/gzp"' instead. I think it's losing the quotes. Seems like that. | Perhaps the `cat cc-flags` would work if you insert \ at the end of the | lines in cc-flags? Yeah, I fixed in that way. There are a lot of problems with this cat cc-flags way. Also must insert -L. into the flags. I think more common way just export these stuffs into CFLAGS, or thats gcc related only? After the cosmetic changes: cc `cat cc-flags` -o snprimedb -L./lib -lstuff /usr/lib/crt0.o: Undefined symbol `_main' referenced from text segment collect2: ld returned 1 exit status *** Error code 1 Stop.